您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

385 行
14KB

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>9</version>
  7. </parent>
  8. <groupId>tmp.org.eclipse.sisu</groupId>
  9. <artifactId>placeholder.sisu-inject</artifactId>
  10. <version>0.3.5</version>
  11. <packaging>pom</packaging>
  12. <name>Sisu Inject</name>
  13. <description>JSR330-based container; supports classpath scanning, auto-binding, and dynamic auto-wiring</description>
  14. <url>http://www.eclipse.org/sisu/</url>
  15. <inceptionYear>2010</inceptionYear>
  16. <organization>
  17. <name>The Eclipse Foundation</name>
  18. <url>http://www.eclipse.org/</url>
  19. </organization>
  20. <licenses>
  21. <license>
  22. <name>Eclipse Public License, Version 1.0</name>
  23. <url>http://www.eclipse.org/legal/epl-v10.html</url>
  24. <distribution>repo</distribution>
  25. </license>
  26. </licenses>
  27. <mailingLists>
  28. <mailingList>
  29. <name>Sisu Developers List</name>
  30. <subscribe>sisu-dev-subscribe@eclipse.org</subscribe>
  31. <unsubscribe>sisu-dev-unsubscribe@eclipse.org</unsubscribe>
  32. <post>sisu-dev@eclipse.org</post>
  33. <archive>http://dev.eclipse.org/mhonarc/lists/sisu-dev/</archive>
  34. </mailingList>
  35. <mailingList>
  36. <name>Sisu Users List</name>
  37. <subscribe>sisu-users-subscribe@eclipse.org</subscribe>
  38. <unsubscribe>sisu-users-unsubscribe@eclipse.org</unsubscribe>
  39. <post>sisu-users@eclipse.org</post>
  40. <archive>http://dev.eclipse.org/mhonarc/lists/sisu-users/</archive>
  41. </mailingList>
  42. </mailingLists>
  43. <prerequisites>
  44. <maven>3.0.4</maven>
  45. </prerequisites>
  46. <modules>
  47. <module>org.eclipse.sisu.inject</module>
  48. <module>org.eclipse.sisu.inject.extender</module>
  49. <module>org.eclipse.sisu.inject.tests</module>
  50. <module>org.eclipse.sisu.inject.site</module>
  51. </modules>
  52. <scm>
  53. <connection>scm:git:git://git.eclipse.org/gitroot/sisu/org.eclipse.sisu.inject.git</connection>
  54. <developerConnection>scm:git:ssh://git.eclipse.org/gitroot/sisu/org.eclipse.sisu.inject.git</developerConnection>
  55. <url>http://git.eclipse.org/c/sisu/org.eclipse.sisu.inject.git/tree/</url>
  56. </scm>
  57. <issueManagement>
  58. <system>bugzilla</system>
  59. <url>https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sisu&amp;component=Inject&amp;format=guided</url>
  60. </issueManagement>
  61. <ciManagement>
  62. <system>Hudson</system>
  63. <url>https://hudson.eclipse.org/sisu/job/sisu-inject-nightly/</url>
  64. </ciManagement>
  65. <properties>
  66. <maven.compiler.source>1.6</maven.compiler.source>
  67. <maven.compiler.target>1.6</maven.compiler.target>
  68. <tycho.scmUrl>scm:git:http://git.eclipse.org/gitroot/sisu/org.eclipse.sisu.inject.git</tycho.scmUrl>
  69. <tycho-version>0.22.0</tycho-version>
  70. </properties>
  71. <build>
  72. <pluginManagement>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.codehaus.mojo</groupId>
  76. <artifactId>animal-sniffer-maven-plugin</artifactId>
  77. <version>1.11</version>
  78. <configuration>
  79. <signature>
  80. <groupId>org.codehaus.mojo.signature</groupId>
  81. <artifactId>java16</artifactId>
  82. <version>1.1</version>
  83. </signature>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <id>check-java6</id>
  88. <phase>package</phase>
  89. <goals>
  90. <goal>check</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <plugin>
  96. <artifactId>maven-enforcer-plugin</artifactId>
  97. <version>1.3.1</version>
  98. <configuration>
  99. <rules>
  100. <enforceBytecodeVersion>
  101. <maxJdkVersion>1.6</maxJdkVersion>
  102. </enforceBytecodeVersion>
  103. </rules>
  104. </configuration>
  105. <dependencies>
  106. <dependency>
  107. <groupId>org.codehaus.mojo</groupId>
  108. <artifactId>extra-enforcer-rules</artifactId>
  109. <version>1.0-beta-3</version>
  110. </dependency>
  111. </dependencies>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.eclipse.tycho</groupId>
  115. <artifactId>target-platform-configuration</artifactId>
  116. <version>${tycho-version}</version>
  117. <configuration>
  118. <executionEnvironment>JavaSE-1.6</executionEnvironment>
  119. <target>
  120. <artifact>
  121. <groupId>org.eclipse.sisu</groupId>
  122. <artifactId>org.eclipse.sisu.inject</artifactId>
  123. <version>${project.version}</version>
  124. <classifier>build</classifier>
  125. </artifact>
  126. </target>
  127. <environments>
  128. <environment>
  129. <os>win32</os>
  130. <ws>win32</ws>
  131. <arch>x86</arch>
  132. </environment>
  133. <environment>
  134. <os>linux</os>
  135. <ws>gtk</ws>
  136. <arch>x86_64</arch>
  137. </environment>
  138. <environment>
  139. <os>macosx</os>
  140. <ws>cocoa</ws>
  141. <arch>x86_64</arch>
  142. </environment>
  143. </environments>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.eclipse.tycho</groupId>
  148. <artifactId>tycho-compiler-plugin</artifactId>
  149. <version>${tycho-version}</version>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.eclipse.tycho</groupId>
  153. <artifactId>tycho-maven-plugin</artifactId>
  154. <version>${tycho-version}</version>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.eclipse.tycho</groupId>
  158. <artifactId>tycho-p2-plugin</artifactId>
  159. <version>${tycho-version}</version>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.eclipse.tycho</groupId>
  163. <artifactId>tycho-p2-publisher-plugin</artifactId>
  164. <version>${tycho-version}</version>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.eclipse.tycho</groupId>
  168. <artifactId>tycho-p2-repository-plugin</artifactId>
  169. <version>${tycho-version}</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.eclipse.tycho</groupId>
  173. <artifactId>tycho-packaging-plugin</artifactId>
  174. <version>${tycho-version}</version>
  175. <configuration>
  176. <archive>
  177. <addMavenDescriptor>false</addMavenDescriptor>
  178. </archive>
  179. <sourceReferences>
  180. <generate>true</generate>
  181. </sourceReferences>
  182. </configuration>
  183. <dependencies>
  184. <dependency>
  185. <groupId>org.eclipse.tycho.extras</groupId>
  186. <artifactId>tycho-sourceref-jgit</artifactId>
  187. <version>${tycho-version}</version>
  188. </dependency>
  189. </dependencies>
  190. </plugin>
  191. <plugin>
  192. <groupId>org.eclipse.tycho</groupId>
  193. <artifactId>tycho-source-plugin</artifactId>
  194. <version>${tycho-version}</version>
  195. <executions>
  196. <execution>
  197. <id>plugin-source</id>
  198. <goals>
  199. <goal>plugin-source</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. </plugin>
  204. <plugin>
  205. <artifactId>maven-clean-plugin</artifactId>
  206. <version>2.6</version>
  207. </plugin>
  208. <plugin>
  209. <artifactId>maven-resources-plugin</artifactId>
  210. <version>2.7</version>
  211. </plugin>
  212. <plugin>
  213. <artifactId>maven-compiler-plugin</artifactId>
  214. <version>3.1</version>
  215. </plugin>
  216. <plugin>
  217. <groupId>org.jacoco</groupId>
  218. <artifactId>jacoco-maven-plugin</artifactId>
  219. <version>0.7.2.201409121644</version>
  220. </plugin>
  221. <plugin>
  222. <artifactId>maven-surefire-plugin</artifactId>
  223. <version>2.17</version>
  224. </plugin>
  225. <plugin>
  226. <artifactId>maven-jar-plugin</artifactId>
  227. <version>2.5</version>
  228. </plugin>
  229. <plugin>
  230. <artifactId>maven-install-plugin</artifactId>
  231. <version>2.5.2</version>
  232. </plugin>
  233. <plugin>
  234. <artifactId>maven-deploy-plugin</artifactId>
  235. <version>2.8.2</version>
  236. </plugin>
  237. <plugin>
  238. <groupId>org.sonatype.plugins</groupId>
  239. <artifactId>nexus-staging-maven-plugin</artifactId>
  240. <version>1.6.4</version>
  241. </plugin>
  242. <plugin>
  243. <artifactId>maven-release-plugin</artifactId>
  244. <version>2.5.1</version>
  245. <configuration>
  246. <dryRun>true</dryRun>
  247. </configuration>
  248. </plugin>
  249. <plugin>
  250. <artifactId>maven-javadoc-plugin</artifactId>
  251. <version>2.10.1</version>
  252. <configuration>
  253. <docletArtifact>
  254. <groupId>com.google.doclava</groupId>
  255. <artifactId>doclava</artifactId>
  256. <version>1.0.6</version>
  257. </docletArtifact>
  258. <doclet>com.google.doclava.Doclava</doclet>
  259. <bootclasspath>${sun.boot.class.path}:${basedir}/../doclava/api/nullable.zip</bootclasspath>
  260. <excludePackageNames>*.internal,*.asm</excludePackageNames>
  261. <additionalparam>
  262. -quiet
  263. -federate JDK http://docs.oracle.com/javase/6/docs/api/index.html?
  264. -federationxml JDK http://doclava.googlecode.com/svn/static/api/openjdk-6.xml
  265. -federate Guice http://google-guice.googlecode.com/git-history/3.0/javadoc
  266. -federate OSGi http://www.osgi.org/javadoc/r4v42/index.html?
  267. -federationxml OSGi ${basedir}/../doclava/api/osgi.xml
  268. -hdf project.name "${project.name}"
  269. -overview ${basedir}/overview.html
  270. -templatedir ${basedir}/../doclava
  271. -d ${project.build.directory}/apidocs
  272. </additionalparam>
  273. <useStandardDocletOptions>false</useStandardDocletOptions>
  274. <additionalJOption>-J-Xmx1024m</additionalJOption>
  275. </configuration>
  276. </plugin>
  277. <plugin>
  278. <artifactId>maven-site-plugin</artifactId>
  279. <version>3.4</version>
  280. </plugin>
  281. </plugins>
  282. </pluginManagement>
  283. </build>
  284. <profiles>
  285. <profile>
  286. <id>m2e</id>
  287. <activation>
  288. <property>
  289. <name>m2e.version</name>
  290. </property>
  291. </activation>
  292. <build>
  293. <pluginManagement>
  294. <plugins>
  295. <plugin>
  296. <groupId>org.eclipse.m2e</groupId>
  297. <artifactId>lifecycle-mapping</artifactId>
  298. <version>1.0.0</version>
  299. <configuration>
  300. <lifecycleMappingMetadata>
  301. <pluginExecutions>
  302. <pluginExecution>
  303. <pluginExecutionFilter>
  304. <groupId>org.apache.maven.plugins</groupId>
  305. <artifactId>maven-enforcer-plugin</artifactId>
  306. <versionRange>[1.0,)</versionRange>
  307. <goals>
  308. <goal>enforce</goal>
  309. </goals>
  310. </pluginExecutionFilter>
  311. <action>
  312. <ignore />
  313. </action>
  314. </pluginExecution>
  315. <pluginExecution>
  316. <pluginExecutionFilter>
  317. <groupId>org.codehaus.mojo</groupId>
  318. <artifactId>build-helper-maven-plugin</artifactId>
  319. <versionRange>[1.0,)</versionRange>
  320. <goals>
  321. <goal>attach-artifact</goal>
  322. </goals>
  323. </pluginExecutionFilter>
  324. <action>
  325. <ignore />
  326. </action>
  327. </pluginExecution>
  328. <pluginExecution>
  329. <pluginExecutionFilter>
  330. <groupId>org.jacoco</groupId>
  331. <artifactId>jacoco-maven-plugin</artifactId>
  332. <versionRange>[0.6,)</versionRange>
  333. <goals>
  334. <goal>prepare-agent</goal>
  335. </goals>
  336. </pluginExecutionFilter>
  337. <action>
  338. <ignore />
  339. </action>
  340. </pluginExecution>
  341. </pluginExecutions>
  342. </lifecycleMappingMetadata>
  343. </configuration>
  344. </plugin>
  345. </plugins>
  346. </pluginManagement>
  347. </build>
  348. </profile>
  349. <profile>
  350. <id>sonatype-oss-release</id>
  351. <build>
  352. <plugins>
  353. <plugin>
  354. <artifactId>maven-gpg-plugin</artifactId>
  355. <version>1.5</version>
  356. <configuration>
  357. <passphrase>${gpg.passphrase}</passphrase>
  358. <useAgent>true</useAgent>
  359. </configuration>
  360. </plugin>
  361. <plugin>
  362. <artifactId>maven-javadoc-plugin</artifactId>
  363. <version>2.10.1</version>
  364. </plugin>
  365. <plugin>
  366. <extensions>true</extensions>
  367. <groupId>org.sonatype.plugins</groupId>
  368. <artifactId>nexus-staging-maven-plugin</artifactId>
  369. <configuration>
  370. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  371. <serverId>sonatype-nexus-staging</serverId>
  372. </configuration>
  373. </plugin>
  374. </plugins>
  375. </build>
  376. </profile>
  377. </profiles>
  378. <dependencies>
  379. <dependency>
  380. <groupId>org.eclipse.sisu</groupId>
  381. <artifactId>sisu-inject</artifactId>
  382. <version>0.3.5</version>
  383. </dependency>
  384. </dependencies>
  385. </project>