You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brad O'Hearne <br...@neurofire.com> on 2006/03/06 16:59:39 UTC

Problem with dependencies on central -- ibiblio?

I am having a sudden problem simply compiling with maven -- no changes 
to my pom.xml, and it worked just fine last night. Here is my error:

[ERROR] BUILD ERROR
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-compiler-plugin

Reason: Error getting POM for 
'org.apache.maven.plugins:maven-compiler-plugin' f
rom the repository: Failed to resolve artifact, possibly due to a 
repository lis
t that is not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

What does this error mean? Is there a problem on ibiblio?

Brad

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


Re: Problem with dependencies on central -- ibiblio?

Posted by Brad O'Hearne <br...@neurofire.com>.
See my reply in the other thread we are communicating on -- your advice 
in configuring the plugin repository helped me solve my problem -- it 
was actually a deficiency that wasn't causing a problem until the local 
repository was cleaned out. Thanks for your help!

Cheers,

Brad

Wayne Fay wrote:

>Sorry about that Brad, my initial response was wrong. Check my second
>email response to this thread for the right answer.
>
>Wayne
>
>
>On 3/6/06, Brad O'Hearne <br...@neurofire.com> wrote:
>  
>
>>Wayne,
>>
>>Thanks for the reply. I don't think this is a timeout, I think there's
>>another problem. Here's the bulk of the output -- it looks like it is
>>indicating something else -- this isn't a data transfer error. It cannot
>>resolve the artifact. If it were a timeout, I would expect it to
>>sometimes bomb on this plugin, and sometimes on another one. In additon,
>>this fails immediately -- there is no waiting, as if there were data
>>transmission or timing out issues. I'm curious as to what the line
>>"Failed to resolve artifact, possibly due to a repository list that is
>>not appropriately equipped for this artifact's metadata." means. That
>>seems to indicate some other problem.
>>    
>>
>
>---------------------------------------------------------------------
>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: Problem with dependencies on central -- ibiblio?

Posted by Wayne Fay <wa...@gmail.com>.
Sorry about that Brad, my initial response was wrong. Check my second
email response to this thread for the right answer.

Wayne


On 3/6/06, Brad O'Hearne <br...@neurofire.com> wrote:
> Wayne,
>
> Thanks for the reply. I don't think this is a timeout, I think there's
> another problem. Here's the bulk of the output -- it looks like it is
> indicating something else -- this isn't a data transfer error. It cannot
> resolve the artifact. If it were a timeout, I would expect it to
> sometimes bomb on this plugin, and sometimes on another one. In additon,
> this fails immediately -- there is no waiting, as if there were data
> transmission or timing out issues. I'm curious as to what the line
> "Failed to resolve artifact, possibly due to a repository list that is
> not appropriately equipped for this artifact's metadata." means. That
> seems to indicate some other problem.

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


Re: Problem with dependencies on central -- ibiblio?

Posted by Brad O'Hearne <br...@neurofire.com>.
Wayne,

Thanks for the reply. I don't think this is a timeout, I think there's 
another problem. Here's the bulk of the output -- it looks like it is 
indicating something else -- this isn't a data transfer error. It cannot 
resolve the artifact. If it were a timeout, I would expect it to 
sometimes bomb on this plugin, and sometimes on another one. In additon, 
this fails immediately -- there is no waiting, as if there were data 
transmission or timing out issues. I'm curious as to what the line 
"Failed to resolve artifact, possibly due to a repository list that is 
not appropriately equipped for this artifact's metadata." means. That 
seems to indicate some other problem.

Any ideas? Weird that this would start happening without any changes at all.

output beelow:

$ mvn -U compile
[INFO] Scanning for projects...
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Building Maven Quick Start Archetype
[INFO]    task-segment: [compile]
[INFO] 
-------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: 
checking for up
dates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for upd
ates from central
[INFO] 
-------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-compiler-plugin

Reason: Error getting POM for 
'org.apache.maven.plugins:maven-compiler-plugin' f
rom the repository: Failed to resolve artifact, possibly due to a 
repository lis
t that is not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)





Wayne Fay wrote:

>Try mvn --offline. Looks like ibiblio is timing out, and your build is
>failing since it can't check for updates to the snapshot for
>maven-compiler-plugin.
>
>Wayne
>
>
>On 3/6/06, Brad O'Hearne <br...@neurofire.com> wrote:
>  
>
>>I am having a sudden problem simply compiling with maven -- no changes
>>to my pom.xml, and it worked just fine last night. Here is my error:
>>
>>[ERROR] BUILD ERROR
>>[INFO]
>>-------------------------------------------------------------------------
>>---
>>[INFO] Error building POM (may not be this project's POM).
>>
>>
>>Project ID: org.apache.maven.plugins:maven-compiler-plugin
>>
>>Reason: Error getting POM for
>>'org.apache.maven.plugins:maven-compiler-plugin' f
>>rom the repository: Failed to resolve artifact, possibly due to a
>>repository lis
>>t that is not appropriately equipped for this artifact's metadata.
>> org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.1-SNAPSHOT
>>
>>from the specified remote repositories:
>> central (http://repo1.maven.org/maven2)
>>
>>What does this error mean? Is there a problem on ibiblio?
>>
>>Brad
>>
>>---------------------------------------------------------------------
>>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: Problem with dependencies on central -- ibiblio?

Posted by Wayne Fay <wa...@gmail.com>.
Here's the content of the email I mentioned...

The maven-jar-plugin version 2.1-SNAPSHOT does not exist on ibiblio,
as you can see here:
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-jar-plugin/

It only exists in the Codehaus Maven repo:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.1-SNAPSHOT/

Add this to your pom.xml and try again:
 <repositories>
   <repository>
     <id>Maven Snapshots</id>
     <url>http://snapshots.maven.codehaus.org/maven2/</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
   </repository>
 </repositories>
 <pluginRepositories>
   <pluginRepository>
     <id>Maven Snapshots</id>
     <url>http://snapshots.maven.codehaus.org/maven2/</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
   </pluginRepository>
 </pluginRepositories>

On 3/28/06, Fabrício Lemos <fa...@gmail.com> wrote:
> Wayne,
>
> Could you post the solution here? I have the same problem.
>
> thanks in advance,
> Fabbrício Lemos
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Problem with dependencies on central -- ibiblio?

Posted by Fabrício Lemos <fa...@gmail.com>.
Wayne,

Could you post the solution here? I have the same problem.

thanks in advance,
Fabbrício Lemos


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


Re: Problem with dependencies on central -- ibiblio?

Posted by Wayne Fay <wa...@gmail.com>.
My initial response was wrong... I should have said, the ibiblio repo
does not host snapsots.

You will need to access this plugin from:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1-SNAPSHOT/

I sent instructions in an email just a few minutes ago about how to
add this repository to your pom.xml.

Wayne


On 3/6/06, Wayne Fay <wa...@gmail.com> wrote:
> Try mvn --offline. Looks like ibiblio is timing out, and your build is
> failing since it can't check for updates to the snapshot for
> maven-compiler-plugin.
>
> Wayne
>
>
> On 3/6/06, Brad O'Hearne <br...@neurofire.com> wrote:
> > I am having a sudden problem simply compiling with maven -- no changes
> > to my pom.xml, and it worked just fine last night. Here is my error:
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> > -------------------------------------------------------------------------
> > ---
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: org.apache.maven.plugins:maven-compiler-plugin
> >
> > Reason: Error getting POM for
> > 'org.apache.maven.plugins:maven-compiler-plugin' f
> > rom the repository: Failed to resolve artifact, possibly due to a
> > repository lis
> > t that is not appropriately equipped for this artifact's metadata.
> >  org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.1-SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> > What does this error mean? Is there a problem on ibiblio?
> >
> > Brad
> >
> > ---------------------------------------------------------------------
> > 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: Problem with dependencies on central -- ibiblio?

Posted by Wayne Fay <wa...@gmail.com>.
Try mvn --offline. Looks like ibiblio is timing out, and your build is
failing since it can't check for updates to the snapshot for
maven-compiler-plugin.

Wayne


On 3/6/06, Brad O'Hearne <br...@neurofire.com> wrote:
> I am having a sudden problem simply compiling with maven -- no changes
> to my pom.xml, and it worked just fine last night. Here is my error:
>
> [ERROR] BUILD ERROR
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven.plugins:maven-compiler-plugin
>
> Reason: Error getting POM for
> 'org.apache.maven.plugins:maven-compiler-plugin' f
> rom the repository: Failed to resolve artifact, possibly due to a
> repository lis
> t that is not appropriately equipped for this artifact's metadata.
>  org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.1-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
> What does this error mean? Is there a problem on ibiblio?
>
> Brad
>
> ---------------------------------------------------------------------
> 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