[fedora-java] Almost newbie: Q: How get rid of unused jars?

Alec Leamas leamas.alec at gmail.com
Mon Mar 16 16:05:50 UTC 2015


Last package in this bunch...

Package builds a number of jars in a hierarchical build. One of these is 
really what I think is called an ũber-jar, and that's the only one I 
want to package.

However, since the %mvn_build/%mvn_install  discovers also the other 
jars, they also get installed. I could of course just remove them after 
%mvn_install, but they are also part of the metadata, so...

My question: is there any sane way to remove one or more jars from the 
installed set? Something like %mvn_remove_artifact?

Cheers!

--alec


More information about the java-devel mailing list