Hi Group,

I'm successfully creating RPMs of my WAR file using said plugin. I am unsuccessful at creating an RPM of my EAR project. It's a multi-module project with the EAR being one of the modules. I have tried putting the plugin details both on the parent POM and on the EAR pom. I have tried putting the plugin version in the parent's depmgt sectoin and the config in the EAR pom. However, whenever I execute rpm:rpm from the parent (actually the "root" directory in my case), I get the following:

===============================
[INFO] One or more required plugin parameters are invalid/missing for 'rpm:rpm'

[0] Inside the definition for plugin 'rpm-maven-plugin' specify the following:

<configuration>
  ...
  <group>VALUE</group>
</configuration>.

[1] Inside the definition for plugin 'rpm-maven-plugin' specify the following:

<configuration>
  ...
  <mappings>VALUE</mappings>
</configuration>.
===============================


Now the interesting part is that the POM that's being buit is the parent, not the EAR project. So clearly it would not find any such configuration. How do I get rpm:rpm to execute only for the EAR project and not the parent?

Thanks,

Chris

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to