Belai Beshah created MASSEMBLY-664: -------------------------------------- Summary: Using pom artifact as a dependency results in build failures Key: MASSEMBLY-664 URL: https://jira.codehaus.org/browse/MASSEMBLY-664 Project: Maven Assembly Plugin Issue Type: Bug Affects Versions: 2.4 Environment: Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 06:51:28-0700) Maven home: C:\gnu\maven Java version: 1.6.0_37, vendor: Sun Microsystems Inc. Java home: C:\Program Files (x86)\Java\jdk1.6.0_37\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" Reporter: Belai Beshah Attachments: pom.xml
A project with an artifact of <type>pom</type> dependency fails with the following error: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project zip-error-sample: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: For artifact {null:null:null:jar}: The groupId cannot be empty. -> [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/PluginExecutionException {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira