pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <groupId>org.yakindu.base</groupId>
  7. <artifactId>org.yakindu.base.target</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <packaging>eclipse-repository</packaging>
  10. <properties>
  11. <tycho-version>0.14.1</tycho-version>
  12. <build-helper-version>1.3</build-helper-version>
  13. </properties>
  14. <repositories>
  15. <repository>
  16. <id>juno</id>
  17. <layout>p2</layout>
  18. <url>http://download.eclipse.org/releases/juno</url>
  19. </repository>
  20. </repositories>
  21. <build>
  22. <plugins>
  23. <plugin>
  24. <!-- enable tycho build extension -->
  25. <groupId>org.eclipse.tycho</groupId>
  26. <artifactId>tycho-maven-plugin</artifactId>
  27. <version>${tycho-version}</version>
  28. <extensions>true</extensions>
  29. </plugin>
  30. </plugins>
  31. <pluginManagement>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.eclipse.tycho</groupId>
  35. <artifactId>tycho-p2-repository-plugin</artifactId>
  36. <configuration>
  37. <includeAllDependencies>true</includeAllDependencies>
  38. </configuration>
  39. </plugin>
  40. </plugins>
  41. </pluginManagement>
  42. </build>
  43. <profiles>
  44. <profile>
  45. <id>Indigo.target</id>
  46. <activation>
  47. <activeByDefault>true</activeByDefault>
  48. </activation>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.codehaus.mojo</groupId>
  53. <artifactId>build-helper-maven-plugin</artifactId>
  54. <version>${build-helper-version}</version>
  55. <executions>
  56. <!-- make target file available for incremental builds -->
  57. <execution>
  58. <id>attach-artifacts</id>
  59. <phase>package</phase>
  60. <goals>
  61. <goal>attach-artifact</goal>
  62. </goals>
  63. <configuration>
  64. <artifacts>
  65. <artifact>
  66. <!-- note: the file name must be ${classifier}.target -->
  67. <file>Juno.target</file>
  68. <type>target</type>
  69. <classifier>Juno</classifier>
  70. </artifact>
  71. </artifacts>
  72. </configuration>
  73. </execution>
  74. </executions>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.eclipse.tycho</groupId>
  78. <artifactId>target-platform-configuration</artifactId>
  79. <version>${tycho-version}</version>
  80. <configuration>
  81. <!-- add target file content to target platform -->
  82. <target>
  83. <artifact>
  84. <groupId>org.yakindu.base</groupId>
  85. <artifactId>org.yakindu.base.target</artifactId>
  86. <version>1.0.0-SNAPSHOT</version>
  87. <classifier>Juno</classifier>
  88. </artifact>
  89. </target>
  90. <environments>
  91. <environment>
  92. <os>linux</os>
  93. <ws>gtk</ws>
  94. <arch>x86</arch>
  95. </environment>
  96. <environment>
  97. <os>linux</os>
  98. <ws>gtk</ws>
  99. <arch>x86_64</arch>
  100. </environment>
  101. <environment>
  102. <os>win32</os>
  103. <ws>win32</ws>
  104. <arch>x86</arch>
  105. </environment>
  106. <environment>
  107. <os>win32</os>
  108. <ws>win32</ws>
  109. <arch>x86_64</arch>
  110. </environment>
  111. <environment>
  112. <os>macosx</os>
  113. <ws>cocoa</ws>
  114. <arch>x86_64</arch>
  115. </environment>
  116. </environments>
  117. </configuration>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </profile>
  122. </profiles>
  123. </project>