diff options
Diffstat (limited to 'tests/junit/plugins/uml/diagram/pom.xml')
-rw-r--r-- | tests/junit/plugins/uml/diagram/pom.xml | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/tests/junit/plugins/uml/diagram/pom.xml b/tests/junit/plugins/uml/diagram/pom.xml index 768fa237ac6..47285424ef4 100644 --- a/tests/junit/plugins/uml/diagram/pom.xml +++ b/tests/junit/plugins/uml/diagram/pom.xml @@ -34,100 +34,4 @@ <module>org.eclipse.papyrus.uml.diagram.wizards.tests</module> </modules> - <profiles> - <!-- A build profile for generation of diagram tests from the GMFGen model. --> - <profile> - <id>generate-tests</id> - <activation> - <!-- Activate this profile if we detect the folder in which tests should be generated. --> - <file> - <exists>test-gen/.gitignore</exists> - </file> - </activation> - <build> - <plugins> - <!-- Empty out the xtend-gen and test-gen folders in the clean phase. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-clean-plugin</artifactId> - <configuration> - <filesets> - <fileset> - <directory>xtend-gen</directory> - <excludes> - <exclude>**/.gitignore</exclude> - </excludes> - </fileset> - <fileset> - <directory>test-gen</directory> - <excludes> - <exclude>**/.gitignore</exclude> - </excludes> - </fileset> - </filesets> - </configuration> - </plugin> - <!-- Generate Xtend sources before the compilation phase. --> - <plugin> - <groupId>org.eclipse.xtend</groupId> - <artifactId>xtend-maven-plugin</artifactId> - <executions> - <execution> - <id>generate-tests-generator</id> - <phase>generate-sources</phase> - <goals> - <goal>compile</goal> - </goals> - <configuration> - <outputDirectory>xtend-gen</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- Generate test sources after the compilation phase (because we need the generator to be compiled). --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> - <execution> - <id>generate-diagram-tests</id> - <phase>generate-test-sources</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> - <classpathScope>compile</classpathScope> - <executable>java</executable> - <arguments> - <argument>-cp</argument> - <classpath/> - <argument>${generator.workflow.main.class}</argument> - </arguments> - </configuration> - </execution> - </executions> - </plugin> - - <!-- And compile them in the test-compile phase. --> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-compiler-plugin</artifactId> - <executions> - <execution> - <id>compile-generated-diagram-tests</id> - <phase>test-compile</phase> - <goals> - <goal>compile</goal> - </goals> - <configuration> - <useProjectSettings>true</useProjectSettings> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> </project> |