accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-4433) Checkstyle fails with Maven 3.3.9
Date Wed, 31 Aug 2016 21:30:20 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-4433.
----------------------------------
    Resolution: Won't Fix

> Checkstyle fails with Maven 3.3.9
> ---------------------------------
>
>                 Key: ACCUMULO-4433
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4433
>             Project: Accumulo
>          Issue Type: Bug
>          Components: build
>            Reporter: Josh Elser
>            Assignee: Christopher Tubbs
>
> Triggered by a {{mvn verify}} on 1.7
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:check
(check-style) on project accumulo-project: Execution check-style of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.14:check
failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-checkstyle-plugin:2.14:check:
java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-checkstyle-plugin:2.14
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/Users/jelser/.m2/repository/org/apache/maven/plugins/maven-checkstyle-plugin/2.14/maven-checkstyle-plugin-2.14.jar
> [ERROR] urls[1] = file:/Users/jelser/.m2/repository/com/puppycrawl/tools/checkstyle/6.3/checkstyle-6.3.jar
> [ERROR] urls[2] = file:/Users/jelser/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
> [ERROR] urls[3] = file:/Users/jelser/.m2/repository/org/antlr/antlr4-runtime/4.3/antlr4-runtime-4.3.jar
> [ERROR] urls[4] = file:/Users/jelser/.m2/repository/org/abego/treelayout/org.abego.treelayout.core/1.0.1/org.abego.treelayout.core-1.0.1.jar
> [ERROR] urls[5] = file:/Users/jelser/.m2/repository/org/antlr/antlr4-annotations/4.3/antlr4-annotations-4.3.jar
> [ERROR] urls[6] = file:/Users/jelser/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar
> [ERROR] urls[7] = file:/Users/jelser/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
> [ERROR] urls[8] = file:/Users/jelser/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
> [ERROR] urls[9] = file:/Users/jelser/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar
> [ERROR] urls[10] = file:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/../lib/tools.jar
> [ERROR] urls[11] = file:/Users/jelser/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
> [ERROR] urls[12] = file:/Users/jelser/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
> [ERROR] urls[13] = file:/Users/jelser/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [ERROR] urls[14] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> [ERROR] urls[15] = file:/Users/jelser/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> [ERROR] urls[16] = file:/Users/jelser/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[17] = file:/Users/jelser/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[18] = file:/Users/jelser/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
> [ERROR] urls[19] = file:/Users/jelser/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.3/maven-reporting-impl-2.3.jar
> [ERROR] urls[20] = file:/Users/jelser/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.6/maven-shared-utils-0.6.jar
> [ERROR] urls[21] = file:/Users/jelser/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
> [ERROR] urls[22] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-core/1.2/doxia-core-1.2.jar
> [ERROR] urls[23] = file:/Users/jelser/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
> [ERROR] urls[24] = file:/Users/jelser/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
> [ERROR] urls[25] = file:/Users/jelser/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
> [ERROR] urls[26] = file:/Users/jelser/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
> [ERROR] urls[27] = file:/Users/jelser/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
> [ERROR] urls[28] = file:/Users/jelser/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
> [ERROR] urls[29] = file:/Users/jelser/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
> [ERROR] urls[30] = file:/Users/jelser/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
> [ERROR] urls[31] = file:/Users/jelser/.m2/repository/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar
> [ERROR] urls[32] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.4/doxia-sink-api-1.4.jar
> [ERROR] urls[33] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.4/doxia-logging-api-1.4.jar
> [ERROR] urls[34] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.4/doxia-decoration-model-1.4.jar
> [ERROR] urls[35] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.4/doxia-site-renderer-1.4.jar
> [ERROR] urls[36] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.4/doxia-module-xhtml-1.4.jar
> [ERROR] urls[37] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.4/doxia-module-fml-1.4.jar
> [ERROR] urls[38] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
> [ERROR] urls[39] = file:/Users/jelser/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
> [ERROR] urls[40] = file:/Users/jelser/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
> [ERROR] urls[41] = file:/Users/jelser/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
> [ERROR] urls[42] = file:/Users/jelser/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
> [ERROR] urls[43] = file:/Users/jelser/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
> [ERROR] urls[44] = file:/Users/jelser/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
> [ERROR] urls[45] = file:/Users/jelser/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
> [ERROR] urls[46] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-integration-tools/1.6/doxia-integration-tools-1.6.jar
> [ERROR] urls[47] = file:/Users/jelser/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
> [ERROR] urls[48] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[49] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-resources/1.0-alpha-7/plexus-resources-1.0-alpha-7.jar
> [ERROR] urls[50] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> [ERROR] urls[51] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> [ERROR] urls[52] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
> [ERROR] urls[53] = file:/Users/jelser/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
> [ERROR] urls[54] = file:/Users/jelser/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
> [ERROR] urls[55] = file:/Users/jelser/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
> [ERROR] urls[56] = file:/Users/jelser/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[project>org.apache.accumulo:accumulo-project:1.7.0-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> {noformat}
> I was thinking that maybe it's just an older checkstyle plugin that needs to be bumped
(2.14 to 2.17), but that nets a different error
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
(check-style) on project accumulo-project: Execution check-style of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check:
java.lang.NoSuchMethodError: com.puppycrawl.tools.checkstyle.Checker.setClassLoader(Ljava/lang/ClassLoader;)V
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-checkstyle-plugin:2.17
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/Users/jelser/.m2/repository/org/apache/maven/plugins/maven-checkstyle-plugin/2.17/maven-checkstyle-plugin-2.17.jar
> [ERROR] urls[1] = file:/Users/jelser/.m2/repository/com/puppycrawl/tools/checkstyle/6.3/checkstyle-6.3.jar
> [ERROR] urls[2] = file:/Users/jelser/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
> [ERROR] urls[3] = file:/Users/jelser/.m2/repository/org/antlr/antlr4-runtime/4.3/antlr4-runtime-4.3.jar
> [ERROR] urls[4] = file:/Users/jelser/.m2/repository/org/abego/treelayout/org.abego.treelayout.core/1.0.1/org.abego.treelayout.core-1.0.1.jar
> [ERROR] urls[5] = file:/Users/jelser/.m2/repository/org/antlr/antlr4-annotations/4.3/antlr4-annotations-4.3.jar
>  555       <url>http://repo.hortonworks.com/content/repositories/releases</url>
> [ERROR] urls[6] = file:/Users/jelser/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar
> [ERROR] urls[7] = file:/Users/jelser/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
> [ERROR] urls[8] = file:/Users/jelser/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
> [ERROR] urls[9] = file:/Users/jelser/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar
> [ERROR] urls[10] = file:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/../lib/tools.jar
> [ERROR] urls[11] = file:/Users/jelser/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
> [ERROR] urls[12] = file:/Users/jelser/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
> [ERROR] urls[13] = file:/Users/jelser/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [ERROR] urls[14] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> [ERROR] urls[15] = file:/Users/jelser/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> [ERROR] urls[16] = file:/Users/jelser/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[17] = file:/Users/jelser/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[18] = file:/Users/jelser/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
> [ERROR] urls[19] = file:/Users/jelser/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.3/maven-reporting-impl-2.3.jar
> [ERROR] urls[20] = file:/Users/jelser/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.6/maven-shared-utils-0.6.jar
> [ERROR] urls[21] = file:/Users/jelser/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
> [ERROR] urls[22] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-core/1.2/doxia-core-1.2.jar
> [ERROR] urls[23] = file:/Users/jelser/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
> [ERROR] urls[24] = file:/Users/jelser/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
> [ERROR] urls[25] = file:/Users/jelser/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
> [ERROR] urls[26] = file:/Users/jelser/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
> [ERROR] urls[27] = file:/Users/jelser/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
> [ERROR] urls[28] = file:/Users/jelser/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
> [ERROR] urls[29] = file:/Users/jelser/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
> [ERROR] urls[30] = file:/Users/jelser/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
> [ERROR] urls[31] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.4/doxia-sink-api-1.4.jar
> [ERROR] urls[32] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.4/doxia-logging-api-1.4.jar
> [ERROR] urls[33] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.4/doxia-decoration-model-1.4.jar
> [ERROR] urls[34] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.4/doxia-site-renderer-1.4.jar
> [ERROR] urls[35] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.4/doxia-module-xhtml-1.4.jar
> [ERROR] urls[36] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.4/doxia-module-fml-1.4.jar
> [ERROR] urls[37] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
> [ERROR] urls[38] = file:/Users/jelser/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
> [ERROR] urls[39] = file:/Users/jelser/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
> [ERROR] urls[40] = file:/Users/jelser/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
> [ERROR] urls[41] = file:/Users/jelser/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
> [ERROR] urls[42] = file:/Users/jelser/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
> [ERROR] urls[43] = file:/Users/jelser/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
> [ERROR] urls[44] = file:/Users/jelser/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
> [ERROR] urls[45] = file:/Users/jelser/.m2/repository/org/apache/maven/doxia/doxia-integration-tools/1.6/doxia-integration-tools-1.6.jar
> [ERROR] urls[46] = file:/Users/jelser/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
> [ERROR] urls[47] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[48] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-resources/1.0.1/plexus-resources-1.0.1.jar
> [ERROR] urls[49] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.20/plexus-utils-3.0.20.jar
> [ERROR] urls[50] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
> [ERROR] urls[51] = file:/Users/jelser/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
> [ERROR] urls[52] = file:/Users/jelser/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
> [ERROR] urls[53] = file:/Users/jelser/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
> [ERROR] urls[54] = file:/Users/jelser/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
> [ERROR] urls[55] = file:/Users/jelser/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[project>org.apache.accumulo:accumulo-project:1.7.0-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message