Edwin Punzalan wrote:
> 
> That's correct, released plugins should only have released dependencies.
> 
> Please provide the stacktrace so we can see if what you say really 
> happened and which plugin breaks that.
> 

Unfortunately I can't currently reproduce that in my machine. Here's the
output from my colleague (without stack trace, I'll see if he's still seeing
the problem and provide the trace if possible). 

[INFO]
----------------------------------------------------------------------------
[INFO] Building parent project
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://dist.codehaus.org/org.mortbay.jetty/jars/servlet-api-2.5-6.0.0beta12.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Error transferring file
  org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://dist.codehaus.org),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency: 
        1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5
        2) org.mortbay.jetty:jetty:jar:6.0.0beta12
        3) org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

Caused by I/O exception: Connection timed out: connect


So it seems that for some reason the artifact was tried to be downloaded
only from dist.codehaus. Unfortunately I'm not sure in what circumstances
this occurs.

Seems that Struts folks have seen similar behaviour with dependencies (see
the last line of the second comment):
https://issues.apache.org/struts/browse/STR-2952
-- 
View this message in context: 
http://www.nabble.com/Codehaus-repository-needed-even-using-released-plugins-only-tf2520820s177.html#a7073157
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to