<?xml version="1.0" encoding="UTF-8"?>
<project>
<parent>
<artifactId>MONARTIFACTPARENT</artifactId>
<groupId>MONGROUPID</groupId>
<version>1.0-0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>MONARTIFACTEJB</artifactId>
<name>nom du module</name>
<version>1.0-0-SNAPSHOT</version>
<packaging>ejb</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<generateClient>true</generateClient>
</configuration>
</plugin>
<plugin>
<artifactId>xdoclet-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution>
<id>xdoclet3</id>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<tasks>
<ejbdoclet
destdir="${project.build.directory}/generated-sources/xdoclet"
verbose="true"
excludedTags="@author,@version" force="true"
mergedir="${project.build.directory}/merge-dir">
<fileset
dir="${project.build.sourceDirectory}" includes="**/*.java" />
<homeinterface />
<localinterface />
<localhomeinterface />
<remoteinterface />
<deploymentdescriptor
destdir="${project.build.outputDirectory}/META-INF" />
<jboss version="3.2"
xmlencoding="UTF-8"
destdir="${project.build.outputDirectory}/META-INF" />
</ejbdoclet>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Partager