Another thing that can help you when you don't use Maven offline is
changing the snapshot repository update policy (in your settings.xml
or pom.xml) to something like daily. I think by default it is set to
"always" in the super pom.

On 4/28/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
Use  "mvn -o ...". It tells Maven to run offline,

On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote:
> OK, but this time, I am unable to build complete project(it has 70 submodules). Yesterday, I 
changed scope of some dependencies to "provided" from "compile", Now, problem is 
coming more so unable to build whole project.
)>
> Is there anyway, I could avoid contacting Ibiblio as files are already 
downloaded. Later, we can again enable to get latest ones.
>
> Thanks,
> Vijay
>
>
> ________________________________
>
> From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
> Sent: Fri 4/28/2006 8:14 AM
> To: Maven Users List
> Subject: Re: Error transferring file
>
>
>
> Ibiblio sometimes is overloaded.
>
> On 4/28/06, Vijay Shanker <[EMAIL PROTECTED]> wrote:
> > Could any body suggest me why sometimes, I get error transferring file. If 
I build again, it builds without any problem. For example, I got below given error:
> >
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading: http://repo1.maven.org/maven2/jmxc/jmxc/1.0/jmxc-1.0.pom
> > [WARNING] Unable to get resource from repository central 
(http://repo1.maven.org
> > /maven2)
> > Downloading: http://repo1.maven.org/maven2/admin/admin/1.0/admin-1.0.pom
> > [INFO] 
------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO] 
------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> > Project ID: admin:admin
> > Reason: Error getting POM for 'admin:admin' from the repository: Error 
transferr
> > ing file
> >   admin:admin:pom:1.0
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> > I tried to build again, it built without any problem. It keeps happening as 
my project has about 70 submodules.
> >
> > Please suggest any solution.
> >
> > Thanks,
> >
> > Vijay
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to