[ 
http://jira.codehaus.org/browse/MRPM-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209472#action_209472
 ] 

Karl Heinz Marbaise commented on MRPM-64:
-----------------------------------------

This seemed to be the trick......without any failure no NPE etc.
{quote}
[INFO] [rpm:version {execution: default-version}]
[WARNING] rpm version string truncated to 0.1.0-SNAPSHOT
[INFO] setting [rpm.version] property to value [0.1.0].
[INFO] setting [rpm.release] property to value [SNAPSHOT20100208144619].
[INFO] [exec:exec {execution: initialize}]
{quote}

> 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


Reply via email to