You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Edward J. Yoon" <ed...@udanax.org> on 2008/04/18 10:59:30 UTC

Removal the specified execution

I'd like to remove the specified execution when '-Dignore' option appeared.
For example, 'mvn -U clean package -Dignore=A'
...
<executions>
  <execution><id>A</id></execution>
  <execution><id>B</id></execution>
</executions>
...

Is it possible?

-- 
B. Regards,
Edward J. Yoon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Removal the specified execution

Posted by Wayne Fay <wa...@gmail.com>.
What exactly is the question?

You may find it useful to run: mvn help:effective-pom

Wayne

On 4/20/08, Edward J. Yoon <ed...@udanax.org> wrote:
> I thought it is possible using activeByDefault.
> But, <activeByDefault>true</activeByDefault> doesn't work.
>
> What's wrong?
>
> On Sat, Apr 19, 2008 at 12:28 AM, Wayne Fay <wa...@gmail.com> wrote:
> > No. You will need to use a profile that adds the execution instead.
> >
> > Wayne
> >
> >
> > On 4/18/08, Edward J. Yoon <ed...@udanax.org> wrote:
> > > I'd like to remove the specified execution when '-Dignore' option appeared.
> > > For example, 'mvn -U clean package -Dignore=A'
> > > ...
> > > <executions>
> > >  <execution><id>A</id></execution>
> > >  <execution><id>B</id></execution>
> > > </executions>
> > > ...
> > >
> > > Is it possible?
> > >
> > > --
> > > B. Regards,
> > > Edward J. Yoon
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
> --
> B. Regards,
> Edward J. Yoon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Removal the specified execution

Posted by "Edward J. Yoon" <ed...@udanax.org>.
I thought it is possible using activeByDefault.
But, <activeByDefault>true</activeByDefault> doesn't work.

What's wrong?

On Sat, Apr 19, 2008 at 12:28 AM, Wayne Fay <wa...@gmail.com> wrote:
> No. You will need to use a profile that adds the execution instead.
>
> Wayne
>
>
> On 4/18/08, Edward J. Yoon <ed...@udanax.org> wrote:
> > I'd like to remove the specified execution when '-Dignore' option appeared.
> > For example, 'mvn -U clean package -Dignore=A'
> > ...
> > <executions>
> >  <execution><id>A</id></execution>
> >  <execution><id>B</id></execution>
> > </executions>
> > ...
> >
> > Is it possible?
> >
> > --
> > B. Regards,
> > Edward J. Yoon
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
B. Regards,
Edward J. Yoon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Removal the specified execution

Posted by Wayne Fay <wa...@gmail.com>.
No. You will need to use a profile that adds the execution instead.

Wayne

On 4/18/08, Edward J. Yoon <ed...@udanax.org> wrote:
> I'd like to remove the specified execution when '-Dignore' option appeared.
> For example, 'mvn -U clean package -Dignore=A'
> ...
> <executions>
>  <execution><id>A</id></execution>
>  <execution><id>B</id></execution>
> </executions>
> ...
>
> Is it possible?
>
> --
> B. Regards,
> Edward J. Yoon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org