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

Continuous download of maven-metadata.xml for version ranges.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Do
    • 3.2.2
    • None
    • Dependencies
    • None

    Description

      With every first build of the day, Maven downloads maven-metadata.xml from remote repository. Generally, this is ok since the default update policy enforces an update. But: the daily synced dependency artifacts are release artifacts, in the declaration form of:

      <dependency>
          <groupId>com.this</groupId>
          <artifactId>com.that</artifactId>
          <version>[1.0.0,1.0.1)</version>
          <type>jar</type>
      </dependency>
      

      So looks like the daily roundtrips are performed since there are version ranges defined?! Since there are hundreds of dependencies, this takes a pretty long time, and nothing did change, operationally, because I've already downloaded all required dependencies.

      Please suppress these daily roundtrips of downloading maven-metadata.xml, for that use case, in general a check for new updates should be applied of cause (thus just using the offline mode is not a solution).

      Attachments

        1. MNG-5997.zip
          5 kB
          Robert Scholte

        Activity

          People

            Unassigned Unassigned
            michaelhuettermann Michael Hüttermann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: