Issue Type: Bug Bug
Affects Versions: 2.1-alpha-1
Assignee: Unassigned
Components: rpm
Created: 28/Nov/12 8:18 AM
Description:

I have the below configuration under <configuration> but no pre/post sections appear.

I also tried to use the sample configuration from this page:
http://mojo.codehaus.org/rpm-maven-plugin/example1.html

Which coincidently has an error where preremoveScriptlet doesn't close it's tag correctly.

<preremoveScriptlet>
<scriptFile>${project.build.directory}/scripts/pre-uninstall.sh</scriptFile>
</preremoveScriptlet>
<preinstallScriptlet>
<scriptFile>src/main/scripts/pre-install.sh</scriptFile>
</preinstallScriptlet>
<postinstallScriptlet>
<scriptFile>${project.build.directory}/scripts/post-install.sh</scriptFile>
</postinstallScriptlet>

Any help would be much appreciated.

Thanks,
Pierre

Environment: Centos 6.3
mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000)
Maven home: /opt/maven/apache-maven-3.0.3
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /opt/jdk6/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-279.14.1.el6.x86_64", arch: "amd64", family: "unix"
Project: Mojo RPM Plugin
Priority: Major Major
Reporter: Pierre Larsson
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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