mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

rpm for parameter preremoveScriptlet #54

Closed ml007r closed 8 years ago

ml007r commented 8 years ago

Hi,

i am getting an exception:

[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.4:rpm (generate-rpm) on project tifserver: Unable to parse configuration of mojo org.codehaus.mojo:rpm-maven-plugin:2.1.4:rpm for parameter preremoveScriptlet: Cannot find default setter in class org.codehaus.mojo.rpm.Scriptlet -> [Help 1]

I tried to use "" but its not working with version 2.1.3 / 2.1.4 & 2.1.5. Pls advise what to do or if this is a known error...

Best regards

Marcel

rickard-von-essen commented 8 years ago

I assume you have a <preremoveScript> section. Could you share relevant parts of your pom file.

rickard-von-essen commented 8 years ago

You are most likely missing <script> or <scriptFile>.

ml007r commented 8 years ago

Yeah - you are right. we will try that! A typicall PEBKAC-problem...

Thanks!

ml007r commented 8 years ago

Its working - Thanks a lot!

Nicksxs commented 7 years ago

@rickard-von-essen i'm building ambari then face this problem, can you help me solve this problem