pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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>2.1.0-SNAPSHOT</version>
  10. <relativePath>../org.yakindu.sct.releng/pom.xml</relativePath>
  11. </parent>
  12. <artifactId>org.yakindu.sct.model.stext</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. <plugin>
  23. <artifactId>maven-resources-plugin</artifactId>
  24. <executions>
  25. <execution>
  26. <id>copy-resources</id>
  27. <phase>initialize</phase>
  28. <goals>
  29. <goal>copy-resources</goal>
  30. </goals>
  31. <configuration>
  32. <outputDirectory>${project.build.directory}/xtext</outputDirectory>
  33. <resources>
  34. <resource>
  35. <directory>src</directory>
  36. <includes>
  37. <include>**/*.xtext</include>
  38. <include>**/*.mwe2</include>
  39. </includes>
  40. </resource>
  41. </resources>
  42. </configuration>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.codehaus.mojo</groupId>
  48. <artifactId>build-helper-maven-plugin</artifactId>
  49. </plugin>
  50. <plugin>
  51. <groupId>org.eclipse.tycho</groupId>
  52. <artifactId>tycho-source-plugin</artifactId>
  53. <version>${tycho-version}</version>
  54. <executions>
  55. <execution>
  56. <id>plugin-source</id>
  57. <goals>
  58. <goal>plugin-source</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <artifactId>maven-clean-plugin</artifactId>
  65. <configuration>
  66. <filesets>
  67. <fileset>
  68. <directory>xtend-gen</directory>
  69. <includes>
  70. <include>**</include>
  71. </includes>
  72. <excludes>
  73. <exclude>.gitignore</exclude>
  74. <exclude>.svn/</exclude>
  75. </excludes>
  76. </fileset>
  77. </filesets>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.eclipse.xtend</groupId>
  82. <artifactId>xtend-maven-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <goals>
  86. <goal>compile</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>