jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Ant Tasks
  • MANTTASKS-68

artifact:depencies doesnt work with Snapshot

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Testcase included:
    yes

Description

– I have a repository with snapshot
– I create a pom with a dependency to snapshot artifact

<dependencies>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.3-SNAPSHOT</version>
    </dependency>
  </dependencies>

– In ant, I obtain dependencies on my application

<artifact:dependencies filesetId="compile.dependency.fileset" useScope="compile" verbose="true">
  <pom refid="pom" />
  <remoteRepository refid="repository" />
  <localRepository location="./cache" />
</artifact:dependencies>

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


To test this bug, you can launch my ant test by : ant test

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    testDependencySnapshots.zip
    24/Apr/07 9:07 AM
    1.05 MB
    David N'DIAYE
    1. XML File
      testDependencySnapshots/build.xml 3 kB
    2. Java Archive File
      testDependencySnapshots/maven-ant-tasks-2.0.6.jar 931 kB
    3. XML File
      testDependencySnapshots/pom.xml 0.7 kB
    4. Java Archive File
      testDependencySnapshots/.../commons-io-1.3-20070424.112155-1.jar 82 kB
    5. File
      testDependencySnapshots/.../commons-io-1.3-20070424.112155-1.jar.md5 0.0 kB
    6. File
      testDependencySnapshots/.../commons-io-1.3-20070424.112155-1.jar.sha1 0.0 kB
    7. File
      testDependencySnapshots/.../commons-io-1.3-20070424.112155-1.pom 0.2 kB
    8. File
      testDependencySnapshots/.../commons-io-1.3-20070424.112155-1.pom.md5 0.0 kB
    9. File
      testDependencySnapshots/.../commons-io-1.3-20070424.112155-1.pom.sha1 0.0 kB
    10. XML File
      testDependencySnapshots/.../maven-metadata.xml 0.4 kB
    11. File
      testDependencySnapshots/.../maven-metadata.xml.md5 0.0 kB
    12. File
      testDependencySnapshots/.../maven-metadata.xml.sha1 0.0 kB
    13. XML File
      testDependencySnapshots/.../maven-metadata.xml 0.3 kB
    14. File
      testDependencySnapshots/.../maven-metadata.xml.md5 0.0 kB
    15. File
      testDependencySnapshots/.../maven-metadata.xml.sha1 0.0 kB
    16. Java Archive File
      testDependencySnapshots/.../junit-3.8.1-sources.jar 56 kB
    17. File
      testDependencySnapshots/.../junit-3.8.1-sources.jar.md5 0.0 kB
    18. File
      testDependencySnapshots/.../junit-3.8.1-sources.jar.sha1 0.0 kB
    19. Java Archive File
      testDependencySnapshots/.../junit-3.8.1.jar 118 kB
    20. File
      testDependencySnapshots/.../junit-3.8.1.jar.md5 0.0 kB
    21. File
      testDependencySnapshots/.../junit-3.8.1.jar.sha1 0.0 kB
    22. File
      testDependencySnapshots/.../junit-3.8.1.pom 0.2 kB
    23. File
      testDependencySnapshots/.../junit-3.8.1.pom.md5 0.0 kB
    24. File
      testDependencySnapshots/.../junit-3.8.1.pom.sha1 0.0 kB
    25. XML File
      testDependencySnapshots/.../maven-metadata.xml 0.3 kB
    26. File
      testDependencySnapshots/.../maven-metadata.xml.md5 0.0 kB
    27. File
      testDependencySnapshots/.../maven-metadata.xml.sha1 0.0 kB
    Download Zip
    Show
    Zip Archive
    testDependencySnapshots.zip
    24/Apr/07 9:07 AM
    1.05 MB
    David N'DIAYE

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MANTTASKS-18 filesetId does not contain all dependencies when artifact was not yet locally installed

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Herve Boutemy added a comment - 01/May/07 5:44 AM

patch contained in MANTTASKS-18 solves the problem

Show
Herve Boutemy added a comment - 01/May/07 5:44 AM patch contained in MANTTASKS-18 solves the problem
Hide
Permalink
David N'DIAYE added a comment - 02/May/07 2:39 AM

I confirm, MANTTASKS-18 solve my problem.

I vote for your issue, and i close this jira

thanks a lot

Show
David N'DIAYE added a comment - 02/May/07 2:39 AM I confirm, MANTTASKS-18 solve my problem. I vote for your issue, and i close this jira thanks a lot
Hide
Permalink
David N'DIAYE added a comment - 02/May/07 2:40 AM

Solve by patch MANTTASKS-18

Show
David N'DIAYE added a comment - 02/May/07 2:40 AM Solve by patch MANTTASKS-18

People

  • Assignee:
    Unassigned
    Reporter:
    David N'DIAYE
Vote (0)
Watch (1)

Dates

  • Created:
    24/Apr/07 9:07 AM
    Updated:
    02/May/07 2:40 AM
    Resolved:
    02/May/07 2:40 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.