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

Christopher ctubbsii-fedora at apache.org
Mon Mar 16 16:23:25 UTC 2015


On Mon, Mar 16, 2015, 12:06 Alec Leamas <leamas.alec at gmail.com> wrote:

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
--
java-devel mailing list
java-devel at lists.fedoraproject.org
https:// <https://admin.fedoraproject.org/mailman/listinfo/java-devel>
admin.fedoraproject.org
<https://admin.fedoraproject.org/mailman/listinfo/java-devel>/mailman/
<https://admin.fedoraproject.org/mailman/listinfo/java-devel>listinfo
<https://admin.fedoraproject.org/mailman/listinfo/java-devel>/
<https://admin.fedoraproject.org/mailman/listinfo/java-devel>java-
<https://admin.fedoraproject.org/mailman/listinfo/java-devel>devel
<https://admin.fedoraproject.org/mailman/listinfo/java-devel>


Why would you want to? What I'd other developers want to depend on those
other artifacts? Is there a problem with keeping them?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20150316/4bc0c514/attachment.html>


More information about the java-devel mailing list