<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

        

Reply via email to