giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naresh Bafna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-1128) Giraph does not build because of maven-dependency-plugin
Date Thu, 12 Jan 2017 03:36:16 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15820056#comment-15820056
] 

Naresh Bafna commented on GIRAPH-1128:
--------------------------------------

Has this been committed?

> Giraph does not build because of maven-dependency-plugin
> --------------------------------------------------------
>
>                 Key: GIRAPH-1128
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1128
>             Project: Giraph
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: java version "1.8.0_101"
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T22:59:23+05:30)
>            Reporter: Naresh Bafna
>
> "mvn package" fails with the following error message. Updating the maven-dependency-plugin
version to 2.10 fixes this. 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-only
(default) on project giraph-core: Execution default of goal org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-only
failed: A required class was missing while executing org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-only:
org/objectweb/asm/ClassVisitor
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-dependency-plugin:2.8
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.jar
> [ERROR] urls[1] = file:/Users/naresh.bafna/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
> [ERROR] urls[2] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> [ERROR] urls[3] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
> [ERROR] urls[4] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.jar
> [ERROR] urls[5] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
> [ERROR] urls[6] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar
> [ERROR] urls[7] = file:/Users/naresh.bafna/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
> [ERROR] urls[8] = file:/Users/naresh.bafna/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
> [ERROR] urls[9] = file:/Users/naresh.bafna/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
> [ERROR] urls[10] = file:/Users/naresh.bafna/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
> [ERROR] urls[11] = file:/Users/naresh.bafna/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> [ERROR] urls[12] = file:/Users/naresh.bafna/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
> [ERROR] urls[13] = file:/Users/naresh.bafna/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
> [ERROR] urls[14] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
> [ERROR] urls[15] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
> [ERROR] urls[16] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
> [ERROR] urls[17] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
> [ERROR] urls[18] = file:/Users/naresh.bafna/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
> [ERROR] urls[19] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
> [ERROR] urls[20] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
> [ERROR] urls[21] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
> [ERROR] urls[22] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
> [ERROR] urls[23] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
> [ERROR] urls[24] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.jar
> [ERROR] urls[25] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.jar
> [ERROR] urls[26] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
> [ERROR] urls[27] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
> [ERROR] urls[28] = file:/Users/naresh.bafna/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [ERROR] urls[29] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar
> [ERROR] urls[30] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.jar
> [ERROR] urls[31] = file:/Users/naresh.bafna/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar
> [ERROR] urls[32] = file:/Users/naresh.bafna/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[33] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
> [ERROR] urls[34] = file:/Users/naresh.bafna/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
> [ERROR] urls[35] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
> [ERROR] urls[36] = file:/Users/naresh.bafna/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
> [ERROR] urls[37] = file:/Users/naresh.bafna/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
> [ERROR] urls[38] = file:/Users/naresh.bafna/.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[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: org.objectweb.asm.ClassVisitor
> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :giraph-core
> I did not find a way to upload the patch so just adding it here
> diff --git a/pom.xml b/pom.xml
> index 6148501..017fd1f 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -389,7 +389,7 @@ under the License.
>          <plugin>
>            <groupId>org.apache.maven.plugins</groupId>
>            <artifactId>maven-dependency-plugin</artifactId>
> -          <version>2.8</version>
> +          <version>2.10</version>
>            <configuration>
>              <skip>${giraph.maven.dependency.plugin.skip}</skip>
>              <failOnWarning>true</failOnWarning>



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

Mime
View raw message