diff options
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf.ui/pom.xml')
-rw-r--r-- | plugins/uml/alf/org.eclipse.papyrus.uml.alf.ui/pom.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf.ui/pom.xml b/plugins/uml/alf/org.eclipse.papyrus.uml.alf.ui/pom.xml index ae1004d6611..f292c5fd1c1 100644 --- a/plugins/uml/alf/org.eclipse.papyrus.uml.alf.ui/pom.xml +++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf.ui/pom.xml @@ -11,4 +11,40 @@ <groupId>org.eclipse.papyrus</groupId> <version>1.1.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> + <build> + <plugins> + <!-- Empty out the xtend-gen folder in the clean phase. --> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>2.4.1</version> + <configuration> + <filesets> + <fileset> + <directory>xtend-gen</directory> + <excludes> + <exclude>**/.gitignore</exclude> + </excludes> + </fileset> + </filesets> + </configuration> + </plugin> + <!-- Generate Xtend sources in the compilation phase. --> + <plugin> + <groupId>org.eclipse.xtend</groupId> + <artifactId>xtend-maven-plugin</artifactId> + <version>2.7.3</version> + <executions> + <execution> + <goals> + <goal>compile</goal> + <goal>testCompile</goal> + </goals> + <configuration> + <outputDirectory>xtend-gen</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project>
\ No newline at end of file |