Bonjour
je chercher à rajouter une tache maven qui sera lancé uniquement par cruise controle (cad pas en dev)
J'ai lu qqpart que pour ca il fallait créer un pom.xml au même niveau que le config.xml du projet (si bien que j'aurais 2 fichiers pom.xml, un issue de mon cvs, l'autre au même niveau que le config.xml du projet)
or ce qui ne marche pas, c'est que la tache du second pom n'est jamais lancée.
faut il ajouter qqchose au config.xml pour que le seconf pom soit lancé quand le build est ok ?
mon pom.xml placé au même niveau que le config.xml
merci de votre aide
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
28
29
30
31
32
33
34
35 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>aaa</groupId> <artifactId>bbb</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>ccc</name> <url>http://maven.apache.org</url> <build> <finalName>ddd</finalName> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.1-beta-1</version> <executions> <execution> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <executable> ~/test.sh </executable> <commandlineArgs> "CECI EST UN TEST" </commandlineArgs> </configuration> </plugin> </plugins> </build> </project>
Partager