Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3314

offline build not running, when having SNAPSHOT dependencies

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.7
    • 2.0.10, 2.1.0
    • General
    • None

    Description

      am having troubles with
      mvn ... -o
      (with maven 2.0.7)

      says not able to download (but, really, the file is in my local repo)
      The dependency is a -SNAPSHOT (for what's worth)

      Luckily, when traveling by train, I had maven 2.0.4 on my box as well.
      A change to use 2.0.4 works fine.

      So, is this an already know bug in 2.0.7 ?
      To my understanding it is a bug, since offline just shouldn't try to get a newer
      SNAPSHOT, perhaps I am wrong.

      I know that relying on SNAPSHOTs can be dangerous, but from -o I would expect
      just not checking for new stuff.

      and... for some reasons, sometimes,
      it just downloads a new SNAPSHOT.

      That is a pain, when you are "maintaining" the same snapshot on your
      box, but the build just goes ahead and actually downloads a version.

      Attachments

        Issue Links

        Activity

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

          People

            jdcasey John Dennis Casey
            matzew Matthias Wessendorf
            Votes:
            25 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment