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

artifact:dependencies does not download latest version SNAPSHOT dependency if already present locally

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.3
    • None
    • dependencies task
    • None
    • Windows

    Description

      We are using <artifact:dependencies> to trigger download of an artifact from a remote repo to the local repo. When the dependency is a SNAPSHOT dependency, it only seems to check that the dependency exists in the local repo, it does not check that there is a more recent snapshot in the remote repo. So the snapshot artifact does not get updated with the latest version.

      My workaround is to call this artifact:dependencies, delete the artifact that is referred to in the property that gets set by this task, and then call artifact:dependencies again to ensure that we have the correct version.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            justin.rowe Justin Rowe
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment