Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-832

stage-deploy fails with maven-site-plugin 3.7.1 and wagon-webdav-jackrabbit 3.3.1: NoSuchMethodError:org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.getBufferCapacityForTransfer(J)I

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Problem
    • 3.7.1
    • None
    • site:stage(-deploy)
    • None

    Description

      I have this error with Maven 3.6.0 and maven-site-plugin 3.7.1 and wagon-webdav-jackrabbit 3.3.1

      java.lang.NoSuchMethodError:
       org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.getBufferCapacityForTransfer(J)I
           at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.access$000
       (AbstractHttpClientWagon.java:112)
           at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon$RequestEntityImplementation.writeTo
       (AbstractHttpClientWagon.java:185)
           at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity
       (DefaultBHttpClientConnection.java:156)
      

      Is there anyworkaround ?
      I am trying to force all of the dependencies in the site plugin

       <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
           <version>3.7.1</version>
           <dependencies>
           <dependency>
             <groupId>org.apache.maven.wagon</groupId>
             <artifactId>wagon-http</artifactId>
             <version>3.3.1</version>
           </dependency>
           <dependency>
             <groupId>org.apache.maven.wagon</groupId>
             <artifactId>wagon</artifactId>
             <version>3.3.1</version>
             <type>pom</type>
           </dependency>
           <dependency>
             <groupId>org.apache.maven.wagon</groupId>
             <artifactId>wagon-http-shared</artifactId>
             <version>3.3.1</version>
           </dependency>
           <dependency>
             <groupId>org.apache.maven.wagon</groupId>
             <artifactId>wagon-webdav-jackrabbit</artifactId>
             <version>3.3.1</version>
           </dependency>
                 </dependencies>
       

      But no result...

      Attachments

        1. msite-832.tar.gz
          1 kB
          Emmanuel Vinel

        Activity

          People

            michael-o Michael Osipov
            eolivelli Enrico Olivelli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: