artifact:depencies doesnt work with Snapshot
--------------------------------------------

                 Key: MANTTASKS-68
                 URL: http://jira.codehaus.org/browse/MANTTASKS-68
             Project: Maven 2.x Ant Tasks
          Issue Type: Bug
    Affects Versions: 2.0.6
            Reporter: David N'DIAYE
         Attachments: testDependencySnapshots.zip

-- I have a repository with snapshot
-- I create a pom with a dependency to snapshot artifact
{code:xml}
  <dependencies>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.3-SNAPSHOT</version>
    </dependency>
  </dependencies>
{code}
-- In ant, I obtain dependencies on my application
{code:xml}
<artifact:dependencies filesetId="compile.dependency.fileset" 
useScope="compile" verbose="true">
  <pom refid="pom" />
  <remoteRepository refid="repository" />
  <localRepository location="./cache" />
</artifact:dependencies>
{code}

----

The {{compile.dependency.fileset}} *doesn't contains the snapshot artifact*

----
To test this bug, you can launch my ant test by : {color:red} *{{ant 
test}}*{color} 

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