[
http://jira.codehaus.org/browse/MRPM-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227840#action_227840
]
Robert Munteanu commented on MRPM-78:
-------------------------------------
Thanks for the reply.
I'm not sure I understand your suggestion. Right now I have a mapping similar
to:
{code}
<mapping>
<directory>/usr/local/app/lib</directory>
<dependency>
<excludes>
<exclude>com.example:otherapp.*</exclude>
<exclude>org.springframework:*:3.0.2.RELEASE</exclude>
<exclude>c3p0:c3p0:0.9.1.2</exclude>
<exclude>junit:*</exclude>
<exclude>cglib:*</exclude>
<exclude>com.google.collections:*</exclude>
<exclude>commons-httpclient:*</exclude>
<exclude>org.apache.httpcomponents:*</exclude>
{code}
Which goes on with many more excludes. The exclude elements starting with
org.springframework are transitive dependencies of com.example:otherapp. What I
would like to do is something similar to:
{code}
<mapping>
<directory>/usr/local/app/lib</directory>
<dependency>
<excludes>
<exclude
excludeTransitive="true">com.example:otherapp.*</exclude>
{code}
So that I can list only the direct dependencies, and have the transitive
depedendencies filtered out as well.
> Option to exclude transitive dependencies of an excluded artifact
> -----------------------------------------------------------------
>
> Key: MRPM-78
> URL: http://jira.codehaus.org/browse/MRPM-78
> Project: Mojo RPM Plugin
> Issue Type: Improvement
> Components: rpm
> Affects Versions: 2.0.1
> Reporter: Robert Munteanu
> Assignee: Brett Okken
>
> For the moment it is not possible to filter out a dependency and all its
> transitive dependencies. This is useful when I try to 'combine' classpaths
> from two RPMs, and I want to make sure that they don't clash.
--
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