Greetings,
I've been trying to build Groovy from the Fedora 17 srpm on CentOS and Amazon Linux. I've a fair degree of rpm knowledge and started to download and build the relevant build dependencies.
Things started well and I could build the first few dependencies, however, when I got to Maven I noticed that it has itself as a build dependency. I would appreciate any guidance on how to proceed and build Maven from source rpm.
Thanks
Alex
Hi,
Things started well and I could build the first few dependencies, however, when I got to Maven I noticed that it has itself as a build dependency. I would appreciate any guidance on how to proceed and build Maven from source rpm.
You could use maven binary RPM from Fedora to bootstrap maven on your system. Once it's built you can rebuild maven with iself.
Hope that helps, Mikolaj Izdebski maven maintainer
Hi again,
On Nov 23, 2012 2:15 PM, "Mikolaj Izdebski" mizdebsk@redhat.com wrote:
You could use maven binary RPM from Fedora to bootstrap maven on your system. Once it's built you can rebuild maven with iself.
Hope that helps, Mikolaj Izdebski maven maintainer
Thanks for the suggestion I will give it a try. However I would still be interested to know the 'official' steps for the build, for example if no existing binary package was available?
Thanks,
Alex.
Thanks for the suggestion I will give it a try. However I would still be interested to know the 'official' steps for the build, for example if no existing binary package was available?
Then you would need to compile Maven some other way (Maven distribution includes Ant build.xml script that can be used to bootstrap it). Once you have your working maven package you can rebuild it without bootstrapping.
Another (easier) option would be using binaries provided by upstream. Just package them and use to properly rebuild maven from sources.
Mikolaj
java-devel@lists.fedoraproject.org