Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 is invalid

Highlighted

The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 is invalid

Explorer

WARNING] [WARNING] Some problems were encountered while building the effective model for org.notmysock.tpcds:tpcds-gen:jar:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 47, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 54, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building tpcds-gen 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.276s [INFO] Finished at: Wed Oct 26 21:19:06 UTC 2016 [INFO] Final Memory: 6M/120M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.5 (/root/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.jar): error in opening zip file -> [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/PluginDescriptorParsingException make: *** [target/tpcds-gen-1.0-SNAPSHOT.jar] Error 1

1 REPLY 1
Highlighted

Re: The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.5 is invalid

Mentor

Add version tag to org.apache.maven.plugins:maven-compiler-plugin right underneath the declaration.

Don't have an account?
Coming from Hortonworks? Activate your account here