[ http://jira.codehaus.org/browse/MAVEN-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89055 ]
Lukas Theussl commented on MAVEN-1834: -------------------------------------- What command are you running, ie what are you trying to do? A test project to reproduce the issue would also help. > Java sources in War file not build unless at least 1 unit test is present > ------------------------------------------------------------------------- > > Key: MAVEN-1834 > URL: http://jira.codehaus.org/browse/MAVEN-1834 > Project: Maven 1.x > Issue Type: Bug > Affects Versions: 1.1-beta-3 > Environment: Win2000 > Reporter: Axel Fontaine > > Within a multiproject (have not tested standalone), when a war subproject > contains java code and/or resources, but no test cases, the java code does > not get compiled/the resources do not get copied and therefore not packaged. > Works fine in maven 1.0.2 > Workaround: Adding a dummy unit test -- 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