Hi, I had the same problem and I was getting crazy. I have setup Artifactory instead of Archiva, but I think we have the same problem.
If you have set up a maven repository in your intranet, your access to the internet is restricted in your PC, and then maven cannot download fromt the internet the artifacts maybe this can help you. The maven-project-info-reports when generating dependencies needs to connect to the remote repositories to figure out which repository hosts each artifact. But it seems this plugin ignores the intranet repository configuration and connects directly to the internet to perform this operation. I have tried to disable it with the parameter 'dependencyLocationsEnabled=false'. You can check it here: http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies-mojo.html http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies-mojo.html <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.1</version> <configuration> <dependencyLocationEnabled>false</dependencyLocationEnabled> </configuration> <plugin> ... </plugins> Now it works like a breeze. I don't know if this is a bug or it should work this way, but I guess it should be better documented. Regards Diego Parrilla SantamarĂa Senior Consultant The Server Labs S.L. C/Pinar, 5 28006 Madrid Spain Tel: +34 91 745 6877 Fax: +34 91 745 6699 http://www.theserverlabs.com mailto: [EMAIL PROTECTED] von Janowsky, Simon wrote: > > Hello, > I am having a Problem with a CI-System. We use Maven with Hudson and > Archiva. > The Archiva is configured with two repository groups (both virtualize > several proxy connectors and repositories). > One is for dependencies, the other for plugins. > In Hudson the build goal is the following: mvn -Pbuild-int clean deploy > site > > Now for some reason, some builds always hang a long time (up to 40 > Minutes) > after > the Dependencies Report is generated. Here a excerpt from the maven > output... > Why is it that the Repository Url is blacklisted? > ... > -- View this message in context: http://www.nabble.com/Problem-with-Maven%2C-Hudson%2C-Archiva---Builds-take-very-long-tp19158623p19218823.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
