pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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.0.0-SNAPSHOT</version>
  10. <relativePath>../org.yakindu.sct.releng/pom.xml</relativePath>
  11. </parent>
  12. <artifactId>org.yakindu.sct.repository</artifactId>
  13. <packaging>eclipse-repository</packaging>
  14. <properties>
  15. <signer-version>1.0.5</signer-version>
  16. <signer-input-directory>/home/data/httpd/download-staging.priv/tools/gef/gef4</signer-input-directory>
  17. </properties>
  18. <build>
  19. <plugins>
  20. <plugin>
  21. <groupId>org.eclipse.tycho.extras</groupId>
  22. <artifactId>tycho-p2-extras-plugin</artifactId>
  23. <version>${tycho-extras-version}</version>
  24. <executions>
  25. <execution>
  26. <phase>package</phase>
  27. <goals>
  28. <goal>mirror</goal>
  29. </goals>
  30. </execution>
  31. </executions>
  32. <configuration>
  33. <source>
  34. <!-- source repositories to mirror from -->
  35. <repository>
  36. <url>${project.baseUri}/emfPatchExport</url>
  37. <layout>p2</layout>
  38. <!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2" (for joint repositories; default) -->
  39. </repository>
  40. </source>
  41. <!-- The destination directory to mirror to. -->
  42. <destination>${project.build.directory}/repository</destination>
  43. <!-- Whether only strict dependencies should be followed. -->
  44. <!-- "strict" means perfect version match -->
  45. <followStrictOnly>false</followStrictOnly>
  46. <!-- Whether or not to follow optional requirements. -->
  47. <includeOptional>false</includeOptional>
  48. <!-- Whether or not to follow non-greedy requirements. -->
  49. <includeNonGreedy>false</includeNonGreedy>
  50. <!-- Whether to filter the resulting set of IUs to only -->
  51. <!-- include the latest version of each IU -->
  52. <latestVersionOnly>false</latestVersionOnly>
  53. <!-- don't mirror artifacts, only metadata -->
  54. <mirrorMetadataOnly>false</mirrorMetadataOnly>
  55. <!-- whether to compress the content.xml/artifacts.xml -->
  56. <compress>true</compress>
  57. <!-- whether to append to the target repository content -->
  58. <append>true</append>
  59. </configuration>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. <profiles>
  64. <profile>
  65. <id>hudson.eclipse.org</id>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.eclipse.dash.maven</groupId>
  70. <artifactId>eclipse-signing-maven-plugin</artifactId>
  71. <version>${signer-version}</version>
  72. <executions>
  73. <execution>
  74. <id>pack</id>
  75. <configuration>
  76. <inputFile>${project.build.directory}/org.eclipse.gef4.repository.zip</inputFile>
  77. </configuration>
  78. <phase>package</phase>
  79. <goals>
  80. <goal>pack</goal>
  81. </goals>
  82. </execution>
  83. <execution>
  84. <id>sign</id>
  85. <configuration>
  86. <inputFile>${project.build.directory}/org.eclipse.gef4.repository.zip</inputFile>
  87. <signerInputDirectory>${signer-input-directory}</signerInputDirectory>
  88. </configuration>
  89. <phase>package</phase>
  90. <goals>
  91. <goal>sign</goal>
  92. </goals>
  93. </execution>
  94. <execution>
  95. <id>repack</id>
  96. <configuration>
  97. <inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
  98. </configuration>
  99. <phase>package</phase>
  100. <goals>
  101. <goal>pack</goal>
  102. </goals>
  103. </execution>
  104. <execution>
  105. <id>fixCheckSums</id>
  106. <phase>package</phase>
  107. <goals>
  108. <goal>fixCheckSums</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. </profile>
  116. </profiles>
  117. </project>