j'utilise le plugin "maven-ejb-plugin" pour generer mes xxx.jar et xxx-client.jar.
Il me les cree bien mais je voudrais qu'il me depose ces jars dans un repertoire autre que sur ${basedir}.voici mon pom.xml pour mieux comprendre
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 <build> <sourceDirectory>${basedir}</sourceDirectory> <outputDirectory> ..\dra.proto/out/${artifactId}/generated </outputDirectory> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xdoclet-maven-plugin</artifactId> .... </plugin> ... <plugin> <artifactId>maven-ejb-plugin</artifactId> <configuration> <generateClient>true</generateClient> <jarName>${artifactId}</jarName> </configuration> </plugin> </build>
Partager