Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
Just an update. I rebuilt OpenEJB and Geronimo, and it took away all those errors except the ones for openejb-core. It seems they didn't build that snapshot? Though that's not the point. I have, however, found the reason for this happening. It seems it is what I suspected, in that it tries to update those pom/jar files, fails because it can't them, and thus leaves them alone. Next time it tries again. So I am able to fix this by simply "touch"ing the files, thus updating their modification dates. I'll just keep doing this until later this month when these libraries are released, and thus they can be updated properly. Just though I'd let everyone know, in case someone else suffers the same. Q On Wed, Sep 16, 2009 at 5:25 PM, Edelson, Justin wrote: > See http://maven.apache.org/repository-management.html > > > > From: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Wed 9/16/2009 11:20 AM > To: Maven Users List > Subject: Re: Failing to Fetch Snapshots with Every Build - How to disable > undesired Behaviour > > > > Sounds good. > > How does it help you to "hit the internet" less often? > > Q > > On Wed, Sep 16, 2009 at 4:48 PM, Todd Thiessen wrote: >> BTW. Are you using a repository manager? This would keep you from having to >> hit the internet often and improve download speeds. >> >> --- >> Todd Thiessen >> >> >>> -Original Message- >>> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >>> Sent: Wednesday, September 16, 2009 10:41 AM >>> To: Maven Users List >>> Subject: Re: Failing to Fetch Snapshots with Every Build - >>> How to disable undesired Behaviour >>> >>> Nuking it?!?! You mean delete all 1GB of it and start over? >>> Or can I just delete the SNAPSHOT directory and rebuild it? >>> >>> Q >>> >>> On Wed, Sep 16, 2009 at 4:37 PM, Todd Thiessen >>> wrote: >>> > Perhaps the metadata is corrupt. Have you tried nuking your local? >>> > >>> > If that doesn't work, perhaps there is corruption on the >>> java.net side >>> > >>> > --- >>> > Todd Thiessen >>> > >>> > >>> >> -Original Message- >>> >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >>> >> Sent: Wednesday, September 16, 2009 10:31 AM >>> >> To: Maven Users List >>> >> Subject: Re: Failing to Fetch Snapshots with Every Build - How to >>> >> disable undesired Behaviour >>> >> >>> >> Could it be because it's a snapshot, the file isn't there, >>> and since >>> >> it keeps NOT being found it never marks it as updated, and >>> thus keeps >>> >> trying. >>> >> >>> >> Q >>> >> >>> >> On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes >>> >> wrote: >>> >> > No. I even tried to disable checking for updates. It keeps >>> >> doing this >>> >> > with every build. The exact same set of files. >>> >> > >>> >> > Q >>> >> > >>> >> > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin >>> >> > wrote: >>> >> >> By default, Maven will only check for updated snapshots >>> >> once per day. >>> >> >> Are you overriding this in the settings.xml file? >>> >> >> >>> >> >> Justin >>> >> >> >>> >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" >>> >> wrote: >>> >> >> >>> >> >>> 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 >>> >> >&g
RE: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
See http://maven.apache.org/repository-management.html From: Quintin Beukes [mailto:quin...@skywalk.co.za] Sent: Wed 9/16/2009 11:20 AM To: Maven Users List Subject: Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour Sounds good. How does it help you to "hit the internet" less often? Q On Wed, Sep 16, 2009 at 4:48 PM, Todd Thiessen wrote: > BTW. Are you using a repository manager? This would keep you from having to > hit the internet often and improve download speeds. > > --- > Todd Thiessen > > >> -Original Message- >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >> Sent: Wednesday, September 16, 2009 10:41 AM >> To: Maven Users List >> Subject: Re: Failing to Fetch Snapshots with Every Build - >> How to disable undesired Behaviour >> >> Nuking it?!?! You mean delete all 1GB of it and start over? >> Or can I just delete the SNAPSHOT directory and rebuild it? >> >> Q >> >> On Wed, Sep 16, 2009 at 4:37 PM, Todd Thiessen >> wrote: >> > Perhaps the metadata is corrupt. Have you tried nuking your local? >> > >> > If that doesn't work, perhaps there is corruption on the >> java.net side >> > >> > --- >> > Todd Thiessen >> > >> > >> >> -----Original Message----- >> >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >> >> Sent: Wednesday, September 16, 2009 10:31 AM >> >> To: Maven Users List >> >> Subject: Re: Failing to Fetch Snapshots with Every Build - How to >> >> disable undesired Behaviour >> >> >> >> Could it be because it's a snapshot, the file isn't there, >> and since >> >> it keeps NOT being found it never marks it as updated, and >> thus keeps >> >> trying. >> >> >> >> Q >> >> >> >> On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes >> >> wrote: >> >> > No. I even tried to disable checking for updates. It keeps >> >> doing this >> >> > with every build. The exact same set of files. >> >> > >> >> > Q >> >> > >> >> > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin >> >> > wrote: >> >> >> By default, Maven will only check for updated snapshots >> >> once per day. >> >> >> Are you overriding this in the settings.xml file? >> >> >> >> >> >> Justin >> >> >> >> >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" >> >> wrote: >> >> >> >> >> >>> 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-SNA >> >> >>> PSHOT/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-SN >> >> >>> APSHOT/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-SN
Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
Sounds good. How does it help you to "hit the internet" less often? Q On Wed, Sep 16, 2009 at 4:48 PM, Todd Thiessen wrote: > BTW. Are you using a repository manager? This would keep you from having to > hit the internet often and improve download speeds. > > --- > Todd Thiessen > > >> -Original Message- >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >> Sent: Wednesday, September 16, 2009 10:41 AM >> To: Maven Users List >> Subject: Re: Failing to Fetch Snapshots with Every Build - >> How to disable undesired Behaviour >> >> Nuking it?!?! You mean delete all 1GB of it and start over? >> Or can I just delete the SNAPSHOT directory and rebuild it? >> >> Q >> >> On Wed, Sep 16, 2009 at 4:37 PM, Todd Thiessen >> wrote: >> > Perhaps the metadata is corrupt. Have you tried nuking your local? >> > >> > If that doesn't work, perhaps there is corruption on the >> java.net side >> > >> > --- >> > Todd Thiessen >> > >> > >> >> -----Original Message----- >> >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >> >> Sent: Wednesday, September 16, 2009 10:31 AM >> >> To: Maven Users List >> >> Subject: Re: Failing to Fetch Snapshots with Every Build - How to >> >> disable undesired Behaviour >> >> >> >> Could it be because it's a snapshot, the file isn't there, >> and since >> >> it keeps NOT being found it never marks it as updated, and >> thus keeps >> >> trying. >> >> >> >> Q >> >> >> >> On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes >> >> wrote: >> >> > No. I even tried to disable checking for updates. It keeps >> >> doing this >> >> > with every build. The exact same set of files. >> >> > >> >> > Q >> >> > >> >> > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin >> >> > wrote: >> >> >> By default, Maven will only check for updated snapshots >> >> once per day. >> >> >> Are you overriding this in the settings.xml file? >> >> >> >> >> >> Justin >> >> >> >> >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" >> >> wrote: >> >> >> >> >> >>> 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-SNA >> >> >>> PSHOT/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-SN >> >> >>> APSHOT/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
RE: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
BTW. Are you using a repository manager? This would keep you from having to hit the internet often and improve download speeds. --- Todd Thiessen > -Original Message- > From: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Wednesday, September 16, 2009 10:41 AM > To: Maven Users List > Subject: Re: Failing to Fetch Snapshots with Every Build - > How to disable undesired Behaviour > > Nuking it?!?! You mean delete all 1GB of it and start over? > Or can I just delete the SNAPSHOT directory and rebuild it? > > Q > > On Wed, Sep 16, 2009 at 4:37 PM, Todd Thiessen > wrote: > > Perhaps the metadata is corrupt. Have you tried nuking your local? > > > > If that doesn't work, perhaps there is corruption on the > java.net side > > > > --- > > Todd Thiessen > > > > > >> -Original Message- > >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] > >> Sent: Wednesday, September 16, 2009 10:31 AM > >> To: Maven Users List > >> Subject: Re: Failing to Fetch Snapshots with Every Build - How to > >> disable undesired Behaviour > >> > >> Could it be because it's a snapshot, the file isn't there, > and since > >> it keeps NOT being found it never marks it as updated, and > thus keeps > >> trying. > >> > >> Q > >> > >> On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes > >> wrote: > >> > No. I even tried to disable checking for updates. It keeps > >> doing this > >> > with every build. The exact same set of files. > >> > > >> > Q > >> > > >> > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin > >> > wrote: > >> >> By default, Maven will only check for updated snapshots > >> once per day. > >> >> Are you overriding this in the settings.xml file? > >> >> > >> >> Justin > >> >> > >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" > >> wrote: > >> >> > >> >>> 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-SNA > >> >>> PSHOT/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-SN > >> >>> APSHOT/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 fi
RE: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
1 Gig? My goodness and I though my local was big at about 100 meg ;-). Seems strange yours is s big. I delete my local fairly often actually. In your case though, just delete the folder in question. Maven should then download all files it needs and files should be clean. --- Todd Thiessen > -Original Message- > From: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Wednesday, September 16, 2009 10:41 AM > To: Maven Users List > Subject: Re: Failing to Fetch Snapshots with Every Build - > How to disable undesired Behaviour > > Nuking it?!?! You mean delete all 1GB of it and start over? > Or can I just delete the SNAPSHOT directory and rebuild it? > > Q > > On Wed, Sep 16, 2009 at 4:37 PM, Todd Thiessen > wrote: > > Perhaps the metadata is corrupt. Have you tried nuking your local? > > > > If that doesn't work, perhaps there is corruption on the > java.net side > > > > --- > > Todd Thiessen > > > > > >> -Original Message- > >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] > >> Sent: Wednesday, September 16, 2009 10:31 AM > >> To: Maven Users List > >> Subject: Re: Failing to Fetch Snapshots with Every Build - How to > >> disable undesired Behaviour > >> > >> Could it be because it's a snapshot, the file isn't there, > and since > >> it keeps NOT being found it never marks it as updated, and > thus keeps > >> trying. > >> > >> Q > >> > >> On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes > >> wrote: > >> > No. I even tried to disable checking for updates. It keeps > >> doing this > >> > with every build. The exact same set of files. > >> > > >> > Q > >> > > >> > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin > >> > wrote: > >> >> By default, Maven will only check for updated snapshots > >> once per day. > >> >> Are you overriding this in the settings.xml file? > >> >> > >> >> Justin > >> >> > >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" > >> wrote: > >> >> > >> >>> 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-SNA > >> >>> PSHOT/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-SN > >> >>> APSHOT/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/m
RE: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
One thing that does looks odd is that there's no maven-metadata-local.xml in the directory listing below. How did the JAR and POM files get into your local repository? It also looks weird to have a mix of timestamped and non-timestamped snapshots, but I'm not sure that's a problem. Justin From: Quintin Beukes [mailto:quin...@skywalk.co.za] Sent: Wed 9/16/2009 10:31 AM To: Maven Users List Subject: Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour Could it be because it's a snapshot, the file isn't there, and since it keeps NOT being found it never marks it as updated, and thus keeps trying. Q On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes wrote: > No. I even tried to disable checking for updates. It keeps doing this > with every build. The exact same set of files. > > Q > > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin > wrote: >> By default, Maven will only check for updated snapshots once per day. Are >> you overriding this in the settings.xml file? >> >> Justin >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" wrote: >> >>> 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 >>> opene
Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
Nuking it?!?! You mean delete all 1GB of it and start over? Or can I just delete the SNAPSHOT directory and rebuild it? Q On Wed, Sep 16, 2009 at 4:37 PM, Todd Thiessen wrote: > Perhaps the metadata is corrupt. Have you tried nuking your local? > > If that doesn't work, perhaps there is corruption on the java.net side > > --- > Todd Thiessen > > >> -Original Message- >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >> Sent: Wednesday, September 16, 2009 10:31 AM >> To: Maven Users List >> Subject: Re: Failing to Fetch Snapshots with Every Build - >> How to disable undesired Behaviour >> >> Could it be because it's a snapshot, the file isn't there, >> and since it keeps NOT being found it never marks it as >> updated, and thus keeps trying. >> >> Q >> >> On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes >> wrote: >> > No. I even tried to disable checking for updates. It keeps >> doing this >> > with every build. The exact same set of files. >> > >> > Q >> > >> > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin >> > wrote: >> >> By default, Maven will only check for updated snapshots >> once per day. >> >> Are you overriding this in the settings.xml file? >> >> >> >> Justin >> >> >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" >> wrote: >> >> >> >>> 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-SNA >> >>> PSHOT/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-SN >> >>> APSHOT/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 >> &
RE: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
Perhaps the metadata is corrupt. Have you tried nuking your local? If that doesn't work, perhaps there is corruption on the java.net side --- Todd Thiessen > -Original Message- > From: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Wednesday, September 16, 2009 10:31 AM > To: Maven Users List > Subject: Re: Failing to Fetch Snapshots with Every Build - > How to disable undesired Behaviour > > Could it be because it's a snapshot, the file isn't there, > and since it keeps NOT being found it never marks it as > updated, and thus keeps trying. > > Q > > On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes > wrote: > > No. I even tried to disable checking for updates. It keeps > doing this > > with every build. The exact same set of files. > > > > Q > > > > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin > > wrote: > >> By default, Maven will only check for updated snapshots > once per day. > >> Are you overriding this in the settings.xml file? > >> > >> Justin > >> > >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" > wrote: > >> > >>> 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-SNA > >>> PSHOT/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-SN > >>> APSHOT/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 qui
Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
Could it be because it's a snapshot, the file isn't there, and since it keeps NOT being found it never marks it as updated, and thus keeps trying. Q On Wed, Sep 16, 2009 at 4:27 PM, Quintin Beukes wrote: > No. I even tried to disable checking for updates. It keeps doing this > with every build. The exact same set of files. > > Q > > On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin > wrote: >> By default, Maven will only check for updated snapshots once per day. Are >> you overriding this in the settings.xml file? >> >> Justin >> >> On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" wrote: >> >>> 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 >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > > > -- > Quintin Beukes > -- Quintin Beukes - To unsubscribe, e-mail: users-u
Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
No. I even tried to disable checking for updates. It keeps doing this with every build. The exact same set of files. Q On Wed, Sep 16, 2009 at 2:37 PM, Edelson, Justin wrote: > By default, Maven will only check for updated snapshots once per day. Are > you overriding this in the settings.xml file? > > Justin > > On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" wrote: > >> 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 >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Quintin Beukes - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
By default, Maven will only check for updated snapshots once per day. Are you overriding this in the settings.xml file? Justin On Sep 16, 2009, at 4:09 AM, "Quintin Beukes" wrote: 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 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Failing to Fetch Snapshots with Every Build - How to disable undesired Behaviour
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