filtering by classifier don't work
----------------------------------

                 Key: MDEP-263
                 URL: http://jira.codehaus.org/browse/MDEP-263
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: copy, copy-dependencies
    Affects Versions: 2.1
         Environment: windows jdk1.6.0, maven 2.0.9
            Reporter: Robert Lieb
            Assignee: Brian Fox


Following plugin configuration ist used
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
                <execution>
                        <id>copy</id>
                        <phase>package</phase>
                        <goals>
                                <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                        
<outputDirectory>${project.build.directory}/dependency/WEB-INF/lib</outputDirectory>
                        <excludeClassifiers>web</excludeClassifiers>
                        </configuration>
                </execution>

                <execution>
                        <id>unpack</id>
                        <phase>package</phase>
                        <goals>
                                <goal>unpack-dependencies</goal>
                        </goals>

                        <configuration>
                                <includeClassifiers>web</includeClassifiers>
                        </configuration>
                </execution>
        </executions>
</plugin>

but in both executions all dependencies are copied, regardless of there 
classifiers

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

        

Reply via email to