2 Replies Latest reply on Jan 7, 2016 3:28 AM by Sony Joseph

    Unable to package ejb-jar.xml using maven-ejb-pluggin v 2.5.1

    Sony Joseph Novice

      Hello

       

      I want to package my ejb-jar.xml. so I mentioned the POM.xml pluggin as :

      <plugin>

               <groupId>org.apache.maven.plugins</groupId>

               <artifactId>maven-ejb-plugin</artifactId>

               <version>2.5.1</version>

               <!-- <version>3.0</version> -->

               <configuration>

                <ejbVersion>3.0</ejbVersion>

                 <ejbJar>/META-INF/ejb-jar.xml</ejbJar>

            <archive>

                 <manifest>

                   <addClasspath>true</addClasspath>

                 </manifest>

                </archive>

               </configuration>

            </plugin>

       

      Still it is not packaging the ejb-jar.xml into the jar file which is created. Any help will be appreciated.

      I use: JBoss EAP 6.3, JBDS 8.1