diff options
Diffstat (limited to 'extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/pom.xml')
-rw-r--r-- | extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/pom.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/pom.xml b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/pom.xml index 30b7855832f..cfaa94bfb04 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/pom.xml +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/pom.xml @@ -11,4 +11,46 @@ <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> + <excludes> + <exclude>.gitignore</exclude> + </excludes> + </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 |