Redefined scope is ignored for dependencies
-------------------------------------------

                 Key: MASSEMBLY-447
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-447
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-4
            Reporter: Eric Lewis


I have a dependency which is defined with <scope>test</scope>.

In another project, however, it is redefined to <scope>runtime</scope>.

Now, when I get the runtime dependencies with

    <dependencySet>
      <useStrictFiltering>true</useStrictFiltering>
      <useProjectArtifact>false</useProjectArtifact>
      <scope>runtime</scope>
      <!-- Don't distribute sources -->
      <excludes>
        <exclude>*:sources</exclude>
      </excludes>
    </dependencySet>

the dependency is not included.

-- 
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