ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <ra...@apache.org>
Subject Re: Difference between pom.xml and pom-installed.xml
Date Thu, 06 Aug 2015 15:58:54 GMT
Sounds good. Since this plugin is only required to accompany the deploy
plugin and not in normal (local) builds, you could also put it inside a
profile.

BTW - you can also try using the flatten:clean goal to remove this file
rather than the pattern in the standard clean plugin config, but in reality
it should make no difference.

*Raúl Kripalani*
Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

On Thu, Aug 6, 2015 at 2:19 PM, Anton Vinogradov <avinogradov@gridgain.com>
wrote:

> Hello,
>
> It used to generate pom files that will be uploaded to maven repository.
>
> Plugins configuration can be changed to
>
>   <configuration>
>                     <flattenMode>minimum</flattenMode>
>
> <flattenedPomFilename>pom-installed.xml</flattenedPomFilename>
>
> <outputDirectory>${project.basedir}/target/</outputDirectory>
>                 </configuration>
>
> in this case pom-installed.xml will be generated at target directory. But
> we have to check this improvement brings no issues with deploy to maven
> repository.
>
> On Thu, Aug 6, 2015 at 3:55 PM, Raul Kripalani <raulk@apache.org> wrote:
>
> > I asked myself the same question. It's actually generated by
> > the flatten-maven-plugin defined in ignite-parent.
> >
> > I guess it's used for debugging purposes? Although I'm not sure why you
> > would want this permanently in the build. Someone will likely clarify.
> >
> > Moreover, in my opinion it should be generated inside the target/
> > directory.
> >
> > Regards,
> >
> > *Raúl Kripalani*
> > Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
> > Integration specialist
> > http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> > http://blog.raulkr.net | twitter: @raulvk
> >
> > On Thu, Aug 6, 2015 at 1:48 PM, chandresh pancholi <
> > chandreshpancholi007@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > It might sound silly but why are we using pom-installed.xml in every
> > > module?
> > > I never saw and used other than pom.xml.This is first time i am seeing
> > two
> > > pom in single module.
> > >
> > >
> > >
> > > Thanks
> > >
> > >
> > >
> > > --
> > > Chandresh Pancholi
> > > Senior Software Engineer
> > > Flipkart.com
> > > Email-id:chandresh.pancholi@flipkart.com
> > > Contact:08951803660
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message