maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ansgar Konermann <ansgar.konerm...@googlemail.com>
Subject Re: Maven release plugin not honoring -Darguments
Date Fri, 30 Dec 2011 10:22:09 GMT
Am 27.09.2011 14:48 schrieb "David Blevins" <david.blevins@gmail.com>:
>
> Is it a known issue that the release plugin does not honor the
-Darguments?
>
> Specifically, I'm attempting to:
>
>  mvn release:prepare -DdryRun=true -Darguments="-DskipTests=true
 -DfailIfNoTests=false"
>

Try:

mvn release:prepare -DdryRun=true "-Darguments=-DskipTests=true
 -DfailIfNoTests=false"

Notice the slightly different quoting (before -Darguments). Works well for
me.

Best regards

Ansgar

> It takes 40 minutes to get through a dryRun with tests on.  We still have
several kinks in the build to work out before the release plugin will work,
so obviously running with tests on every dryRun is just making a hard task
impossible.
>
> maven 3.0.3, apache-10 parent pom, maven-release-plugin 2.1
>
>
> -David
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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