pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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>1.0.0-SNAPSHOT</version>
  10. <relativePath>../org.yakindu.sct.releng/pom.xml</relativePath>
  11. </parent>
  12. <artifactId>org.yakindu.sct.generator.java.test</artifactId>
  13. <groupId>org.yakindu.sct.plugins</groupId>
  14. <packaging>eclipse-test-plugin</packaging>
  15. <profiles>
  16. <profile>
  17. <id>CI</id>
  18. <!-- Test failures are collected by jenkins and evaluated for instable
  19. builds -->
  20. <properties>
  21. <testFailureIgnore>true</testFailureIgnore>
  22. </properties>
  23. </profile>
  24. <profile>
  25. <id>macosx</id>
  26. <activation>
  27. <os>
  28. <family>mac</family>
  29. </os>
  30. </activation>
  31. <properties>
  32. <test.vmargs>-Xmx512m -XX:MaxPermSize=256m -XstartOnFirstThread
  33. </test.vmargs>
  34. </properties>
  35. </profile>
  36. <profile>
  37. <id>other-os</id>
  38. <activation>
  39. <os>
  40. <family>!mac</family>
  41. </os>
  42. </activation>
  43. <properties>
  44. <test.vmargs>-Xmx512m -XX:MaxPermSize=256m</test.vmargs>
  45. </properties>
  46. </profile>
  47. </profiles>
  48. <properties>
  49. <testFailureIgnore>false</testFailureIgnore>
  50. </properties>
  51. <build>
  52. <sourceDirectory>src</sourceDirectory>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.eclipse.tycho</groupId>
  56. <artifactId>tycho-surefire-plugin</artifactId>
  57. <version>${tycho-version}</version>
  58. <configuration>
  59. <useUIHarness>true</useUIHarness>
  60. <useUIThread>true</useUIThread>
  61. <testFailureIgnore>${testFailureIgnore}</testFailureIgnore>
  62. <argLine>${test.vmargs}</argLine>
  63. <!-- <dependencies> -->
  64. <!-- <dependency> -->
  65. <!-- <artifactid>org.eclipse.platform.ide</artifactid> -->
  66. <!-- <version>0.0.0</version> -->
  67. <!-- <type>eclipse-feature</type> -->
  68. <!-- </dependency> -->
  69. <!-- </dependencies> -->
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.eclipse.tycho</groupId>
  74. <artifactId>tycho-source-plugin</artifactId>
  75. <version>${tycho-version}</version>
  76. <executions>
  77. <execution>
  78. <id>plugin-source</id>
  79. <goals>
  80. <goal>plugin-source</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>