RE: Maven site fails with PluginContainerException
unsubscribe From: David Hoffer Sent: Friday, October 31, 2014 12:25 PM To: Maven Users List Subject: Re: Maven site fails with PluginContainerException I think I found the cause of this. I had an older version of maven-surefire-report-plugin that had the old groupId & artifactId, with that changed the build is getting further now. -Dave On Fri, Oct 31, 2014 at 1:07 PM, David Hoffer wrote: > I'm trying to create a site report for an existing project and I get > a PluginContainerException. My command line is package site-deploy > > Here is the error in debug: > > > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 18.490s > [INFO] Finished at: Fri Oct 31 12:56:51 MDT 2014 > [INFO] Final Memory: 90M/1237M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on > project jms-parent: Execution default-site of goal > org.apache.maven.plugins:maven-site-plugin:3.4:s > ite failed: An API incompatibility was encountered while executing > org.apache.maven.plugins:maven-si > te-plugin:3.4:site: java.lang.AbstractMethodError: null > [ERROR] - > [ERROR] realm =plugin>org.apache.maven.plugins:maven-site-plugin:3.4 > [ERROR] strategy = > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/plugins/maven-site-plu > gin/3.4/maven-site-plugin-3.4.jar > [ERROR] urls[1] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/wagon/wagon-webdav-jac > krabbit/1.0/wagon-webdav-jackrabbit-1.0.jar > [ERROR] urls[2] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/wagon/wagon-http-share > d/1.0/wagon-http-shared-1.0.jar > [ERROR] urls[3] = > file:/C:/Users/david.hoffer/.m2/repository/commons-httpclient/commons-httpclient/3 > .1/commons-httpclient-3.1.jar > [ERROR] urls[4] = > file:/C:/Users/david.hoffer/.m2/repository/commons-logging/commons-logging/1.1.1/c > ommons-logging-1.1.1.jar > [ERROR] urls[5] = > file:/C:/Users/david.hoffer/.m2/repository/org/jsoup/jsoup/1.6.1/jsoup-1.6.1.jar > [ERROR] urls[6] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/jackrabbit/jackrabbit-webdav > /1.5.0/jackrabbit-webdav-1.5.0.jar > [ERROR] urls[7] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/jackrabbit/jackrabbit-jcr-co > mmons/1.5.0/jackrabbit-jcr-commons-1.5.0.jar > [ERROR] urls[8] = > file:/C:/Users/david.hoffer/.m2/repository/org/slf4j/slf4j-api/1.5.3/slf4j-api-1.5 > .3.jar > [ERROR] urls[9] = > file:/C:/Users/david.hoffer/.m2/repository/org/slf4j/slf4j-nop/1.5.3/slf4j-nop-1.5 > .3.jar > [ERROR] urls[10] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/reporting/maven-repor > ting-exec/1.2/maven-reporting-exec-1.2.jar > [ERROR] urls[11] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/reporting/maven-repor > ting-api/3.0/maven-reporting-api-3.0.jar > [ERROR] urls[12] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/shared/maven-shared-u > tils/0.3/maven-shared-utils-0.3.jar > [ERROR] urls[13] = > file:/C:/Users/david.hoffer/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/ > jsr305-2.0.1.jar > [ERROR] urls[14] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/aether/aether-util/1.7/ae > ther-util-1.7.jar > [ERROR] urls[15] = > file:/C:/Users/david.hoffer/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M > 2/aether-util-0.9.0.M2.jar > [ERROR] urls[16] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4 > .2/sisu-inject-bean-1.4.2.jar > [ERROR] urls[17] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sis > u-guice-2.1.7-noaop.jar > [ERROR] urls[18] = > file:/C:/Users/david.hoffer/.m2/repository/org/codehaus/plexus/plexus-interpolati > on/1.14/plexus-interpolation-1.14.jar > [ERROR] urls[19] = > file:/C:/Users/david.hoffer/.m2/repository/org/codehaus/plexus/plexus-component-a > nnotations/1.5.5/plexus-component-annotations-1.5.5.jar > [ERROR] urls[20] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/plexus/plexus-sec-dispatc > her/1.3/plexus-sec-dispatcher-1.3.jar > [ERROR] urls[21] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/ > plexus-cipher-1.4.jar > [ERROR] urls[22] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/maven-archiver/2.4.2
Re: Maven site fails with PluginContainerException
I think I found the cause of this. I had an older version of maven-surefire-report-plugin that had the old groupId & artifactId, with that changed the build is getting further now. -Dave On Fri, Oct 31, 2014 at 1:07 PM, David Hoffer wrote: > I'm trying to create a site report for an existing project and I get > a PluginContainerException. My command line is package site-deploy > > Here is the error in debug: > > > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 18.490s > [INFO] Finished at: Fri Oct 31 12:56:51 MDT 2014 > [INFO] Final Memory: 90M/1237M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on > project jms-parent: Execution default-site of goal > org.apache.maven.plugins:maven-site-plugin:3.4:s > ite failed: An API incompatibility was encountered while executing > org.apache.maven.plugins:maven-si > te-plugin:3.4:site: java.lang.AbstractMethodError: null > [ERROR] - > [ERROR] realm =plugin>org.apache.maven.plugins:maven-site-plugin:3.4 > [ERROR] strategy = > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/plugins/maven-site-plu > gin/3.4/maven-site-plugin-3.4.jar > [ERROR] urls[1] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/wagon/wagon-webdav-jac > krabbit/1.0/wagon-webdav-jackrabbit-1.0.jar > [ERROR] urls[2] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/wagon/wagon-http-share > d/1.0/wagon-http-shared-1.0.jar > [ERROR] urls[3] = > file:/C:/Users/david.hoffer/.m2/repository/commons-httpclient/commons-httpclient/3 > .1/commons-httpclient-3.1.jar > [ERROR] urls[4] = > file:/C:/Users/david.hoffer/.m2/repository/commons-logging/commons-logging/1.1.1/c > ommons-logging-1.1.1.jar > [ERROR] urls[5] = > file:/C:/Users/david.hoffer/.m2/repository/org/jsoup/jsoup/1.6.1/jsoup-1.6.1.jar > [ERROR] urls[6] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/jackrabbit/jackrabbit-webdav > /1.5.0/jackrabbit-webdav-1.5.0.jar > [ERROR] urls[7] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/jackrabbit/jackrabbit-jcr-co > mmons/1.5.0/jackrabbit-jcr-commons-1.5.0.jar > [ERROR] urls[8] = > file:/C:/Users/david.hoffer/.m2/repository/org/slf4j/slf4j-api/1.5.3/slf4j-api-1.5 > .3.jar > [ERROR] urls[9] = > file:/C:/Users/david.hoffer/.m2/repository/org/slf4j/slf4j-nop/1.5.3/slf4j-nop-1.5 > .3.jar > [ERROR] urls[10] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/reporting/maven-repor > ting-exec/1.2/maven-reporting-exec-1.2.jar > [ERROR] urls[11] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/reporting/maven-repor > ting-api/3.0/maven-reporting-api-3.0.jar > [ERROR] urls[12] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/shared/maven-shared-u > tils/0.3/maven-shared-utils-0.3.jar > [ERROR] urls[13] = > file:/C:/Users/david.hoffer/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/ > jsr305-2.0.1.jar > [ERROR] urls[14] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/aether/aether-util/1.7/ae > ther-util-1.7.jar > [ERROR] urls[15] = > file:/C:/Users/david.hoffer/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M > 2/aether-util-0.9.0.M2.jar > [ERROR] urls[16] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4 > .2/sisu-inject-bean-1.4.2.jar > [ERROR] urls[17] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sis > u-guice-2.1.7-noaop.jar > [ERROR] urls[18] = > file:/C:/Users/david.hoffer/.m2/repository/org/codehaus/plexus/plexus-interpolati > on/1.14/plexus-interpolation-1.14.jar > [ERROR] urls[19] = > file:/C:/Users/david.hoffer/.m2/repository/org/codehaus/plexus/plexus-component-a > nnotations/1.5.5/plexus-component-annotations-1.5.5.jar > [ERROR] urls[20] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/plexus/plexus-sec-dispatc > her/1.3/plexus-sec-dispatcher-1.3.jar > [ERROR] urls[21] = > file:/C:/Users/david.hoffer/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/ > plexus-cipher-1.4.jar > [ERROR] urls[22] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/maven-archiver/2.4.2/ > maven-archiver-2.4.2.jar > [ERROR] urls[23] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/doxia/doxia-sink-api/ > 1.6/doxia-sink-api-1.6.jar > [ERROR] urls[24] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/doxia/doxia-logging-a > pi/1.6/doxia-logging-api-1.6.jar > [ERROR] urls[25] = > file:/C:/Users/david.hoffer/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar > [ERROR] urls[26] = > file:/C:/Users/david.hoffer/.m2/repository/org/apache/maven/doxia/d