Quoting Jos Backus (2012-03-16 19:55:31) >Hi Stanislav, > >On Fri, Mar 16, 2012 at 3:46 AM, Stanislav Ochotnicky ><sochotni...@redhat.com> wrote: >> Quoting Jos Backus (2012-03-15 21:04:00) >>>Hi, >>> >>>I'm trying to install Maven 3 in automatically generated CentOS VM >>>images, and having Maven 3 and plugins available as RPMs would help >>>greatly with this effort. >>> >>>How hard would it be to augment the CI setup that creates the Maven >>>packages today to also generate RPMs for RHEL/CentOS? Perhaps the >>>Maven RPM plugin (http://mojo.codehaus.org/rpm-maven-plugin/) can be >>>used for this purpose? >>> >>>I looked at jpackage.org but the latest Maven version there is too old >>>(2.0.7). >> >> Depending on your needs for using exact upstream (meaning Apache) >> version or not you *might* have luck trying to use Fedora binary rpms on >> your CentOS machine. I haven't tried this, but with a 1 or 2 rebuilds it >> might work. You'd have to create your own rpm repo for this probably and >> do a few tweaks here and there. Biggest issue would probably be that >> some of our current binary rpms in F17 and rawhide are built using >> OpenJDK 7 with target set to 1.7 so you won't be able to use them with >> 1.6 VM. > >Okay, I will try to find the SRPM and rebuild it on my CentOS 6 box. > >> We do have 3.0.4 currently and quite a few plugins, but if you go this >> way I'd suggest to ask questions on <java-devel at lists.fedoraproject.org>. > >Thanks for the pointer and your response.
Another thing I should have pointed out right away, but forgot is that alternative way would be to create rpms directly out of upstream maven release with bundled dependencies and all that. I know most people on this list would feel more comfortable with this approach and it is more simple way to achieve your goals right now. It shouldn't take more than a few minutes to create that spec file. Good luck, -- Stanislav Ochotnicky <sochotni...@redhat.com> Software Engineer - Base Operating Systems Brno PGP: 7B087241 Red Hat Inc. http://cz.redhat.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org