dependencies scopes do not match documentation
----------------------------------------------

                 Key: MANTTASKS-223
                 URL: https://jira.codehaus.org/browse/MANTTASKS-223
             Project: Maven 2.x Ant Tasks
          Issue Type: Improvement
    Affects Versions: 2.1.3
            Reporter: Anthony Maidment
            Priority: Minor


The manual indicates that the runtime scope includes compile scope. For example,
<artifact:dependencies filesetId="dependency.fileset" useScope="runtime">   
  <artifact:pom file="pom.xml" id="myProject" />
</artifact:dependencies> 

Docs (http://maven.apache.org/ant-tasks/examples/dependencies.html) state:
•compile - Includes scopes compile, system and provided 
•runtime - Includes scopes compile and runtime 
•test - Includes scopes system, provided, compile, runtime and test  

However, using this suggests that the runtime scope does not include the 
compile scope.

See also, the StackOverflow question I raided on this issue:
http://stackoverflow.com/questions/7171830/get-maven-runtime-dependencies-in-ant

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to