On Thu, 31 Oct 2013 10:06:07 +1100
Olivier Lamy <ol...@apache.org> wrote:

> On 31 October 2013 08:01,  <tche...@apache.org> wrote:
> > Author: tchemit
> > Date: Wed Oct 30 21:01:01 2013
> > New Revision: 1537302
> >
> > URL: http://svn.apache.org/r1537302
> > Log:
> > MRAR-34 - provide skip parameter for the plugin
> >
> > Modified:
> >     
> > maven/plugins/trunk/maven-rar-plugin/src/main/java/org/apache/maven/plugin/rar/RarMojo.java
> >
> > Modified: 
> > maven/plugins/trunk/maven-rar-plugin/src/main/java/org/apache/maven/plugin/rar/RarMojo.java
> > URL: 
> > http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/main/java/org/apache/maven/plugin/rar/RarMojo.java?rev=1537302&r1=1537301&r2=1537302&view=diff
> > ==============================================================================
> > --- 
> > maven/plugins/trunk/maven-rar-plugin/src/main/java/org/apache/maven/plugin/rar/RarMojo.java
> >  (original)
> > +++ 
> > maven/plugins/trunk/maven-rar-plugin/src/main/java/org/apache/maven/plugin/rar/RarMojo.java
> >  Wed Oct 30 21:01:01 2013
> > @@ -265,12 +265,26 @@ public class RarMojo
> >      @Parameter( property = "warnOnMissingRaXml", defaultValue = "true" )
> >      protected boolean warnOnMissingRaXml = true;
> >
> > +    /**
> > +     * To skip execution of the rar mojo.
> > +     *
> > +     * @since 2.4
> > +     */
> > +    @Parameter( property = "maven.rar.skip" )
> > +    private boolean skip;
> > +
> >      private File buildDir;
> >
> >
> >      public void execute()
> >          throws MojoExecutionException
> >      {
> > +
> > +        if ( skip )
> > +        {
> > +            getLog().info( "Skipping rar generation." );
> > +        }
> > +
> 
> really skipping? :-)

my bad :( ...

> 
> >          getLog().debug( " ======= RarMojo settings =======" );
> >          getLog().debug( "rarSourceDirectory[" + rarSourceDirectory + "]" );
> >          getLog().debug( "manifestFile[" + manifestFile + "]" );
> >
> >
> 
> 
> 



-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: che...@codelutin.com
twitter: https://twitter.com/tchemit

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to