You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Jerry Thome <je...@hewitt.com> on 2007/11/26 22:04:01 UTC
Maven2 release BUILD FAILURE
Just looking for some clues as to what might be happening here.
I'm trying to use the mvn release functionality. I receive a similar
"BUILD FAILURE" error when executing both the prepare and perform. I have
the code building and deploying to archiva just find on its own. I have
the distributionManagement setup in the POM.xml, and the other
repositories and pluginRepositories are in the
/maven-2.0.7/conf/settings.xml.
Does anyone have any idea where the "-P Repository Proxy,Repository Proxy"
is coming from?
The interactions with Subversion actually work great. The pom.xml is
versioning too. The deploy is failing (nothing is generated) and nothing
is pushed to Archiva.
Any help is greatly appreciated.
Thanks.
C:\dev\workspace\integration\apps\sm-custAuth>mvn release:perform -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
WAGON_VERSION: 1.0-beta-2
[INFO]
----------------------------------------------------------------------------
[INFO] Building sm-custAuth
[INFO] task-segment: [release:perform] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [release:perform]
[INFO] Checking out the project to perform the release ...
[INFO] Executing: svn --non-interactive checkout
svn+ssh://linupcm2/apps/svn/data/integration/apps/sm-custAuth/tags/sm-custAuth-1.0
checkout
[INFO] Working directory:
C:\dev\workspace\integration\apps\sm-custAuth\target
[INFO] Executing goals 'deploy'...
[INFO] Executing: mvn deploy --no-plugin-updates -P Repository
Proxy,Repository Proxy -DperformRelease=true -f pom.xml
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task 'Proxy,Repository': you must specify a valid
lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Nov 26 14:01:48 CST 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
[INFO] Cleaning up after release...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Nov 26 14:01:48 CST 2007
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email.