[
http://jira.codehaus.org/browse/MPIR-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171522#action_171522
]
Julien HENRY commented on MPIR-150:
-----------------------------------
I have the same problem.
I have a corporate archiva mirror for central:
{code}
<mirror>
<id>central</id>
<mirrorOf>central</mirrorOf>
<name>Central Mirror</name>
<url>http://pic-java-nce.sud.mycompany.fr:8090/archiva/repository/central</url>
</mirror>
{code}
And also 2 additional repos declared in my pom.xml:
{code}
<repositories>
<!-- Repositories Corporate -->
<repository>
<id>mycompany.corporate.release</id>
<name>mycompany Corporate Release Repository</name>
<url>http://pic-java-nce.sud.mycompany.fr:8090/archiva/repository/mycompany.corporate.release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>mycompany.local.release</id>
<name>mycompany Local Release Repository</name>
<url>http://pic-java-nce.sud.mycompany.fr:8090/archiva/repository/release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
{code}
Running:
{code}
mvn
org.apache.maven.plugins:maven-project-info-reports-plugin:2.1.1:dependencies -X
{code}
Takes 3 minutes 37 seconds with lots of:
{code}
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
http://repo1.maven.org/maven/ - Session: Opened
http://repo1.maven.org/maven/ - Session: Disconnecting
http://repo1.maven.org/maven/ - Session: Disconnected
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
http://people.apache.org/repo/m2-incubating-repository/ - Session: Opened
http://people.apache.org/repo/m2-incubating-repository/ - Session: Disconnecting
http://people.apache.org/repo/m2-incubating-repository/ - Session: Disconnected
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
http://repository.codehaus.org - Session: Opened
http://repository.codehaus.org - Session: Disconnecting
http://repository.codehaus.org - Session: Disconnected
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
http://repo1.maven.org/eclipse - Session: Opened
http://repo1.maven.org/eclipse - Session: Disconnecting
http://repo1.maven.org/eclipse - Session: Disconnected
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
http://repo1.maven.org/maven2 - Session: Opened
http://repo1.maven.org/maven2 - Session: Disconnecting
http://repo1.maven.org/maven2 - Session: Disconnected
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
http://ws.zones.apache.org/repository2 - Session: Opened
http://ws.zones.apache.org/repository2 - Session: Disconnecting
http://ws.zones.apache.org/repository2 - Session: Disconnected
{code}
Very blocking for me because some projects that use a lot of additional
repositories have their build taking more than 1 hour instead of less than 2
minutes after disabling dependency report.
The only workaround for my IC platform is to lock down plugin version to 2.0.1.
If you need more debug informations, fell free to ask.
> the dependency report ignores mirrors
> -------------------------------------
>
> Key: MPIR-150
> URL: http://jira.codehaus.org/browse/MPIR-150
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: dependencies
> Affects Versions: 2.1.1
> Reporter: Brian Fox
>
> The dependencies report takes forever and running debug i can see it's
> hitting the same repos over and over and bypassing my repository manager.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira