pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.alibaba.smartfox.eclipse</groupId>
  7. <artifactId>smartfox-eclipse</artifactId>
  8. <version>2.0.1-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <inceptionYear>2017</inceptionYear>
  11. <properties>
  12. <tycho.version>1.0.0</tycho.version>
  13. <tycho-extras.version>${tycho.version}</tycho-extras.version>
  14. <eclipse-repo.url>http://download.eclipse.org/releases/neon</eclipse-repo.url>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <ajdt-eclipse-repo.url>http://download.eclipse.org/tools/ajdt/46/dev/update</ajdt-eclipse-repo.url>
  17. <kotlin.version>1.3.30</kotlin.version>
  18. <eclipse-release>juno</eclipse-release>
  19. </properties>
  20. <modules>
  21. <module>com.alibaba.smartfox.eclipse.plugin</module>
  22. <module>com.alibaba.smartfox.eclipse.feature</module>
  23. <module>com.alibaba.smartfox.eclipse.updatesite</module>
  24. </modules>
  25. <dependencies>
  26. <dependency>
  27. <groupId>junit</groupId>
  28. <artifactId>junit</artifactId>
  29. <version>4.11</version>
  30. <scope>test</scope>
  31. </dependency>
  32. </dependencies>
  33. <dependencyManagement>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.jetbrains.kotlin</groupId>
  37. <artifactId>kotlin-stdlib-jdk8</artifactId>
  38. <version>${kotlin.version}</version>
  39. <scope>compile</scope>
  40. </dependency>
  41. </dependencies>
  42. </dependencyManagement>
  43. <repositories>
  44. <repository>
  45. <id>juno</id>
  46. <layout>p2</layout>
  47. <url>http://mirrors.ustc.edu.cn/eclipse/releases/juno/</url>
  48. </repository>
  49. <repository>
  50. <id>sonatype-nexus-snapshots</id>
  51. <name>Sonatype Nexus Snapshots</name>
  52. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  53. <releases>
  54. <enabled>false</enabled>
  55. </releases>
  56. <snapshots>
  57. <enabled>true</enabled>
  58. </snapshots>
  59. </repository>
  60. </repositories>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.eclipse.tycho</groupId>
  65. <artifactId>tycho-maven-plugin</artifactId>
  66. <version>${tycho.version}</version>
  67. <extensions>true</extensions>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.eclipse.tycho</groupId>
  71. <artifactId>target-platform-configuration</artifactId>
  72. <configuration>
  73. <environments>
  74. <environment>
  75. <os>linux</os>
  76. <ws>gtk</ws>
  77. <arch>x86</arch>
  78. </environment>
  79. <environment>
  80. <os>linux</os>
  81. <ws>gtk</ws>
  82. <arch>x86_64</arch>
  83. </environment>
  84. <environment>
  85. <os>win32</os>
  86. <ws>win32</ws>
  87. <arch>x86</arch>
  88. </environment>
  89. <environment>
  90. <os>win32</os>
  91. <ws>win32</ws>
  92. <arch>x86_64</arch>
  93. </environment>
  94. <environment>
  95. <os>macosx</os>
  96. <ws>cocoa</ws>
  97. <arch>x86_64</arch>
  98. </environment>
  99. </environments>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. <pluginManagement>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.eclipse.tycho</groupId>
  107. <artifactId>target-platform-configuration</artifactId>
  108. <version>${tycho.version}</version>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.eclipse.tycho</groupId>
  112. <artifactId>tycho-compiler-plugin</artifactId>
  113. <version>${tycho.version}</version>
  114. <configuration>
  115. <compilerVersion>1.8</compilerVersion>
  116. <compilerArguments>
  117. <inlineJSR/>
  118. <enableJavadoc/>
  119. <encoding>UTF-8</encoding>
  120. </compilerArguments>
  121. <compilerArgument>-err:-forbidden</compilerArgument>
  122. </configuration>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.codehaus.mojo</groupId>
  126. <artifactId>aspectj-maven-plugin</artifactId>
  127. <version>${aspectj.plugin.version}</version>
  128. <dependencies>
  129. <dependency>
  130. <groupId>org.aspectj</groupId>
  131. <artifactId>aspectjtools</artifactId>
  132. <version>${aspectj.version}</version>
  133. </dependency>
  134. </dependencies>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.eclipse.tycho</groupId>
  138. <artifactId>tycho-packaging-plugin</artifactId>
  139. <version>${tycho.version}</version>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.eclipse.tycho</groupId>
  143. <artifactId>tycho-surefire-plugin</artifactId>
  144. <version>${tycho.version}</version>
  145. <configuration>
  146. <testFailureIgnore>true</testFailureIgnore>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.eclipse.tycho</groupId>
  151. <artifactId>tycho-source-plugin</artifactId>
  152. <version>${tycho.version}</version>
  153. <configuration>
  154. <strictSrcIncludes>false</strictSrcIncludes>
  155. </configuration>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.eclipse.tycho</groupId>
  159. <artifactId>tycho-p2-director-plugin</artifactId>
  160. <version>${tycho.version}</version>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.eclipse.tycho</groupId>
  164. <artifactId>tycho-p2-repository-plugin</artifactId>
  165. <version>${tycho.version}</version>
  166. <configuration>
  167. <finalName>smartfox-eclipse-plugin</finalName>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.eclipse.tycho.extras</groupId>
  172. <artifactId>tycho-source-feature-plugin</artifactId>
  173. <version>${tycho-extras.version}</version>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.eclipse.tycho.extras</groupId>
  177. <artifactId>tycho-custom-bundle-plugin</artifactId>
  178. <version>${tycho-extras.version}</version>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.eclipse.tycho</groupId>
  182. <artifactId>tycho-p2-plugin</artifactId>
  183. <version>${tycho.version}</version>
  184. <configuration>
  185. <baselineMode>warn</baselineMode>
  186. <baselineReplace>none</baselineReplace>
  187. <baselineRepositories>
  188. <repository>
  189. <url>http://download.eclipse.org/eclipse/updates/4.4</url>
  190. </repository>
  191. </baselineRepositories>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </pluginManagement>
  196. </build>
  197. </project>