Bonjour,
J'essai d'utiliser xdoclet avec maven2, mais je recontre le pb suivant :
Dans mon pom j'ai la chose suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet': Unable to find the mojo 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet' in the plugin 'org.codehaus.mojo:xdoclet-maven-plugin' org/apache/tools/ant/PropertyHelper
Auriez-vous une idée pour intégrer xdoclet ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xdoclet-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>xdoclet</goal> </goals> <configuration> <tasks> <ejbdoclet destDir="${project.build.directory}/generated-sources/xdoclet" ejbSpec="2.1" verbose="true" force="true"> <fileset dir="${project.build.sourceDirectory}"> <include name="**/*Bean.java"></include> <exclude name="**/AbstractSessionBean.java"></exclude> </fileset> <homeinterface destdir="${project.build.directory}/generated-sources/xdoclet"/> <remoteinterface destdir="${project.build.directory}/generated-sources/xdoclet"/> <localhomeinterface destdir="${project.build.directory}/generated-sources/xdoclet"/> <localinterface destdir="${project.build.directory}/generated-sources/xdoclet"/> <deploymentdescriptor destDir="${project.build.outputDirectory}/META-INF"/> </ejbdoclet> </tasks> </configuration> </execution> </executions> </plugin>
Merci
Partager