[
http://jira.codehaus.org/browse/MRPM-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208325#action_208325
]
Brett Okken commented on MRPM-58:
---------------------------------
The use of the postinstall attribute will not (and certainly should not) cause
a build error. There are still integration tests which use some of the
deprecated configuration options.
Please run in debug (-X) and attach entire stack trace.
The scripts page you referenced only documents the new (non-deprecated)
configuration options. The documentation for the goal[1] shows all the
configuration options, and does show that postinstall is deprecated.
[1] - http://mojo.codehaus.org/rpm-maven-plugin/rpm-mojo.html#postinstall
> Warning about deprecated parameter (postinstall) - Update Docs
> --------------------------------------------------------------
>
> Key: MRPM-58
> URL: http://jira.codehaus.org/browse/MRPM-58
> Project: Mojo RPM Plugin
> Issue Type: Improvement
> Components: rpm
> Affects Versions: 2.0-beta-4
> Environment: All
> Reporter: Karl Heinz Marbaise
> Assignee: Brett Okken
> Priority: Minor
>
> If i use the above parameter (postinstall) i got the following message during
> packaging phase:
> [INFO] skip non existing resourceDirectory /.../resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [WARNING] DEPRECATED [postinstall]: Use postinstallScriplet
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> But this is not documented on the web-site
> (http://mojo.codehaus.org/rpm-maven-plugin/adv-params.html#Scripts).
--
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