[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] tycho lifecycle
|
Dear all, I am trying to understand tycho lifecycle management. I would like to use a plugin before target-platform-configuration, during the validate maven phase but it seems that tycho lifecycle mapping do not able me to add plugins before it ows analysis. The scenario is the following: I want to have sometimes a category.xml that includes feature source and sometimes not. I have included at the end of email, a snipped of the pom where I want to call maven-antrun-plugin in the validate phase to copy/replace a specific category.xml file. But I did not succeed… Could you give me any advice on how do it? Thanks <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <delete file="category.xml" /> <copy file="src/main/resources/category.withoutsource.xml" tofile="category.xml" /> </tasks> </configuration> </execution> </executions> </plugin> 

| Francois LE FEVRE Research Engineer Commission for Atomic Energy and Alternative Energies (CEA) Model-driven Engineering for Embedded Systems Laboratory (LISE) Projet: Papyrus: https://www.eclipse.org/papyrus/ 
Commissariat à l’énergie atomique et aux énergies alternatives (CEA) Paris-Saclay Campus - Nano-INNOV | Bât. 862-PC1087 | F-91191 Gif-sur-Yvette Cedex T. +33 (0)1 69 08 49 86 | F. +33 (0)1 69 08 83 95 | francois.le-fevre@xxxxxx | Blog: http://biocamp.blogspot.fr/ |
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature