jira-importer commented on issue #142:
URL: 
https://github.com/apache/maven-ear-plugin/issues/142#issuecomment-2955258439

   **[Stephane 
Nicoll](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=snicoll)** 
commented
   
   Yeah, I understand it's confusing. Ear plugin 2.1 brings compatiblity with 
the PAR and EJB3 artifacts. To customize them, you now need to configure it as 
an ejb3Module. (In 2.1 the module variable **is** Ejb3Module).
   
   Make sure you are using EAR plugin 2.1 and update the EAR pom as follows:
   
   \<build>
   \<plugins>
   \<plugin>
   \<groupId>org.apache.maven.plugins\</groupId>
   \<artifactId>maven-ear-plugin\</artifactId>
   \<configuration>
   \<modules>
   \<ejb3Module>
   \<groupId>test\</groupId>
   \<artifactId>test-ejb\</artifactId>
   \<bundleFileName>name-without-version.ejb3\</bundleFileName>
   \</ejb3Module>
   \</modules>
   \</configuration>
   \</plugin>
   \</plugins>
   \</build>
   notice  the ejbModule -> ejb3Module
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to