Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11318

Wagon 2.0 upgrade broke the Redeploy task for webdav repositories

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • maven-plugin
    • None

      Problem of wagon compatibility between Aether/Wagon 2 in Jenkins 1.434

      Uploading: http://repository.exoplatform.org/content/repositories/exo-private-snapshots/com/exoplatform/platform/cloud/exo.platform.cloud/3.5.0-CR1-SNAPSHOT/exo.platform.cloud-3.5.0-CR1-20111012.034911-9.pom
      FATAL: org.apache.maven.wagon.providers.webdav.WebDavWagon.execute(Lorg/apache/commons/httpclient/HttpMethod;)I
      java.lang.NoSuchMethodError: org.apache.maven.wagon.providers.webdav.WebDavWagon.execute(Lorg/apache/commons/httpclient/HttpMethod;)I
      	at org.apache.maven.wagon.providers.webdav.WebDavWagon.doMkCol(WebDavWagon.java:157)
      	at org.apache.maven.wagon.providers.webdav.WebDavWagon.mkdirs(WebDavWagon.java:129)
      	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:512)
      	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:476)
      	at org.apache.maven.wagon.providers.webdav.WebDavWagon.put(WebDavWagon.java:332)
      	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:825)
      	at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:465)
      	at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:278)
      	at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:215)
      	at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:480)
      	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137)
      	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:189)
      	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:158)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
      	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:987)
      	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616)
      	at hudson.model.Run.run(Run.java:1429)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:478)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      

          [JENKINS-11318] Wagon 2.0 upgrade broke the Redeploy task for webdav repositories

          Bernd Litzba added a comment -

          We are using Maven 3.0.3
          And this is the wagon extension declared in the POM:
          <extension>
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-webdav-jackrabbit</artifactId>
          <version>2.1</version>
          </extension>

          Bernd Litzba added a comment - We are using Maven 3.0.3 And this is the wagon extension declared in the POM: <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-webdav-jackrabbit</artifactId> <version>2.1</version> </extension>

          Olivier Lamy added a comment -

          must be probably due to http://jira.codehaus.org/browse/WAGON-359.
          I will upgrade to wagon 2.2.

          Olivier Lamy added a comment - must be probably due to http://jira.codehaus.org/browse/WAGON-359 . I will upgrade to wagon 2.2.

          Code changed in jenkins
          User: olivier lamy
          Path:
          maven-plugin/pom.xml
          http://jenkins-ci.org/commit/jenkins/7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0
          Log:
          JENKINS-11318 updgrade to wagon 2.2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: olivier lamy Path: maven-plugin/pom.xml http://jenkins-ci.org/commit/jenkins/7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0 Log: JENKINS-11318 updgrade to wagon 2.2

          Olivier Lamy added a comment -

          fix for 1.446.

          Olivier Lamy added a comment - fix for 1.446.

          Thanks for support. But when this build will be available? Currently I'm blocked by this issue.

          Michal Nagorski added a comment - Thanks for support. But when this build will be available? Currently I'm blocked by this issue.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1379
          JENKINS-11318 updgrade to wagon 2.2

          Olivier Lamy : 7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0
          Files :

          • maven-plugin/pom.xml

          dogfood added a comment - Integrated in jenkins_main_trunk #1379 JENKINS-11318 updgrade to wagon 2.2 Olivier Lamy : 7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0 Files : maven-plugin/pom.xml

          Olivier Lamy added a comment -

          why this issue has been reopen ? At least provide comments on the reason.

          Olivier Lamy added a comment - why this issue has been reopen ? At least provide comments on the reason.

          Code changed in jenkins
          User: olivier lamy
          Path:
          maven-plugin/pom.xml
          http://jenkins-ci.org/commit/jenkins/6771142937bc6f743586b80452bc83f892ae35ae
          Log:
          JENKINS-11318 updgrade to wagon 2.2
          (cherry picked from commit 7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0)

          Conflicts:

          maven-plugin/pom.xml

          Compare: https://github.com/jenkinsci/jenkins/compare/3554a4c...6771142

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: olivier lamy Path: maven-plugin/pom.xml http://jenkins-ci.org/commit/jenkins/6771142937bc6f743586b80452bc83f892ae35ae Log: JENKINS-11318 updgrade to wagon 2.2 (cherry picked from commit 7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0) Conflicts: maven-plugin/pom.xml Compare: https://github.com/jenkinsci/jenkins/compare/3554a4c...6771142

          Code changed in jenkins
          User: olivier lamy
          Path:
          pom.xml
          http://jenkins-ci.org/commit/maven-plugin/84de2a20c937ae6460bee00ee28381b02d588831
          Log:
          [FIXED JENKINS-11318] Wagon 2.0 upgrade broke the Redeploy task for webdav repositories
          upgrade embeder version which doesn't have more deps on wagon http ligth

          Originally-Committed-As: 9eaf921ed6b5bfb45136b608751044d6bbd0146f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: olivier lamy Path: pom.xml http://jenkins-ci.org/commit/maven-plugin/84de2a20c937ae6460bee00ee28381b02d588831 Log: [FIXED JENKINS-11318] Wagon 2.0 upgrade broke the Redeploy task for webdav repositories upgrade embeder version which doesn't have more deps on wagon http ligth Originally-Committed-As: 9eaf921ed6b5bfb45136b608751044d6bbd0146f

          Code changed in jenkins
          User: olivier lamy
          Path:
          pom.xml
          http://jenkins-ci.org/commit/maven-plugin/682693fbc1e90893c0b1cb8170e6ab6f340ce6a9
          Log:
          JENKINS-11318 updgrade to wagon 2.2

          Originally-Committed-As: 7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: olivier lamy Path: pom.xml http://jenkins-ci.org/commit/maven-plugin/682693fbc1e90893c0b1cb8170e6ab6f340ce6a9 Log: JENKINS-11318 updgrade to wagon 2.2 Originally-Committed-As: 7bba3abcf9456e5a933e2207c4d87bc58a9f2fc0

            olamy Olivier Lamy
            aheritier Arnaud Héritier
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: