[ http://jira.codehaus.org/browse/MJAR-20?page=comments#action_68048 ]
Mike Perham commented on MJAR-20: --------------------------------- I don't see how MJAR-27 solves Carlos's usecase. The parent POM can mandate that test-jars are created for all child projects. If one of those child projects has no src/test/java code but has src/main/java code, it will get an empty test-jar even though it is a java module. > Don't create empty jars > ----------------------- > > Key: MJAR-20 > URL: http://jira.codehaus.org/browse/MJAR-20 > Project: Maven 2.x Jar Plugin > Type: Improvement > Versions: 2.0 > Reporter: Carlos Sanchez > Priority: Minor > Fix For: 2.1 > > > 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