You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steven MountJoy (JIRA)" <ji...@codehaus.org> on 2007/02/22 00:31:27 UTC
[jira] Commented: (MDEP-61) doesn't work
[ http://jira.codehaus.org/browse/MDEP-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88185 ]
Steven MountJoy commented on MDEP-61:
-------------------------------------
<dependency>
<groupId>com.foo</groupId>
<artifactId>bar</artifactId>
<version>1.0</version>
</dependency>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>validate</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<excludeGroupIds>com.foo</excludeGroupIds>
</configuration>
</execution>
</executions>
</plugin>
Include/Exclude GroupIds not working either.
> <includeScope> doesn't work
> ---------------------------
>
> Key: MDEP-61
> URL: http://jira.codehaus.org/browse/MDEP-61
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Affects Versions: 2.0-alpha-2
> Reporter: Vadim Homchik
> Assigned To: Brian Fox
>
> <dependency>
> <groupId>commons-io</groupId>
> <artifactId>commons-io</artifactId>
> <version>1.2</version>
> <scope>test</scope>
> </dependency>
> ...
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <version>2.0-alpha-2-SNAPSHOT</version>
> <executions>
> <execution>
> <phase>generate-resources</phase>
> <goals>
> <goal>build-classpath</goal>
> </goals>
> <configuration>
> <cpFile>target/classpath.txt</cpFile>
> <prefix>lib</prefix>
> <includeScope>test</includeScope>
> </configuration>
> </execution>
> </executions>
> </plugin>
> The result doesn't include commons-io-1.2.jar (it is in local repository).
--
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