[fedora-java] Installing effective Maven POM files
Aleksandar Kurtakov
akurtako at redhat.com
Fri Feb 22 14:45:02 UTC 2013
----- Original Message -----
> From: "Aleksandar Kurtakov" <akurtako at redhat.com>
> To: "Mikolaj Izdebski" <mizdebsk at redhat.com>
> Cc: "java-devel" <java-devel at lists.fedoraproject.org>
> Sent: Friday, February 22, 2013 4:36:19 PM
> Subject: Re: Installing effective Maven POM files
>
> ----- Original Message -----
> > From: "Mikolaj Izdebski" <mizdebsk at redhat.com>
> > To: "Aleksandar Kurtakov" <akurtako at redhat.com>
> > Cc: "java-devel" <java-devel at lists.fedoraproject.org>
> > Sent: Friday, February 22, 2013 2:13:14 PM
> > Subject: Re: Installing effective Maven POM files
> >
> > > One more question - if I configure my parent pom to never be
> > > embedded
> > > I would still have to care for adding BRs myself, right? So no
> > > additional problems would arise from being able to use
> > > mvn-rpmbuild/local that rely on normal poms.
> >
> > Yes, of course.
> >
> > Effective POMs are installed just for the purpose of solving
> > otherwise
> > difficult dependency problems without adding -devel packages like
> > other
> > compiled languages have (devel packages were already suggested and
> > rejected before IIRC).
>
> OK, constructive solution - why not provide an optional way for
> mvn-local/rpmbuild to resolve using normal poms only and finish with
> this discussion?
To explain more - if there is such way - I can rely on %mvn_build/%mnv_install as there will be simple way to validate whether a problem comes from effective poms or not - pass the "pristine" parameter to mvn-local/rpmbuild. The other option discussed for now is "patching poms to contain xmvn configuration" in order to not install effective poms, which will have the following effect- we will have a mixture of effective/normal poms in fedora - aka no reliable dependency solving and no reliable development environment.
If both effective/parent poms are installed and mvn-local/rpmbuild gain their "pristine" flag - there would be no reason to not rely on the parent poms and reliable(aka reacts accordingly to changes) development environment will be available.
Alexander Kurtakov
Red Hat Eclipse team
>
> Alexander Kurtakov
> Red Hat Eclipse team
>
> >
> > --
> > Mikolaj
> >
>
More information about the java-devel
mailing list