Hi,

 

I am trying to plug the Java Module System with maven. In this
specification we can implement a Repository class which role is to get a
module or list all of them (look at
http://download.java.net/openjdk/jdk7/promoted/latest/ modules project).

 

First I would like to say that it is really hard to mix both because
there is no stand-alone api in maven to use as a stand alone
repositories api. Even wagon-with-manager project which isn't finished
yet isn't so friendly.

 

I succeed to make something work, but now I am facing the following
problem. In Java Module System, the Repository should be able to list
all the modules, that's to say all the artifacts.

But in maven, it isn't so easy.

I can for example try to get the wagonManager from the
DefaultArtifactResolver, and from there get all the wagon instances, and
from there ask each instance the list of the artifcats, using of course
reflection...

Not so simple, and safe!

 

So the question is the following, how can we get the list of the
artifacts of all valid repositories? 

 

Ideally it would be perfect to have an easy embedded api which takes the
same kind of settings than maven (only repositories,proxies,
mirrors,.... part) and be able to list/download/put artifacts.

 

Thanks. 
 
*******************************
This e-mail contains information for the intended recipient only. It may 
contain proprietary material or confidential information. If you are not the 
intended recipient you are not authorised to distribute, copy or use this 
e-mail or any attachment to it. Murex cannot guarantee that it is virus free 
and accepts no responsibility for any loss or damage arising from its use. If 
you have received this e-mail in error please notify immediately the sender and 
delete the original email received, any attachments and all copies from your 
system.

Reply via email to