You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "I-Ann Chen (JIRA)" <ji...@codehaus.org> on 2007/11/20 22:03:58 UTC

[jira] Commented: (MASSEMBLY-241) Multiple includes in dependencySet

    [ http://jira.codehaus.org/browse/MASSEMBLY-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114354 ] 

I-Ann Chen commented on MASSEMBLY-241:
--------------------------------------

It seems to fail after the first wildcard.
For example, the following would include org.foo.bar and org.foo.bam.* but not org.foo.zam.* or org.foo.xxx

<includes>
<include>org.foo.bar</include>
<include>org.foo.bam.*</include>
<include>org.foo.zam.*</include>
<include>org.foo.xxx</include>
</includes>

> Multiple includes in dependencySet
> ----------------------------------
>
>                 Key: MASSEMBLY-241
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-241
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>         Environment: Maven version: 2.0.7
> Java version: 1.6.0_02
> OS name: "linux" version: "2.6.18-gentoo-r4" arch: "i386"
>            Reporter: Paul Austin
>
> When you specify multiple include elements inside an includes for a dependencySet it only uses the first include statement
> This works
>     <dependencySet>
>       <outputDirectory>/lib/ext</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <includes>
>         <include>com.revolsys.jump:*</include>
>       </includes>
>     </dependencySet>
>     <dependencySet>
>       <outputDirectory>/lib/ext</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <includes>
>         <include>com.revolsys.gis:*</include>
>       </includes>
>     </dependencySet>
> This does not
>      <dependencySet>
>       <outputDirectory>/lib/ext</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>       <includes>
>         <include>com.revolsys.jump:*</include>
>         <include>com.revolsys.gis:*</include>
>       </includes>
>     </dependencySet>
> There are dependencies from the jump package to the gis package

-- 
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