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 <thies...@nortel.com> 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
>> <thies...@nortel.com> 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
>> >> <quin...@skywalk.co.za> 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
>> >> > <justin.edel...@mtvstaff.com> 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"
>> >> <quin...@last.za.net> 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 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-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
>>
>>
>
> ---------------------------------------------------------------------
> 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



Reply via email to