You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vadim Homchik (JIRA)" <ji...@codehaus.org> on 2007/02/05 13:29:44 UTC
[jira] Created: (MDEP-61) doesn't work
<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
[jira] Closed: (MDEP-61) doesn't work
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MDEP-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox closed MDEP-61.
-------------------------
Resolution: Fixed
added IT for this. Everything is working correctly.
> <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
[jira] Reopened: (MDEP-61) doesn't work
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MDEP-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox reopened MDEP-61:
---------------------------
reopening to investigate previous comments
> <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
[jira] Commented: (MDEP-61) doesn't work
Posted by "Mike Reynolds (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MDEP-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88960 ]
Mike Reynolds commented on MDEP-61:
-----------------------------------
includeScope does not seem to work with:
alpha-2-20070223.042946-10
I set includeScope to "compile", but the "provided" and "test" scoped dependencies came over as well.
(excludeScope works fine)
> <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
[jira] Closed: (MDEP-61) doesn't work
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MDEP-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox closed MDEP-61.
-------------------------
Resolution: Fixed
redeployed snapshot. The fix to mdep-50 caused many problems and was rolled back but not deployed.
> <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
[jira] Commented: (MDEP-61) doesn't work
Posted by "Steven MountJoy (JIRA)" <ji...@codehaus.org>.
[ 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