|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>de.fraunhofer.ipa.ros1</groupId> |
| 7 | + <artifactId>de.fraunhofer.ipa.ros.parent</artifactId> |
| 8 | + <version>0.0.0</version> |
| 9 | + <relativePath>../de.fraunhofer.ipa.ros.parent/pom.xml</relativePath> |
| 10 | + </parent> |
| 11 | + <artifactId>de.fraunhofer.ipa.ros1.xtext</artifactId> |
| 12 | + <packaging>eclipse-plugin</packaging> |
| 13 | + |
| 14 | + <build> |
| 15 | + <plugins> |
| 16 | + <plugin> |
| 17 | + <groupId>org.codehaus.mojo</groupId> |
| 18 | + <artifactId>exec-maven-plugin</artifactId> |
| 19 | + <version>1.4.0</version> |
| 20 | + <executions> |
| 21 | + <execution> |
| 22 | + <id>mwe2Launcher</id> |
| 23 | + <phase>generate-sources</phase> |
| 24 | + <goals> |
| 25 | + <goal>java</goal> |
| 26 | + </goals> |
| 27 | + </execution> |
| 28 | + </executions> |
| 29 | + <configuration> |
| 30 | + <mainClass>org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</mainClass> |
| 31 | + <arguments> |
| 32 | + <argument>/${project.basedir}/src/de/fraunhofer/ipa/ros1/GenerateRos1.mwe2</argument> |
| 33 | + <argument>-p</argument> |
| 34 | + <argument>rootPath=/${project.basedir}/..</argument> |
| 35 | + </arguments> |
| 36 | + <classpathScope>compile</classpathScope> |
| 37 | + <includePluginDependencies>true</includePluginDependencies> |
| 38 | + <cleanupDaemonThreads>false</cleanupDaemonThreads><!-- see https://bugs.eclipse.org/bugs/show_bug.cgi?id=475098#c3 --> |
| 39 | + </configuration> |
| 40 | + <dependencies> |
| 41 | + <dependency> |
| 42 | + <groupId>org.eclipse.emf</groupId> |
| 43 | + <artifactId>org.eclipse.emf.mwe2.launch</artifactId> |
| 44 | + <version>2.9.1.201705291010</version> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>org.eclipse.xtext</groupId> |
| 48 | + <artifactId>org.eclipse.xtext.common.types</artifactId> |
| 49 | + <version>${xtextVersion}</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>org.eclipse.xtext</groupId> |
| 53 | + <artifactId>org.eclipse.xtext.xtext.generator</artifactId> |
| 54 | + <version>${xtextVersion}</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>org.eclipse.xtext</groupId> |
| 58 | + <artifactId>org.eclipse.xtext.xbase</artifactId> |
| 59 | + <version>${xtextVersion}</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.eclipse.xtext</groupId> |
| 63 | + <artifactId>xtext-antlr-generator</artifactId> |
| 64 | + <version>[2.1.1, 3)</version> |
| 65 | + </dependency> |
| 66 | + </dependencies> |
| 67 | + </plugin> |
| 68 | + <plugin> |
| 69 | + <groupId>org.eclipse.xtend</groupId> |
| 70 | + <artifactId>xtend-maven-plugin</artifactId> |
| 71 | + </plugin> |
| 72 | + |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-clean-plugin</artifactId> |
| 76 | + <configuration> |
| 77 | + <filesets combine.children="append"> |
| 78 | + <fileset> |
| 79 | + <directory>${basedir}/../de.fraunhofer.ipa.ros1.xtext/src-gen/</directory> |
| 80 | + <includes> |
| 81 | + <include>**/*</include> |
| 82 | + </includes> |
| 83 | + </fileset> |
| 84 | + <fileset> |
| 85 | + <directory>${basedir}/../de.fraunhofer.ipa.ros1.xtext.ide/src-gen/</directory> |
| 86 | + <includes> |
| 87 | + <include>**/*</include> |
| 88 | + </includes> |
| 89 | + </fileset> |
| 90 | + <fileset> |
| 91 | + <directory>${basedir}/../de.fraunhofer.ipa.ros1.xtext.ui/src-gen/</directory> |
| 92 | + <includes> |
| 93 | + <include>**/*</include> |
| 94 | + </includes> |
| 95 | + </fileset> |
| 96 | + <fileset> |
| 97 | + <directory>${basedir}/model/generated/</directory> |
| 98 | + </fileset> |
| 99 | + </filesets> |
| 100 | + </configuration> |
| 101 | + </plugin> |
| 102 | + </plugins> |
| 103 | + </build> |
| 104 | + |
| 105 | +</project> |
0 commit comments