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

[regression] Maven checks for updates of timestamped snapshots

    XMLWordPrintableJSON

Details

    Description

      Output from some mvn ... -X -U command:

      [INFO] snapshot org.apache.maven.shared:maven-filtering:1.0-beta-4-SNAPSHOT:
        checking for updates from apache.snapshots
      [DEBUG] Reading resolution-state from:
        org\apache\maven\shared\maven-filtering\1.0-beta-4-SNAPSHOT\resolver-status.properties
      [DEBUG] Writing resolution-state to: 
        org\apache\maven\shared\maven-filtering\1.0-beta-4-SNAPSHOT\resolver-status.properties
      [DEBUG] Skipping update check for snapshot org.apache.maven.shared:maven-filtering:1.0-beta-4-SNAPSHOT
        (org\apache\maven\shared\maven-filtering\1.0-beta-4-SNAPSHOT\maven-metadata-central.xml)
        from central (http://repo1.maven.org/maven2)
      [DEBUG] maven-filtering: resolved to version 1.0-beta-4-20091130.145343-3 from repository apache.snapshots
      [DEBUG] Trying repository apache.snapshots for resolution of 
        org.apache.maven.shared:maven-filtering:pom:1.0-beta-4-SNAPSHOT
        from org/apache/maven/shared/maven-filtering/1.0-beta-4-SNAPSHOT/maven-filtering-1.0-beta-4-20091130.145343-3.pom
      Downloading: http://repository.apache.org/snapshots/org/apache/maven/shared/maven-filtering/1.0-beta-4-SNAPSHOT/maven-filtering-1.0-beta-4-20091130.145343-3.pom
      [DEBUG]   Artifact org.apache.maven.shared:maven-filtering:pom:1.0-beta-4-SNAPSHOT resolved to
        org\apache\maven\shared\maven-filtering\1.0-beta-4-SNAPSHOT\maven-filtering-1.0-beta-4-20091130.145343-3.pom
      

      Note that this particular timestamped snapshot already existed in my local repo, yet Maven redownloaded it. But a timestamped snapshot is like a release, i.e. immutable.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: