Username no longer defaults to the java system property user.name
-----------------------------------------------------------------
Key: MRELEASE-109
URL: http://jira.codehaus.org/browse/MRELEASE-109
Project: Maven 2.x Release Plugin
Type: Bug
Versions: 2.0-beta-4
Environment: mvn 2.0.4 WinXP
Reporter: Marcel Schutte
Attachments: abstractreleasemojo.patch
Since the rewrite of the release plugin, I get the following error for not
specifying a CVS username:
C:\Data\WSAD\MijnOhra\MavenParent>mvn release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Super POM voor alle OHRA maven2 projecten
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error occurred during the status check process: Exception while
executing SCM command.
Username isn't defined.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue May 16 13:30:47 CEST 2006
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------
In the head version before the rewrite this didn't occur, because the username
defaulted to the java system property 'user.name'. I don't specify a username
on the commandline, in the pom or anywhere else.
The attached patch restores this behaviour.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira