commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [parent] problem copying to m2-ibiblio-rsync-repository
Date Mon, 31 Jan 2011 14:35:02 GMT
On 31 January 2011 14:19, Gary Gregory <GGregory@seagullsoftware.com> wrote:
> Hi All:
>
> I now realize that version 18 of commons-parent is not on Maven Central because I did
not run:
>
> mvn stage:copy -Dsource="https://repository.apache.org/content/repositories/releases/org/apache/commons/commons-parent/18/"
-Dtarget="scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository"
-DtargetRepositoryId=apache.releases -Dversion=18
>

No, that is not necessary when using Nexus.
In fact AIUI the permissions are set to prevent it.

When using Nexus, promotion happens in Nexus.

> When I do, I get:
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-stage-plugin:1.0-alpha-2:copy
(default-cli) on project commons-parent: Error copying repository from https://repo
> sitory.apache.org/content/repositories/releases/org/apache/commons/commons-parent/18/
to scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository: Cannot
> connect. Reason: Algorithm negotiation fail -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-stage-plugin:1.0-alpha-2:copy
(default-cli) on project commons-pa
> rent: Error copying repository from https://repository.apache.org/content/repositories/releases/org/apache/commons/commons-parent/18/
to scp://people.apache.org/www/people.apa
> che.org/repo/m2-ibiblio-rsync-repository
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>        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:319)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
>        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:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error copying repository from
https://repository.apache.org/content/repositories/releases/org/apache/commons/commons
> -parent/18/ to scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
>        at org.apache.maven.plugins.stage.CopyRepositoryMojo.execute(CopyRepositoryMojo.java:107)
>        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>        ... 19 more
> Caused by: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect.
Reason: Algorithm negotiation fail
>        at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnection(AbstractJschWagon.java:186)
>        at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
>        at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:142)
>        at org.apache.maven.plugins.stage.DefaultRepositoryCopier.copy(DefaultRepositoryCopier.java:159)
>        at org.apache.maven.plugins.stage.CopyRepositoryMojo.execute(CopyRepositoryMojo.java:98)
>        ... 21 more
> Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
>        at com.jcraft.jsch.Session.receive_kexinit(Unknown Source)
>        at com.jcraft.jsch.Session.connect(Unknown Source)
>        at com.jcraft.jsch.Session.connect(Unknown Source)
>        at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnection(AbstractJschWagon.java:158)
>        ... 25 more
>
> I found this:
>
> http://jira.codehaus.org/browse/MNG-4241
>
> So I need to upgrade the POM to use a new version of Wagon? Or just the HTTP part? But
it /looks/ like I am using the current version of org.apache.maven.wagon/ wagon-provider-api/wagon-http:
>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:2.1.1:describe
(default-cli) on project commons-parent: Error retrieving plugin descriptor for:
> [ERROR]
> [ERROR] groupId: 'org.apache.maven.wagon'
> [ERROR] artifactId: 'wagon-http'
> [ERROR] version: 'null': Failed to parse plugin descriptor for org.apache.maven.wagon:wagon-http:1.0-beta-7
(C:\Users\ggregory\.m2\repository\org\apache\maven\wagon\wagon-http
> \1.0-beta-7\wagon-http-1.0-beta-7.jar): No plugin descriptor found at META-INF/maven/plugin.xml
> [ERROR] -> [Help 1]
>
> Arg.
> Gary Gregory
> Senior Software Engineer
> Rocket Software
> 3340 Peachtree Road, Suite 820 * Atlanta, GA 30326 * USA
> Tel: +1.404.760.1560
> Email: ggregory@seagullsoftware.com<mailto:ggregory@seagullsoftware.com>
> Web: seagull.rocketsoftware.com<http://www.seagull.rocketsoftware.com/>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message