You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vijay Shanker <vs...@comframe.com> on 2006/04/28 15:08:21 UTC

Error transferring file

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Error transferring file

Posted by Vijay Shanker <vs...@comframe.com>.
Thank you so much. I used -o option and it seems to be working now.

________________________________

From: John Casey [mailto:casey.john.d@gmail.com]
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 <vs...@comframe.com> 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:alexandre.poitras@gmail.com]
> 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 <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>




Re: Error transferring file

Posted by John Casey <ca...@gmail.com>.
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 <vs...@comframe.com> 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:alexandre.poitras@gmail.com]
> 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 <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Error transferring file

Posted by Alexandre Poitras <al...@gmail.com>.
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 <al...@gmail.com> wrote:
> Use  "mvn -o ...". It tells Maven to run offline,
>
> On 4/28/06, Vijay Shanker <vs...@comframe.com> 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:alexandre.poitras@gmail.com]
> > 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 <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

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


Re: Error transferring file

Posted by Alexandre Poitras <al...@gmail.com>.
Use  "mvn -o ...". It tells Maven to run offline,

On 4/28/06, Vijay Shanker <vs...@comframe.com> 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:alexandre.poitras@gmail.com]
> 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 <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: Error transferring file

Posted by Kathryn Huxtable <kh...@ku.edu>.
Well, you can always use the "mvn -o" option to tell it that you are working
"offline". -K


On 4/28/06 8:16 AM, "Vijay Shanker" <vs...@comframe.com> 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:alexandre.poitras@gmail.com]
> 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 <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


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


RE: Error transferring file

Posted by Vijay Shanker <vs...@comframe.com>.
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:alexandre.poitras@gmail.com]
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 <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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





Re: Error transferring file

Posted by Alexandre Poitras <al...@gmail.com>.
By the way, an internal corporation repository and Maven-Proxy should
fix this or at least reduce tremendouslythe number of time it happens.

On 4/28/06, Alexandre Poitras <al...@gmail.com> wrote:
> Ibiblio sometimes is overloaded.
>
> On 4/28/06, Vijay Shanker <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

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


Re: Error transferring file

Posted by Alexandre Poitras <al...@gmail.com>.
Ibiblio sometimes is overloaded.

On 4/28/06, Vijay Shanker <vs...@comframe.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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