Hi,
Our release failed. There are two problems.
Command line: mvn -Psome -Denv=some-dev release:perform -X
1. Command line -Psome profile activation is not working, at least
prepare perform and rollback goals.
[WARNING]
Profile with id: 'some' has not been activated.
2. release:perform failed for some weird -f option
[INFO] Failed to re-parse additional arguments for Maven invocation.
Unrecognized option: -f
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
re-parse additional arguments for
Maven invocation.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:703)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycl
eExecutor.java:553)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:523)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:371)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.java:268)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
re-parse additional arguments f
or Maven invocation.
at
org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformReleaseMojo.java:133)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:678)
... 16 more
Caused by: org.apache.maven.shared.release.ReleaseExecutionException:
Failed to re-parse additional
arguments for Maven invocation.
at
org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(AbstractRunGoalsPhase
.java:89)
at
org.apache.maven.shared.release.phase.RunPerformGoalsPhase.execute(RunPerformGoalsPhase.j
ava:67)
at
org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:
336)
at
org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:
282)
at
org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:
262)
at
org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformReleaseMojo.java:129)
... 18 more
Caused by: org.apache.maven.shared.release.exec.MavenExecutorException:
Failed to re-parse additiona
l arguments for Maven invocation.
at
org.apache.maven.shared.release.exec.InvokerMavenExecutor.setupRequest(InvokerMavenExecut
or.java:335)
at
org.apache.maven.shared.release.exec.InvokerMavenExecutor.executeGoals(InvokerMavenExecut
or.java:377)
at
org.apache.maven.shared.release.exec.InvokerMavenExecutor.executeGoals(InvokerMavenExecut
or.java:413)
at
org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(AbstractRunGoalsPhase
.java:81)
... 23 more
Caused by: org.apache.commons.cli.UnrecognizedOptionException:
Unrecognized option: -f
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at
org.apache.maven.shared.release.exec.InvokerMavenExecutor.setupRequest(InvokerMavenExecut
or.java:186)
... 26 more
rgds,
Markku
John Casey wrote:
Hi again,
After finding and cleaning up some code that seems to be tainted
during some of our efforts at generifying the codebase, we've respun a
new release candidate.
If you have time, please give it a whirl:
https://repository.apache.org/content/repositories/maven-staging-010/org/apache/maven/apache-maven/2.2.0-RC2/
Remember, if you have any problems, report them to:
http://jira.codehaus.org/browse/MNG with Affects-Version: 2.2.0
...then, please reply to this thread to let me know about the issue! :-)
Thanks for testing!
-john
---------------------------------------------------------------------
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