[
http://jira.codehaus.org/browse/MRPM-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209475#action_209475
]
Brett Okken commented on MRPM-64:
---------------------------------
Can you run "mvn -X initialize" using both 2.0 and the snapshot build?
Please attach just the lines that include the configuration used for the
version goal:
[DEBUG] Configuring mojo
'org.codehaus.mojo:rpm-maven-plugin:2.0.1-SNAPSHOT:version' -->
[DEBUG] (f) project = MavenProject: bar:project-rpm-1:1.1 @
/home/brett/workspaces/maven/rpm-maven-plugin_1383/src/it/rpm-1/pom.xml
[DEBUG] (f) projversion = 1.1
[DEBUG] (f) release = 2el
[DEBUG] (f) releaseProperty = rpm.release
[DEBUG] (f) versionProperty = rpm.version
[DEBUG] -- end configuration --
> Version MOJO fails with NPE when a release value is configured rather than
> calculated
> -------------------------------------------------------------------------------------
>
> Key: MRPM-64
> URL: http://jira.codehaus.org/browse/MRPM-64
> Project: Mojo RPM Plugin
> Issue Type: Bug
> Components: rpm
> Affects Versions: 2.0
> Reporter: Brett Okken
> Assignee: Brett Okken
> Fix For: 2.0.1
>
>
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:394)
> at org.codehaus.mojo.rpm.VersionMojo.setProperty(VersionMojo.java:109)
> at org.codehaus.mojo.rpm.VersionMojo.execute(VersionMojo.java:102)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email