/usr/share/java as maven repository?

Marcus Better marcus at better.se
Tue Dec 18 19:05:21 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

If it's meant to be run in postinst then Maven might not be installed yet.

But I wonder how we are going to handle versioned dependencies. Maven
projects tend to specify exact version numbers, right? That could be a real
headache. I don't think we can ignore the version number, but we cannot use
it as a hard dependency either.



More information about the pkg-java-maintainers mailing list