An FYI on the escaping/quoting as that's come up twice and isn't the issue.
public class Arguments {
public static void main(String[] args) {
for (String arg : args) {
System.out.printf("[%s]", arg);
}
System.out.println();
This situation was discussed once before. The author of this pom, as I
recall, had pretty strong feelings about it.
You can work with it by making your own profile named apache_release
that has the additional stuff you want, or by overriding the execution
configuration in your pom to use your pref
Am 27.09.2011 14:48 schrieb "David Blevins" :
>
> 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
On Tue, Sep 27, 2011 at 1:09 PM, David Blevins wrote:
> Did some more digging and it seems the issue is in the apache-10 parent pom.
> If you alter it like so, the arguments are passed as expected:
>
>
> org.apache.maven.plugins
> maven-release-plugin
> 2.1
>
> fa
That's not it, the quoting was fine. Even with a single argument with no
spaces to -Darguments it still does not work.
Did some more digging and it seems the issue is in the apache-10 parent pom.
If you alter it like so, the arguments are passed as expected:
org.apache.maven.plugin
you can if you understand shell escaping.
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 27 Sep 2011 17:58, "David Jencks" wrote:
> IIRC you have to include your forked ma
IIRC you have to include your forked maven arguments in the release plugin
configuration under
-DskipTests=true -DfailIfNoTests=false
Perhaps someone else can say _why_ the m-r-p is set up so you can't set this on
the command line?
thanks
david jencks
On Sep 27, 2011, at 5:40 AM, David Blevi
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"
It takes 40 minutes to get through a dryRun with tests on. We still have
several kinks in the