jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Project Info Reports Plugin
  • Maven 2.x Project Info Reports Plugin
  • MPIR-237

Unexpected download

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.4
  • Fix Version/s: 2.5
  • Component/s: dependency-management
  • Labels:
    None
  • Environment:
    Hide
    Apache Maven 3.0.4 (r1206075; 2011-11-25 09:20:29+0100)
    Maven home: D:\apache-maven-3.0.4-RC2\bin\..
    Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
    Java home: E:\Program Files\Java\jdk1.6.0_25\jre
    Default locale: nl_NL, platform encoding: Cp1252
    OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
    Show
    Apache Maven 3.0.4 (r1206075; 2011-11-25 09:20:29+0100) Maven home: D:\apache-maven-3.0.4-RC2\bin\.. Java version: 1.6.0_25, vendor: Sun Microsystems Inc. Java home: E:\Program Files\Java\jdk1.6.0_25\jre Default locale: nl_NL, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
  • Number of attachments :
    0

Description

I was kind of surprised to see maven 3.0.5-SNAPSHOT being downloaded. Looks like a bug to me.
This happend during a mvn site on the coberturta-maven-plugin rev. 15529

[INFO] Generating "Dependency Management" report    --- maven-project-info-reports-plugin:2.4
[INFO] artifact org.apache.maven:maven-plugin-api: checking for updates from nexus
Downloading: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-plugin-api/3.0.5-SNAPSHOT/maven-metadata.xml
Downloaded: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-plugin-api/3.0.5-SNAPSHOT/maven-metadata.xml (782 B at 0.3 KB/sec)
Downloading: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-plugin-api/3.0.5-SNAPSHOT/maven-plugin-api-3.0.5-20111209.224224-4.pom
Downloaded: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven-plugin-api/3.0.5-SNAPSHOT/maven-plugin-api-3.0.5-20111209.224224-4.pom (3 KB at 2.3 KB/sec)
Downloading: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven/3.0.5-SNAPSHOT/maven-metadata.xml
Downloaded: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven/3.0.5-SNAPSHOT/maven-metadata.xml (809 B at 0.3 KB/sec)
Downloading: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven/3.0.5-SNAPSHOT/maven-3.0.5-20111209.224136-4.pom
Downloaded: http://localhost:8081/nexus/content/groups/public/org/apache/maven/maven/3.0.5-SNAPSHOT/maven-3.0.5-20111209.224136-4.pom (22 KB at 7.7 KB/sec)
[INFO] artifact junit:junit: checking for updates from nexus

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. MSHARED-167 dependency:tree omits batik-js

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is related to

Improvement - An improvement or enhancement to an existing feature or task. MDEP-339 tree mojo doesn't work consistently with maven3

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Robert Scholte added a comment - 10/Dec/11 7:02 AM

This issue depends on the maven-version

Maven Version maven-plugin-api version download
2.2.1 3.0.3
3.0.1 3.0.3
3.0.2 3.0.3
3.0.3 3.0.5-SNAPSHOT
3.0.4-RC2 3.0.5-SNAPSHOT
3.0.4-RC3 3.0.3

At least with 3.0.4-RC3 it won't download the LATEST but the RELEASED version.

Show
Robert Scholte added a comment - 10/Dec/11 7:02 AM This issue depends on the maven-version Maven Version maven-plugin-api version download 2.2.1 3.0.3 3.0.1 3.0.3 3.0.2 3.0.3 3.0.3 3.0.5-SNAPSHOT 3.0.4-RC2 3.0.5-SNAPSHOT 3.0.4-RC3 3.0.3 At least with 3.0.4-RC3 it won't download the LATEST but the RELEASED version.
Hide
Permalink
jieryn added a comment - 07/May/12 9:25 PM

What's going on with this one? This dramatically slows down site generation.. and seems completely useless.

Show
jieryn added a comment - 07/May/12 9:25 PM What's going on with this one? This dramatically slows down site generation.. and seems completely useless.
Hide
Permalink
Herve Boutemy added a comment - 08/May/12 11:28 AM

this is probably due to the fact that maven-dependency-tree component does wrong calculation when used with Maven 3, since the whole dependency resolution code has been changed: it is a known issue not fixed yet

Show
Herve Boutemy added a comment - 08/May/12 11:28 AM this is probably due to the fact that maven-dependency-tree component does wrong calculation when used with Maven 3, since the whole dependency resolution code has been changed: it is a known issue not fixed yet
Hide
Permalink
Robert Scholte added a comment - 08/May/12 12:15 PM

Jieryn, I can't reproduce it with Maven-3.0.4 (i.e. final version). It downloads the maven-plugin-api:3.0.4 as expected.
It's true that this is one of the slowest pages, but that's another issue.

Show
Robert Scholte added a comment - 08/May/12 12:15 PM Jieryn, I can't reproduce it with Maven-3.0.4 (i.e. final version). It downloads the maven-plugin-api:3.0.4 as expected. It's true that this is one of the slowest pages, but that's another issue.
Hide
Permalink
jieryn added a comment - 08/May/12 1:44 PM
<!-- snip from help:effective-pom -->
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>commons-beanutils</groupId>
        <artifactId>commons-beanutils</artifactId>
        <version>1.8.3</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

<!-- snip from mvn site (v3.1) -->

[INFO] Generating "Dependency Management" report    --- maven-project-info-reports-plugin:2.4
[INFO] artifact commons-beanutils:commons-beanutils: checking for updates from maven.acme.com
Downloading: http://maven.acme.com/repository/all/commons-beanutils/commons-beanutils/1.8.4-SNAPSHOT/maven-metadata.xml
Downloaded: http://maven.acme.com/repository/all/commons-beanutils/commons-beanutils/1.8.4-SNAPSHOT/maven-metadata.xml (371 B at 0.2 KB/sec)
Show
jieryn added a comment - 08/May/12 1:44 PM <!-- snip from help:effective-pom --> <dependencyManagement> <dependencies> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.8.3</version> </dependency> </dependencies> </dependencyManagement> <!-- snip from mvn site (v3.1) --> [INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:2.4 [INFO] artifact commons-beanutils:commons-beanutils: checking for updates from maven.acme.com Downloading: http: //maven.acme.com/repository/all/commons-beanutils/commons-beanutils/1.8.4-SNAPSHOT/maven-metadata.xml Downloaded: http: //maven.acme.com/repository/all/commons-beanutils/commons-beanutils/1.8.4-SNAPSHOT/maven-metadata.xml (371 B at 0.2 KB/sec)
Hide
Permalink
jieryn added a comment - 08/May/12 1:46 PM

I do not use commons-beanutils:1.8.4-SNAPSHOT anywhere, and I see this for pretty much every single dependency in my dM section (for which, there are hundreds – because this is a top level corporate pom to standardize all projects dependencies' versions).

Generating that dependency management report can take over an hour, and mostly just to download snapshot poms for junk we're not even using yet.

Show
jieryn added a comment - 08/May/12 1:46 PM I do not use commons-beanutils:1.8.4-SNAPSHOT anywhere, and I see this for pretty much every single dependency in my dM section (for which, there are hundreds – because this is a top level corporate pom to standardize all projects dependencies' versions). Generating that dependency management report can take over an hour, and mostly just to download snapshot poms for junk we're not even using yet.
Hide
Permalink
Herve Boutemy added a comment - 10/Jun/12 4:29 PM

fixed in r1348664

Show
Herve Boutemy added a comment - 10/Jun/12 4:29 PM fixed in r1348664

People

  • Assignee:
    Herve Boutemy
    Reporter:
    Robert Scholte
Vote (2)
Watch (2)

Dates

  • Created:
    10/Dec/11 5:11 AM
    Updated:
    23/Jul/12 3:04 PM
    Resolved:
    10/Jun/12 4:29 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.