maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Hughes <kurren...@gmail.com>
Subject Re: Wagon examples pom not working
Date Wed, 01 Apr 2015 14:06:54 GMT
Please ignore - have it working now. Must have been a glitch in the matrix.

On Wed, Apr 1, 2015 at 3:34 PM, Anton Hughes <kurrent93@gmail.com> wrote:

> Hi all
>
> I have been struggling for several days to get maven wagon to work as
> expected.
>
> I have been trying the 'comprehensive' examples from
> https://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/ in
> particular, the ssh-it examples.
>
> When I run these I get the following:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building wagon-maven-plugin testing
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/wagon-maven-plugin/1.1-SNAPSHOT/maven-metadata.xml
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/wagon-maven-plugin/1.1-SNAPSHOT/wagon-maven-plugin-1.1-SNAPSHOT.pom
> [WARNING] The POM for
> org.codehaus.mojo:wagon-maven-plugin:jar:1.1-SNAPSHOT is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.264s
> [INFO] Finished at: Wed Apr 01 15:29:29 CEST 2015
> [INFO] Final Memory: 11M/303M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Plugin org.codehaus.mojo:wagon-maven-plugin:1.1-SNAPSHOT or one of
> its dependencies could not be resolved: Failed to read artifact descriptor
> for org.codehaus.mojo:wagon-maven-plugin:jar:1.1-SNAPSHOT: Could not find
> artifact org.codehaus.mojo:wagon-maven-plugin:pom:1.1-SNAPSHOT in central (
> http://repo1.maven.org/maven2) -> [Help 1]
> org.apache.maven.plugin.PluginResolutionException: Plugin
> org.codehaus.mojo:wagon-maven-plugin:1.1-SNAPSHOT or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.codehaus.mojo:wagon-maven-plugin:jar:1.1-SNAPSHOT
> at
> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:129)
> at
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:142)
> at
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:261)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:185)
> at
> org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(DefaultLifecycleExecutionPlanCalculator.java:152)
> at
> org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:139)
> at
> org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)
> at
> org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129)
> at
> org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCommon.java:92)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException:
> Failed to read artifact descriptor for
> org.codehaus.mojo:wagon-maven-plugin:jar:1.1-SNAPSHOT
> at
> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
> at
> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
> at
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:279)
> at
> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:115)
> ... 25 more
> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
> Could not find artifact
> org.codehaus.mojo:wagon-maven-plugin:pom:1.1-SNAPSHOT in central (
> http://repo1.maven.org/maven2)
> at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
> at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
> at
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
> at
> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
> ... 28 more
> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could
> not find artifact org.codehaus.mojo:wagon-maven-plugin:pom:1.1-SNAPSHOT in
> central (http://repo1.maven.org/maven2)
> at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
> at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:939)
> at
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
> at
> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
>
>
> I have tried bumping the versions down from the snapshot, but still get
> the same error.
>
> Can anyone help?
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message