Dear

I just started using maven ant task, and one issue I found today was, when the 
pom contains wildward exclusion, seems the artifacts won't be excluded.

My script snippet below:

Ant:
<artifact:dependencies filesetId="ls.jar.all">
  <pom file="ls-jar-all.pom.xml" />
</artifact:dependencies>

Ls-jar-all.pom.xml:
<dependency>
  <groupId>org.apache.cxf</groupId>
  <artifactId>cxf-bundle</artifactId>
  <version>2.1</version>
  <exclusions>
    <exclusion>
        <groupId>org.apache.abdera</groupId>
        <artifactId>*</artifactId>
</exclusion>
<exclusion>
        <groupId>org.apache.geronimo.specs</groupId>
          <artifactId>*</artifactId>
      </exclusion>
</exclusions>

While changing wildcard to individual artifactIds, the exclusion works. (the 
wildward pom works when using maven)

Any suggestions, thanks

Thanks
Best Regards

Jackie Xiao | eAS-CM | eBaoTech | Cell: (+86) 136 4185 4318

This e-mail and any attachments thereto are intended for the sole use of the 
recipient(s) named above and may contain confidential and/or privileged 
material. Any use of the information contained herein (including, but not 
limited to, total or partial reproduction, communication, or dissemination in 
any form) by persons other than the intended recipient(s) is prohibited. If you 
received this in error, please contact the sender immediately and delete the 
material from any computer.

Reply via email to