Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-68

artifact:depencies doesnt work with Snapshot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • None
    • None
    • None

    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

      Attachments

        1. testDependencySnapshots.zip
          1.05 MB
          David N'DIAYE

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dndiaye David N'DIAYE
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: