On Wed, May 26, 2010 at 12:08 PM, Daniel Hoffmann <
[email protected]> wrote:

> Defining profiles this way is a good way to group the projects.
> But the core problem remains:
> If I call 'clean install cargo:deploy' on this profile, maven executes
> 'clean install cargo:deploy' on module A and 'clean install cargo:deploy'
> on
> module B. But I want it to execute 'clean install' on module A and 'clean
> install cargo:deploy' on module B.
> I tried to configure cargo to exclude a file, but I didn´t find a way to do
> this. And Cargo is defined in a grandparent pom I don´t want to change
> anyway.
>

File a JIRA asking Cargo to define the canonical 'skip' configuration
parameter.


>
>
>  Thanks anyway, Daniel
>
>
> 2010/5/25 Peter Bennett <[email protected]>
>
> >
> > Profiles to the rescue ;-)
> >
> > Define a profile in the top-level pom containing just the the war and ear
> > modules in the <modules/> section.
> >
> > -Peter
> >
> >
> > Daniel Hoffmann-6 wrote:
> > >
> > > 1.) and 2.) are different projects.
> > > There are much more projects in 'myproject', so I can´t execute mvn on
> > > 'myproject' (without deleting the other projects from my myproject
> pom),
> > > because I don´t want the other projects to be build.
> > >
> > > Daniel
> > >
> > > P.S.: I don´t think it makes any differences, but I am using m2e.
> > >
> > >
> > >
> > > 2010/5/19 Jesse Farinacci <[email protected]>
> > >
> > >> Hi Daniel,
> > >>
> > >> On Wed, May 19, 2010 at 9:47 AM, Daniel Hoffmann
> > >> <[email protected]> wrote:
> > >> >
> > >> > 1.) myproject/makewar clean install
> > >> > 2.) myproject/makeear clean install cargo:deploy
> > >> >
> > >> >  Daniel
> > >>
> > >> Why not attach cargo:deploy to the deploy phase and then call mvn
> clean
> > >> deploy?
> > >>
> > >> -Jesse
> > >>
> > >> --
> > >> There are 10 types of people in this world, those
> > >> that can read binary and those that can not.
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [email protected]
> > >> For additional commands, e-mail: [email protected]
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> >
> http://old.nabble.com/Chaining-Maven-goals-of-different-Base-Directories-tp28608528p28670270.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>

Reply via email to