/usr/share/java as maven repository?

Dalibor Topic robilad at kaffe.org
Tue Dec 18 14:51:48 UTC 2007

Arnaud Vandyck wrote:
> What about a maven plugin that leave the jar in /usr/share/java, but
> "register" the jar.
> if mvn present:
>   mvn install -DgroupId=... -DversionId=... -DartifactId=...
> /usr/share/java/my.jar
> and we could have maven to use /var/lib/maven2 or /var/lib/m2
> then, when you install a lib*-java, it's present for global maven.
> I think it'd be possible to do that if a /etc/maven2/settings.xml tell
> where the "local repo" is
A layer of indirection makes sense, as we will likely see more 
'repository systems' in the next
year or two, with Java 7 modules, for example. It's highly unlikely that 
their developers will
be able to agree on anything, in particular what a repository should 
look like, so indirection
lets us support several of them without having to pick favorites.

dalibor topic

More information about the pkg-java-maintainers mailing list