You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Lieb (JIRA)" <ji...@codehaus.org> on 2010/05/19 16:42:12 UTC

[jira] Created: (MDEP-263) filtering by classifier don't work

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

        

[jira] Closed: (MDEP-263) filtering by classifier don't work

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MDEP-263.
--------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

fixed by MDEP-194

> 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
>             Fix For: 2.2
>
>
> 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