Dependency Report Taking Forever And A Day

View: New views
2 Messages — Rating Filter:   Alert me  

Dependency Report Taking Forever And A Day

by Geoffrey Wiseman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We recently had to reconfigure the network internally after a firewall died,
and the dependency report on the build server now takes a very, very long
time.  I'm suspicious that it's something to do with the network
reconfiguration, but doing some "apache bench" calls to things like
repo1.maven.org seems to imply that while the connection to those isn't
incredibly fast, it's still working, and it's not incredibly slow either.
Yet, when I run the dependency report with -X, I can see it's connecting to
a bunch of repos and taking a long time with each one, so I'm a little lost
as to why that's happening and what I can do to speed the thing up

We're mirroring with Nexus to boot, so I'm not sure if it's actually going
to the remote repo or just looking like it in the log files (see below):

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
http://repository.codehaus.org - Session: Opened
http://repository.codehaus.org - Session: Disconnecting
http://repository.codehaus.org - Session: Disconnected

Suggestions?

  - Geoffrey
--
Geoffrey Wiseman

RE: Dependency Report Taking Forever And A Day

by espen.wiborg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geoffrey Wiseman [mailto:geoffrey.wiseman@...] writes:
>We recently had to reconfigure the network internally after a firewall died,
>and the dependency report on the build server now takes a very, very long
>time.  I'm suspicious that it's something to do with the network
>reconfiguration, but doing some "apache bench" calls to things like
>repo1.maven.org seems to imply that while the connection to those isn't
>incredibly fast, it's still working, and it's not incredibly slow either.
>Yet, when I run the dependency report with -X, I can see it's connecting to
>a bunch of repos and taking a long time with each one, so I'm a little lost
>as to why that's happening and what I can do to speed the thing up

You can add

<dependencyLocationsEnabled>false</dependencyLocationsEnabled>

to the configuration of maven-project-info-reports-plugin; that did the
trick for me.

--
Espen Wiborg <espen.wiborg@...>
Veritas vos liberabit