Everytime I build I get the following (and a couple of others,
including JARs, but all for the same project, ie.
openejb-3.1.2-SNAPSHOT).

[resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
Copying 5 resources
Downloading: 
http://download.java.net/maven/2/org/apache/openejb/openejb-client/3.1.2-SNAPSHOT/openejb-client-3.1.2-SNAPSHOT.pom
Unable to find resource
'org.apache.openejb:openejb-client:pom:3.1.2-SNAPSHOT' in repository
java.net2 (http://download.java.net/maven/2)
Downloading: 
http://download.java.net/maven/2/org/apache/openejb/server/3.1.2-SNAPSHOT/server-3.1.2-SNAPSHOT.pom
Unable to find resource 'org.apache.openejb:server:pom:3.1.2-SNAPSHOT'
in repository java.net2 (http://download.java.net/maven/2)
Downloading: 
http://download.java.net/maven/2/org/apache/openejb/openejb/3.1.2-SNAPSHOT/openejb-3.1.2-SNAPSHOT.pom
Unable to find resource
'org.apache.openejb:openejb:pom:3.1.2-SNAPSHOT' in repository
java.net2 (http://download.java.net/maven/2)
snapshot org.apache.openejb:openejb-core:3.1.2-SNAPSHOT: checking for
updates from java.net2
Downloading: 
http://download.java.net/maven/2/org/apache/openejb/openejb-core/3.1.2-SNAPSHOT/openejb-core-3.1.2-SNAPSHOT.pom
Unable to find resource
'org.apache.openejb:openejb-core:pom:3.1.2-SNAPSHOT' in repository
java.net2 (http://download.java.net/maven/2)
Downloading: 
http://download.java.net/maven/2/org/apache/openejb/container/3.1.2-SNAPSHOT/container-3.1.2-SNAPSHOT.pom
Unable to find resource
'org.apache.openejb:container:pom:3.1.2-SNAPSHOT' in repository
java.net2 (http://download.java.net/maven/2)
[compiler:compile]

I HAVE these files in my repository, as can be seen with the following ls:
quin...@quintin-desktop 3.1.2-SNAPSHOT $ ls -l
~/.m2/repository/org/apache/openejb/openejb-core/3.1.2-SNAPSHOT/
total 2916
-rw-r--r-- 1 quintin quintin     366 2009-09-10 16:39
maven-metadata-apache.snapshots.xml
-rw-r--r-- 1 quintin quintin      41 2009-09-10 16:39
maven-metadata-apache.snapshots.xml.sha1
-rw-r--r-- 1 quintin quintin     178 2009-09-10 16:39
maven-metadata-codehaus.snapshots.xml
-rw-r--r-- 1 quintin quintin     178 2009-09-16 10:04
maven-metadata-java.net2.xml
-rw-r--r-- 1 quintin quintin 1453091 2009-09-10 16:41
openejb-core-3.1.2-20090827.210255-8.jar
-rw-r--r-- 1 quintin quintin      40 2009-09-10 16:41
openejb-core-3.1.2-20090827.210255-8.jar.sha1
-rw-r--r-- 1 quintin quintin   14528 2009-09-10 16:39
openejb-core-3.1.2-20090827.210255-8.pom
-rw-r--r-- 1 quintin quintin      40 2009-09-10 16:39
openejb-core-3.1.2-20090827.210255-8.pom.sha1
-rw-r--r-- 1 quintin quintin 1453091 2009-09-10 16:41
openejb-core-3.1.2-SNAPSHOT.jar
-rw-r--r-- 1 quintin quintin     104 2009-09-15 15:56
openejb-core-3.1.2-SNAPSHOT-javadoc.jar.lastUpdated
-rw-r--r-- 1 quintin quintin   14528 2009-09-10 16:39
openejb-core-3.1.2-SNAPSHOT.pom
-rw-r--r-- 1 quintin quintin     104 2009-09-15 15:57
openejb-core-3.1.2-SNAPSHOT-sources.jar.lastUpdated
-rw-r--r-- 1 quintin quintin     145 2009-09-16 10:03 resolver-status.properties

How can I disable this? I don't want to run in offline mode, because I
want legitimate dependency fetches to occur. The biggest hassle is
that it does this with every build, every clean, every test. And this
makes my tests run longer. When I run in offline mode it finished
execution in as little as 3 seconds, depending on what has to happen.
But with these fetches it's a minimum of 30 seconds everytime.

Thanks,
-- 
Quintin Beukes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to