Code xml : 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
28
<build>
		<finalName>${project.artifactId}</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<id>repack</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<target>
								<unzip src="${..:ServiceWeb:ejb}"
									dest="${project.build.directory}/tmpSW" />
								<delete file="${project.build.directory}/tmpSW/.../statistiques/ejb/IStatistiquesPersistence.class"/>
								<delete file="${project.build.directory}/tmpSW/.../statistiques/ejb/IStatistiques.class"/>
								<zip basedir="${project.build.directory}/tmpSW"
									destfile="${project.build.directory}/Services_ZONE/ServiceWeb-${project.version}.jar" />
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
           <plugins>
<build>

alors quand je regarde dans le répository de m2 l'artifact est bien contruit avec les fichiers en questions bien effacés.
Donc je suis content et quand je déploie avec eclipse et je dezip le ear. La les fichiers sont encore la.
Ma question est ce que je le fais dans la bonne phrase . Ps j ai essayé d'autre et ca ne fonctionne pas non plus