Thank you so much. I used -o option and it seems to be working now.

________________________________

From: John Casey [mailto:[EMAIL PROTECTED]
Sent: Fri 4/28/2006 8:26 AM
To: Maven Users List
Subject: Re: Error transferring file



Well, you could probably do two things:

1. try using offline mode for your builds. This is done by adding -o to your
command line.

2. try using maven-proxy to setup an internally cached repository, and then
configure your settings.xml to use that proxy as a mirror of 'central'
(ibiblio). I believe there is documentation for this in
http://maven.apache.org/guides/index.html

HTH,

John

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