Not sure what you mean by "assembly target". Have you bound the assembly
plugin to some phase but want to skip it?!
You cannot unbind a plugin, but some plugins provide some configuration
option to turn tem off (like surefire for skipping tests). So you need to
know which plugin it is you want to disable.

/Anders

On Fri, Dec 4, 2009 at 18:29, Laurent PELLEGRINO <
laurent.pellegr...@gmail.com> wrote:

> Thanks it works in order to skip tests :-)
> However I don't found how to skip assembly target when I execute mvn
> install.
>
> Is it possible ?
>
> 2009/12/3 Anders Hammar <and...@hammar.net>:
> > Does this work:
> >
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests
> >
> > /Anders
> >
> > On Thu, Dec 3, 2009 at 16:54, Laurent PELLEGRINO <
> > laurent.pellegr...@gmail.com> wrote:
> >
> >> Dear all,
> >>
> >> I am looking for two things but I don't found how to do :
> >>
> >> 1/ How to indicate in pom file to skip tests and assembly execution
> >> (by assembly execution I mean it handle my jar-with-dependency target)
> >> when I execute mvn install ?
> >>
> >> 2/ How to indicate in pom file to skip tests when I execute mvn
> >> assembly:assembly ?
> >>
> >> Thanks.
> >>
> >> Kind Regards
> >> Laurent
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to