You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Reynolds (JIRA)" <ji...@codehaus.org> on 2007/03/01 23:36:22 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_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