Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Le Fevre - CEA2015-01-20 16:34:55 +0000
committerFrancois Le Fevre - CEA2015-01-26 17:03:26 +0000
commit8f5dfc0ee1de84ca6d5ae394f910f724ab8e03cc (patch)
tree63ca617b50f589eac1618e468880b6973c8dde47 /plugins/developer/org.eclipse.papyrus.def
parent8339437c84e8c4793d27e5f1712a1dd81c8c58cf (diff)
downloadorg.eclipse.papyrus-8f5dfc0ee1de84ca6d5ae394f910f724ab8e03cc.tar.gz
org.eclipse.papyrus-8f5dfc0ee1de84ca6d5ae394f910f724ab8e03cc.tar.xz
org.eclipse.papyrus-8f5dfc0ee1de84ca6d5ae394f910f724ab8e03cc.zip
Bug 457956 : Applying the xtend maven plugin to all eclipse plugins
Focusing on org.eclipse.papyrus.cpp.codegen and all others involved plugins, adding a developer profile, removing the xtend-gen content and not the folder itself,ignoring its content for git. Change-Id: Ibc5694ac25dc150c5413728a09d5ba7970435cbe Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.def')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/pom.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/pom.xml b/plugins/developer/org.eclipse.papyrus.def/pom.xml
index c3b832b0428..94dfd9121f6 100644
--- a/plugins/developer/org.eclipse.papyrus.def/pom.xml
+++ b/plugins/developer/org.eclipse.papyrus.def/pom.xml
@@ -11,4 +11,43 @@
<groupId>org.eclipse.papyrus</groupId>
<version>1.1.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>xtend-gen</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.xtend</groupId>
+ <artifactId>xtend-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <outputDirectory>xtend-gen</outputDirectory>
+ <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project> \ No newline at end of file

Back to the top