maven throws a java.lang.NullPointerException at the end of a release:perform
-----------------------------------------------------------------------------
Key: MRELEASE-681
URL: http://jira.codehaus.org/browse/MRELEASE-681
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: perform
Affects Versions: 2.2
Environment: maven 2.2.1, java 1.6_23 on windows 7 64 bit
Reporter: Khai Do
Priority: Minor
Attachments: maven-log.txt
I'm getting java.lang.NullPointerException when building when i reference
maven-release-plugin in my pom.xml, It doesn't seem to matter which version of
the plugin i reference. i'm using maven 2.2.1, java 1.6_23 on windows 7 64 bit.
I can also repro on linux.
The only way it works without error is if I specify 2.0-beta-9 from the command
line:
mvn org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:perform
-DconnectionUrl=..
It fails if I do this:
mvn org.apache.maven.plugins:maven-release-plugin:2.1:perform -DconnectionUrl=..
It also fails when I reference 2.0-beta-9 in my pom.xml then run:
mvn relase:perform -DconnectionUrl=..
--
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