Issue Type: Bug Bug
Affects Versions: 2.1-alpha-2
Assignee: Unassigned
Components: rpm
Created: 19/Sep/13 2:22 PM
Description:

I am trying to create the following basic installation structure:

/opt/foo/lib/abc.jar
/opt/foo/lib/def.jar
/opt/foo/log -> /var/log/foo

Using the following mappings:

<mapping>
  <directory>/var/log/foo</directory>
</mapping>
<mapping>
  <directory>/opt/foo</directory>
  <recurseDirectories>false</recurseDirectories>
  <sources>
    <softlinkSource>
      <destination>log</destination>
      <location>/var/log/foo</location>
    </softlinkSource>
  </sources>
</mapping>
<mapping>
  <directory>/opt/foo/lib</directory>
  <dependency/>
</mapping>

I get this error from the rpm command:

[WARNING] warning: File listed twice: /opt/foo/lib/abc.jar
[WARNING] warning: File listed twice: /opt/foo/lib/def.jar

I'm speculating the plugin is getting confused because the directory /opt/foo specified in one mapping is a parent of /opt/foo/lib specified in a separate mapping. I tried to workaround by specifying recurseDirectories=false without success.

Is there a fix or workaround here? I'm forced to speciy the directory mapping in this somewhat awkward manner due to the way the softlinkSource tag works.

Project: Mojo's RPM Maven Plugin
Priority: Minor Minor
Reporter: Eric Sirianni
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