You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robin Roos (JIRA)" <ji...@codehaus.org> on 2008/04/08 11:06:58 UTC
[jira] Created: (MASSEMBLY-303) excludes:exclude ignores classifier
excludes:exclude ignores classifier
-----------------------------------
Key: MASSEMBLY-303
URL: http://jira.codehaus.org/browse/MASSEMBLY-303
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Environment: C:\projects\calypso\9.2.0>mvn -version
Maven version: 2.0.8
Java version: 1.5.0_14
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Robin Roos
When I specify an excludes:exclude that contains a classifier, the exclude seems to exclude all artifacts matching the groupId, artifactId and type regardless of classifier.
My dependency set definition is:
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<excludes>
<exclude>*:*:so:solaris</exclude>
<!--<exclude>*:*:so:linux_2x</exclude>-->
<exclude>*:*:so:linux_3x</exclude>
</excludes>
</dependencySet>
<!-- another depdendencySet here -->
</dependencySets>
Notice the commented out exclusion for *:*:so:linux_2x.
(This assembly is for the windows platform)
With the *:*:so:linux_2x exclusion in place I get:
o '*:*:so:linux_2x'
o '*:*:so:linux_3x'
With the *.*.so:linux_2x exclusion commented out I get:
[INFO] Processing DependencySet (output=/lib)
[WARNING] The following patterns were never triggered in this artifact exclusion
filter:
o '*:*:so:linux_3x'
and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
I conclude that the first exclusion, *:*:so:solaris, excludes all of type=so, whereas I expected it to exclude only those with type=so and classifier=solaris.
BTW, Thanks for a great product!
--
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
[jira] Commented: (MASSEMBLY-303) excludes:exclude ignores
classifier
Posted by "Robin Roos (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MASSEMBLY-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130099#action_130099 ]
Robin Roos commented on MASSEMBLY-303:
--------------------------------------
I think this might be a duplicate of MASSEMBLY-223.
I raised this because I didn't see any artifacts from linux_2x appear when I commented out the exclusion, but it might be that artifacts with a non-empty classifier are not part of the default inclusion, in which case I would not have seen them anyway.
Let me know how I can get the latest assembly plugin bniary and I'll retest here.
Thanks, Robin.
> excludes:exclude ignores classifier
> -----------------------------------
>
> Key: MASSEMBLY-303
> URL: http://jira.codehaus.org/browse/MASSEMBLY-303
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Environment: C:\projects\calypso\9.2.0>mvn -version
> Maven version: 2.0.8
> Java version: 1.5.0_14
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Robin Roos
>
> When I specify an excludes:exclude that contains a classifier, the exclude seems to exclude all artifacts matching the groupId, artifactId and type regardless of classifier.
> My dependency set definition is:
> <dependencySets>
> <dependencySet>
> <outputDirectory>/lib</outputDirectory>
> <excludes>
> <exclude>*:*:so:solaris</exclude>
> <!--<exclude>*:*:so:linux_2x</exclude>-->
> <exclude>*:*:so:linux_3x</exclude>
> </excludes>
> </dependencySet>
> <!-- another depdendencySet here -->
> </dependencySets>
> Notice the commented out exclusion for *:*:so:linux_2x.
> (This assembly is for the windows platform)
> With the *:*:so:linux_2x exclusion in place I get:
> o '*:*:so:linux_2x'
> o '*:*:so:linux_3x'
> With the *.*.so:linux_2x exclusion commented out I get:
> [INFO] Processing DependencySet (output=/lib)
> [WARNING] The following patterns were never triggered in this artifact exclusion
> filter:
> o '*:*:so:linux_3x'
> and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
> I conclude that the first exclusion, *:*:so:solaris, excludes all of type=so, whereas I expected it to exclude only those with type=so and classifier=solaris.
> BTW, Thanks for a great product!
--
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
[jira] (MASSEMBLY-303) excludes:exclude ignores classifier
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MASSEMBLY-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MASSEMBLY-303:
--------------------------------------
Description:
When I specify an excludes:exclude that contains a classifier, the exclude seems to exclude all artifacts matching the groupId, artifactId and type regardless of classifier.
My dependency set definition is:
{code:xml}
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<excludes>
<exclude>*:*:so:solaris</exclude>
<!--<exclude>*:*:so:linux_2x</exclude>-->
<exclude>*:*:so:linux_3x</exclude>
</excludes>
</dependencySet>
<!-- another depdendencySet here -->
</dependencySets>
{code}
Notice the commented out exclusion for
{noformat}*:*:so:linux_2x{noformat}
(This assembly is for the windows platform)
With the
{noformat}*:*:so:linux_2x{noformat}
exclusion in place I get:
{noformat}
o '*:*:so:linux_2x'
o '*:*:so:linux_3x'
{noformat}
With the
{noformat}*:*:so:linux_2x{noformat}
exclusion commented out I get:
{noformat}
[INFO] Processing DependencySet (output=/lib)
[WARNING] The following patterns were never triggered in this artifact exclusion
filter:
o '*:*:so:linux_3x'
{noformat}
and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
I conclude that the first exclusion,
{noformat}*:*:so:solaris{noformat}
excludes all of type=so, whereas I expected it to exclude only those with type=so and classifier=solaris.
BTW, Thanks for a great product!
was:
When I specify an excludes:exclude that contains a classifier, the exclude seems to exclude all artifacts matching the groupId, artifactId and type regardless of classifier.
My dependency set definition is:
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<excludes>
<exclude>*:*:so:solaris</exclude>
<!--<exclude>*:*:so:linux_2x</exclude>-->
<exclude>*:*:so:linux_3x</exclude>
</excludes>
</dependencySet>
<!-- another depdendencySet here -->
</dependencySets>
Notice the commented out exclusion for *:*:so:linux_2x.
(This assembly is for the windows platform)
With the *:*:so:linux_2x exclusion in place I get:
o '*:*:so:linux_2x'
o '*:*:so:linux_3x'
With the *.*.so:linux_2x exclusion commented out I get:
[INFO] Processing DependencySet (output=/lib)
[WARNING] The following patterns were never triggered in this artifact exclusion
filter:
o '*:*:so:linux_3x'
and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
I conclude that the first exclusion, *:*:so:solaris, excludes all of type=so, whereas I expected it to exclude only those with type=so and classifier=solaris.
BTW, Thanks for a great product!
> excludes:exclude ignores classifier
> -----------------------------------
>
> Key: MASSEMBLY-303
> URL: https://jira.codehaus.org/browse/MASSEMBLY-303
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Environment: C:\projects\calypso\9.2.0>mvn -version
> Maven version: 2.0.8
> Java version: 1.5.0_14
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Robin Roos
>
> When I specify an excludes:exclude that contains a classifier, the exclude seems to exclude all artifacts matching the groupId, artifactId and type regardless of classifier.
> My dependency set definition is:
> {code:xml}
> <dependencySets>
> <dependencySet>
> <outputDirectory>/lib</outputDirectory>
> <excludes>
> <exclude>*:*:so:solaris</exclude>
> <!--<exclude>*:*:so:linux_2x</exclude>-->
> <exclude>*:*:so:linux_3x</exclude>
> </excludes>
> </dependencySet>
> <!-- another depdendencySet here -->
> </dependencySets>
> {code}
> Notice the commented out exclusion for
> {noformat}*:*:so:linux_2x{noformat}
> (This assembly is for the windows platform)
> With the
> {noformat}*:*:so:linux_2x{noformat}
> exclusion in place I get:
> {noformat}
> o '*:*:so:linux_2x'
> o '*:*:so:linux_3x'
> {noformat}
> With the
> {noformat}*:*:so:linux_2x{noformat}
> exclusion commented out I get:
> {noformat}
> [INFO] Processing DependencySet (output=/lib)
> [WARNING] The following patterns were never triggered in this artifact exclusion
> filter:
> o '*:*:so:linux_3x'
> {noformat}
> and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
> I conclude that the first exclusion,
> {noformat}*:*:so:solaris{noformat}
> excludes all of type=so, whereas I expected it to exclude only those with type=so and classifier=solaris.
> BTW, Thanks for a great product!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MASSEMBLY-303) excludes:exclude ignores
classifier
Posted by "Robin Roos (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MASSEMBLY-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130098#action_130098 ]
Robin Roos commented on MASSEMBLY-303:
--------------------------------------
Text should have read ( [INFO] and [WARNING] messages added:
With the ::so:linux_2x exclusion in place I get:
INFO] Processing DependencySet (output=/lib)
[WARNING] The following patterns were never triggered in this artifact exclusion
filter:
o '::so:linux_2x'
o '::so:linux_3x'
With the ..so:linux_2x exclusion commented out I get:
[INFO] Processing DependencySet (output=/lib)
[WARNING] The following patterns were never triggered in this artifact exclusion
filter:
o '::so:linux_3x'
and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
> excludes:exclude ignores classifier
> -----------------------------------
>
> Key: MASSEMBLY-303
> URL: http://jira.codehaus.org/browse/MASSEMBLY-303
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Environment: C:\projects\calypso\9.2.0>mvn -version
> Maven version: 2.0.8
> Java version: 1.5.0_14
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Robin Roos
>
> When I specify an excludes:exclude that contains a classifier, the exclude seems to exclude all artifacts matching the groupId, artifactId and type regardless of classifier.
> My dependency set definition is:
> <dependencySets>
> <dependencySet>
> <outputDirectory>/lib</outputDirectory>
> <excludes>
> <exclude>*:*:so:solaris</exclude>
> <!--<exclude>*:*:so:linux_2x</exclude>-->
> <exclude>*:*:so:linux_3x</exclude>
> </excludes>
> </dependencySet>
> <!-- another depdendencySet here -->
> </dependencySets>
> Notice the commented out exclusion for *:*:so:linux_2x.
> (This assembly is for the windows platform)
> With the *:*:so:linux_2x exclusion in place I get:
> o '*:*:so:linux_2x'
> o '*:*:so:linux_3x'
> With the *.*.so:linux_2x exclusion commented out I get:
> [INFO] Processing DependencySet (output=/lib)
> [WARNING] The following patterns were never triggered in this artifact exclusion
> filter:
> o '*:*:so:linux_3x'
> and yet the artifacts that have type=so and classifier=linux_2x do not appear in my generated assembly.
> I conclude that the first exclusion, *:*:so:solaris, excludes all of type=so, whereas I expected it to exclude only those with type=so and classifier=solaris.
> BTW, Thanks for a great product!
--
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