You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/01/08 22:21:00 UTC
[jira] [Commented] (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
[ https://issues.apache.org/jira/browse/MSITE-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737593#comment-16737593 ]
Michael Osipov commented on MSITE-832:
--------------------------------------
Please provide the full stack trace and a sample project. It should be easy to fix at first glance.
> 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
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MSITE-832
> URL: https://issues.apache.org/jira/browse/MSITE-832
> Project: Maven Site Plugin
> Issue Type: Bug
> Components: site:stage(-deploy)
> Affects Versions: 3.7.1
> Reporter: Enrico Olivelli
> Priority: Blocker
>
> 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...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)