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.

Cheers,

Marcus



_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to