maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian E. Fox" <bri...@reply.infinity.nu>
Subject RE: [ANN] Maven Dependency Plugin 2.0-alpha-4 Released
Date Mon, 02 Apr 2007 13:28:00 GMT
Barrie, you'll probably need to clear that info from your maven-proxy.

-----Original Message-----
From: Barrie Treloar [mailto:baerrach@gmail.com] 
Sent: Monday, April 02, 2007 1:36 AM
To: Maven Users List
Subject: Re: [ANN] Maven Dependency Plugin 2.0-alpha-4 Released

On 4/2/07, Brett Porter <brett.porter@gmail.com> wrote:
> Barrie:
> rm ~/.m2/repository/org/codehaus/mojo/maven-metadata.xml* should do
the trick.

Tried that already.
Deleted ~/.m2/repository/org/codehaus/mojo/
 maven-metadata*
 dependency-maven-plugin/

I have the added complication that mvn-proxy is between me and
central, but maven itself must be requesting
org.codehaus.mojo:dependency-maven-plugin:1.0 instead.

As you can see from the stack trace codehaus is checked first.
I'm not sure why any one else is not having the same problems...
(maybe mvnproxy related)

>mvn -X -cpu -U dependency:analyze
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from:
'USER\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Program
Files\maven-2.0.4\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM:
groupId:parentArtifactId::0.6-SNAPSHOT of project:
groupId:artifactId:jar:0.6-SNAPSHOT in relative path: ../
pom.xml
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml'
for project: groupId:artifactId:jar:0.6-SNAPSHOT
[DEBUG] Searching for parent-POM: bootstrap:bootstrap::14 of project:
groupId:parentArtifactId:pom:0.6-SNAPSHOT in relative path: .
./pom.xml
[DEBUG] Parent-POM: bootstrap:bootstrap::14 not found in relative
path: ../pom.xml
[DEBUG] Retrieving parent-POM: bootstrap:bootstrap::14 for project:
groupId:parentArtifactId:pom:0.6-SNAPSHOT from the repository.
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] org.apache.maven.plugins: checking for updates from
internal_plugins
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from internal_plugins
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'b28764024a091702daad3896cd31bad23659f129'; remote
= '19be53dfb67e6ed64b314a34221b67db12d3723f' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'b28764024a091702daad3896cd31bad23659f129'; remote
= '19be53dfb67e6ed64b314a34221b67db12d3723f' - IGNORING
[INFO] org.codehaus.mojo: checking for updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'b28764024a091702daad3896cd31bad23659f129'; remote
= '19be53dfb67e6ed64b314a34221b67db12d3723f' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'b28764024a091702daad3896cd31bad23659f129'; remote
= '19be53dfb67e6ed64b314a34221b67db12d3723f' - IGNORING
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking
for updates from internal_plugins
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking
for updates from central
[DEBUG] dependency-maven-plugin: resolved to version 1.0 from repository
central
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::5 for project:
org.codehaus.mojo:dependency-maven-plugin:maven-pl
ugin:1.0 from the repository.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Required goal not found: dependency:analyze
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Required goal not found:
dependency:analyze
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExecutor.java:1533)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAgg
regationNeeds(DefaultLifecycleExecuto
r.java:381)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:135)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Apr 02 15:02:01 CST 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

---------------------------------------------------------------------
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


Mime
View raw message