Reputation: 1302
Is there a way to build with maven an EJB project that doesn't contain deployment descriptor?
Upvotes: 19
Views: 15590
Reputation: 88707
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<ejbVersion>3.0</ejbVersion>
</configuration>
</plugin>
</plugins>
</build>
You need to tell Maven to use EJB 3.0.
Upvotes: 45