Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7.3
-
Labels:None
-
Number of attachments :
Description
When there are no tests, or maven.test.skip=true, then the build classes and resources are not included in the ejb jar file.
As a workaround, you can set java:compile and java:jar-resources as preGoals for ejb:ejb in your maven.xml:
<preGoal name="ejb:init">
<j:if test="$
">
<attainGoal name="java:compile"/>
<attainGoal name="java:jar-resources"/>
</j:if>
</preGoal>
Patch to fix bug.