pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.yakindu.sct</groupId>
  8. <artifactId>org.yakindu.sct.releng</artifactId>
  9. <version>3.0.0-SNAPSHOT</version>
  10. <relativePath>../../releng/org.yakindu.sct.releng/pom.xml</relativePath>
  11. </parent>
  12. <artifactId>org.yakindu.sct.model.sexec</artifactId>
  13. <groupId>org.yakindu.sct.plugins</groupId>
  14. <packaging>eclipse-plugin</packaging>
  15. <build>
  16. <resources>
  17. <resource>
  18. <directory>${project.build.directory}/xtext</directory>
  19. </resource>
  20. </resources>
  21. <plugins>
  22. <!-- Copy all Xtext related sources to seperate folder that is registered
  23. as resource folder -->
  24. <plugin>
  25. <artifactId>maven-resources-plugin</artifactId>
  26. <executions>
  27. <execution>
  28. <id>copy-resources</id>
  29. <phase>initialize</phase>
  30. <goals>
  31. <goal>copy-resources</goal>
  32. </goals>
  33. <configuration>
  34. <outputDirectory>${project.build.directory}/xtext</outputDirectory>
  35. <resources>
  36. <resource>
  37. <directory>src</directory>
  38. <includes>
  39. <include>**/*.xtext</include>
  40. <include>**/*.mwe2</include>
  41. </includes>
  42. </resource>
  43. </resources>
  44. </configuration>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.codehaus.mojo</groupId>
  50. <artifactId>build-helper-maven-plugin</artifactId>
  51. </plugin>
  52. <plugin>
  53. <artifactId>maven-clean-plugin</artifactId>
  54. <configuration>
  55. <filesets>
  56. <fileset>
  57. <directory>xtend-gen</directory>
  58. <includes>
  59. <include>**</include>
  60. </includes>
  61. <excludes>
  62. <exclude>.gitignore</exclude>
  63. <exclude>.svn/</exclude>
  64. </excludes>
  65. </fileset>
  66. </filesets>
  67. </configuration>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.eclipse.xtend</groupId>
  71. <artifactId>xtend-maven-plugin</artifactId>
  72. <executions>
  73. <execution>
  74. <goals>
  75. <goal>compile</goal>
  76. </goals>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>