archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Hebbrecht" <jochenhebbre...@gmail.com>
Subject Timeout setting for JAR files that are not in the repo?
Date Tue, 16 Dec 2008 13:08:15 GMT
Hi,

We are using Archiva for a while now, and I must say, we are very happy with it!

Now, we have a small problem. Whenever we want to load a JAR file that
is not a repository, maven really gets stuck on the URL. After several
seconds, maven tries repo1.maven.org.
I want to decrease the timeout setting. If I receive a 404 => skip!

An example:
[INFO] Adding default classpath contaigner:
org.eclipse.jdt.launching.JRE_CONTAINER
Downloading: http://MYDOMAIN.be:8080/archiva/repository/internal/javax/mail/mail/1.3.1/mail-1.3.1.pom

=> waiting 30 seconds!

Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.3.1/mail-1.3.1.pom
759b downloaded
Downloading: http://MYDOMAIN.be:8080/archiva/repository/internal/javax/activation/activation/1.0.2/activation-1.0.2.pom

=> waiting 30 seconds!

Downloading: http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.pom
776b downloaded
Downloading: http://MYDOMAIN.be:8080/archiva/repository/internal/javax/mail/mail/1.3.1/mail-1.3.1.jar

=> waiting 30 seconds!

Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.3.1/mail-1.3.1.jar

Is it possible to change that setting?

This is my repo config:

		<profile>
			<id>jochen</id>
			<repositories>
				<repository>
					<id>COMPANY-maven-repo-internal</id>
					<name>COMPANY Maven Repository</name>
					<releases>
						<enabled>true</enabled>
						<updatePolicy>always</updatePolicy>
						<checksumPolicy>warn</checksumPolicy>
					</releases>
					<url>http://MYDOMAIN:8080/archiva/repository/internal</url>
					<layout>default</layout>
				</repository>
			</repositories>
		</profile>


Thanks in advance!
Jochen

Mime
View raw message