[ http://jira.codehaus.org/browse/MJAR-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188498#action_188498 ]
Paul Gier commented on MJAR-20: ------------------------------- Rodrigo, I took a look at the patch, but the problem I see is what happens when you get to the install phase? If you try to run "install" with no jar file available the build will crash, this might need to be addressed in the maven install plugin. The other problem would be deploying to the repository. If you deploy a pom with packaging "jar" then it might cause problems in the dependency resolution if there is no jar there. > Don't create empty jars > ----------------------- > > Key: MJAR-20 > URL: http://jira.codehaus.org/browse/MJAR-20 > Project: Maven 2.x Jar Plugin > Issue Type: Improvement > Affects Versions: 2.0 > Reporter: Carlos Sanchez > Priority: Minor > Attachments: MJAR-20-02.patch, MJAR-20.patch > > > Creating empty jars is confusing, it should just print a warning > use case: > parent pom attaching test jar, some subprojects may not have tests, why > create jars for them? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira