[fedora-java] Maven plugin to simplify spec %install section
mizdebsk at redhat.com
Tue Sep 11 11:58:38 UTC 2012
As you know, %build section of the majority of all Java packages
built with Maven is fairly simple, usually consisting of a single
call to mvn-rpmbuild. But the install section can still be long
and complicated, especially for large packages.
As a solution I have created a plugin for Maven that can install
the whole project in Fedora way. It creates all necessary
directories in buildroot, installs pom.xml and jar files, creates
depmaps as needed, installs javadocs. With this plugin the whole
%install section of typical packages (including multi-artifact
ones) can be reduced to a single line.
What do you think about this idea? Would you like to see it
implemented in Fedora?
More information about the java-devel