pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project>
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <relativePath>../pom.xml</relativePath>
  6. <groupId>be.uantwerpen.ansymo.semanticadaptation</groupId>
  7. <artifactId>parent</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>be.uantwerpen.ansymo.semanticadaptation</artifactId>
  11. <packaging>eclipse-plugin</packaging>
  12. <name>be.uantwerpen.ansymo.semanticadaptation Language Core</name>
  13. <properties>
  14. <main.basedir>${project.parent.basedir}</main.basedir>
  15. </properties>
  16. <build>
  17. <plugins>
  18. <plugin>
  19. <groupId>org.apache.maven.plugins</groupId>
  20. <artifactId>maven-clean-plugin</artifactId>
  21. <executions>
  22. <execution>
  23. <id>gen-clean</id>
  24. <phase>clean</phase>
  25. <!-- Clean up generated files in all projects -->
  26. <configuration>
  27. <filesets combine.children="append">
  28. <fileset>
  29. <directory>${project.basedir}/src-gen/</directory>
  30. </fileset>
  31. <fileset>
  32. <directory>${project.basedir}/model/generated/</directory>
  33. </fileset>
  34. <fileset>
  35. <directory>${project.basedir}/../${project.artifactId}.ui/src-gen/</directory>
  36. </fileset>
  37. <fileset>
  38. <directory>${project.basedir}/../${project.artifactId}.tests/src-gen/</directory>
  39. </fileset>
  40. </filesets>
  41. </configuration>
  42. </execution>
  43. </executions>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.codehaus.mojo</groupId>
  47. <artifactId>exec-maven-plugin</artifactId>
  48. <version>1.2.1</version>
  49. <executions>
  50. <execution>
  51. <phase>generate-sources</phase>
  52. <goals>
  53. <goal>java</goal>
  54. </goals>
  55. </execution>
  56. </executions>
  57. <configuration>
  58. <includeProjectDependencies>false</includeProjectDependencies>
  59. <includePluginDependencies>true</includePluginDependencies>
  60. <mainClass>org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</mainClass>
  61. <arguments>
  62. <argument>file://${project.basedir}/src/be/uantwerpen/ansymo/semanticadaptation/GenerateSemanticAdaptation.mwe2</argument>
  63. <argument>
  64. -p
  65. </argument>
  66. <argument>
  67. runtimeProject=${main.basedir}
  68. </argument>
  69. </arguments>
  70. </configuration>
  71. <dependencies>
  72. <!--
  73. this plugin is deprecated and does not exists of 2.11 so I re-created it's behaviour according to https://eclipse.org/Xtext/releasenotes.html
  74. dependency>
  75. <groupId>org.eclipse.xtext</groupId>
  76. <artifactId>org.eclipse.xtext.xtext</artifactId>
  77. <version>${xtext.version}</version>
  78. </dependency
  79. -->
  80. <dependency>
  81. <groupId>org.eclipse.xtext</groupId>
  82. <artifactId>org.eclipse.xtext.generator</artifactId>
  83. <version>${xtext.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.eclipse.xtext</groupId>
  87. <artifactId>org.eclipse.xtext.ecore</artifactId>
  88. <version>${xtext.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.eclipse.xtext</groupId>
  92. <artifactId>org.eclipse.xtext.util</artifactId>
  93. <version>${xtext.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.eclipse.xtext</groupId>
  97. <artifactId>org.eclipse.xtext</artifactId>
  98. <version>${xtext.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.eclipse.xtext</groupId>
  102. <artifactId>org.eclipse.xtext.common.types</artifactId>
  103. <version>${xtext.version}</version>
  104. </dependency>
  105. <!-- https://mvnrepository.com/artifact/org.eclipse.emf/org.eclipse.emf.mwe2.launch -->
  106. <dependency>
  107. <groupId>org.eclipse.emf</groupId>
  108. <artifactId>org.eclipse.emf.mwe2.launch</artifactId>
  109. <version>2.9.0.201605261059</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.eclipse.xtext</groupId>
  113. <artifactId>org.eclipse.xtext.xbase</artifactId>
  114. <version>${xtext.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.eclipse.equinox</groupId>
  118. <artifactId>common</artifactId>
  119. <version>3.6.200-v20130402-1505</version>
  120. </dependency>
  121. </dependencies>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.eclipse.xtend</groupId>
  125. <artifactId>xtend-maven-plugin</artifactId>
  126. </plugin>
  127. </plugins>
  128. <pluginManagement>
  129. <plugins>
  130. <!--This plugin's configuration is used to store Eclipse m2e settings
  131. only. It has no influence on the Maven build itself. -->
  132. <plugin>
  133. <groupId>org.eclipse.m2e</groupId>
  134. <artifactId>lifecycle-mapping</artifactId>
  135. <version>1.0.0</version>
  136. <configuration>
  137. <lifecycleMappingMetadata>
  138. <pluginExecutions>
  139. <pluginExecution>
  140. <pluginExecutionFilter>
  141. <groupId>
  142. org.codehaus.mojo
  143. </groupId>
  144. <artifactId>
  145. exec-maven-plugin
  146. </artifactId>
  147. <versionRange>
  148. [1.2.1,)
  149. </versionRange>
  150. <goals>
  151. <goal>java</goal>
  152. </goals>
  153. </pluginExecutionFilter>
  154. <action>
  155. <ignore></ignore>
  156. </action>
  157. </pluginExecution>
  158. </pluginExecutions>
  159. </lifecycleMappingMetadata>
  160. </configuration>
  161. </plugin>
  162. </plugins>
  163. </pluginManagement>
  164. </build>
  165. </project>