You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.codehaus.sonar</groupId>
  5. <artifactId>sonar-dev-maven-plugin</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>maven-plugin</packaging>
  8. <name>Sonar :: Development Maven Plugin</name>
  9. <description>Maven plugin for Sonar development environment</description>
  10. <repositories>
  11. <repository>
  12. <id>sonar</id>
  13. <url>http://repository.sonarsource.org/content/repositories/sonar</url>
  14. <releases>
  15. <enabled>true</enabled>
  16. </releases>
  17. <snapshots>
  18. <enabled>false</enabled>
  19. </snapshots>
  20. </repository>
  21. </repositories>
  22. <inceptionYear>2010</inceptionYear>
  23. <organization>
  24. <name>SonarSource</name>
  25. <url>http://www.sonarsource.com</url>
  26. </organization>
  27. <licenses>
  28. <license>
  29. <name>GNU Lesser General Public License (LGPL), v.3</name>
  30. <url>http://www.gnu.org/licenses/lgpl.txt</url>
  31. <distribution>repo</distribution>
  32. </license>
  33. </licenses>
  34. <developers>
  35. <developer>
  36. <id>simon.brandhof</id>
  37. <name>Simon Brandhof</name>
  38. <email>simon.brandhof@sonarsource.com</email>
  39. <organization>SonarSource</organization>
  40. <roles>
  41. <role>developer</role>
  42. </roles>
  43. <timezone>+1</timezone>
  44. </developer>
  45. <developer>
  46. <id>godin</id>
  47. <name>Evgeny Mandrikov</name>
  48. <email>mandrikov@gmail.com</email>
  49. <roles>
  50. <role>developer</role>
  51. </roles>
  52. <timezone>+3</timezone>
  53. </developer>
  54. </developers>
  55. <scm>
  56. <connection>scm:svn:http://svn.codehaus.org/sonar/trunk/subprojects/sonar-dev-maven-plugin</connection>
  57. <developerConnection>scm:svn:https://svn.codehaus.org/sonar/trunk/subprojects/sonar-dev-maven-plugin</developerConnection>
  58. <url>https://svn.codehaus.org/sonar/trunk/subprojects/sonar-dev-maven-plugin</url>
  59. </scm>
  60. <issueManagement>
  61. <system>jira</system>
  62. <url>http://jira.codehaus.org/browse/SONAR</url>
  63. </issueManagement>
  64. <ciManagement>
  65. <system>bamboo</system>
  66. <url>http://bamboo.ci.codehaus.org/browse/SONAR</url>
  67. </ciManagement>
  68. <distributionManagement>
  69. <repository>
  70. <id>codehaus.org</id>
  71. <url>dav:https://dav.codehaus.org/repository/sonar</url>
  72. <uniqueVersion>false</uniqueVersion>
  73. </repository>
  74. <snapshotRepository>
  75. <id>codehaus.org</id>
  76. <url>dav:https://dav.codehaus.org/snapshots.repository/sonar</url>
  77. <uniqueVersion>false</uniqueVersion>
  78. </snapshotRepository>
  79. </distributionManagement>
  80. <properties>
  81. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  82. <maven.min.version>2.0</maven.min.version>
  83. <jdk.min.version>1.5</jdk.min.version>
  84. <mavenVersion>2.0.9</mavenVersion>
  85. </properties>
  86. <build>
  87. <pluginManagement>
  88. <plugins>
  89. <!-- Plugins ordered by shortname (archetype, assembly ...) -->
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-clean-plugin</artifactId>
  93. <version>2.4.1</version>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <version>2.3.2</version>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-dependency-plugin</artifactId>
  103. <version>2.1</version>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-deploy-plugin</artifactId>
  108. <version>2.5</version>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-enforcer-plugin</artifactId>
  113. <version>1.0-beta-1</version>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.codehaus.mojo</groupId>
  117. <artifactId>exec-maven-plugin</artifactId>
  118. <version>1.2</version>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-install-plugin</artifactId>
  123. <version>2.3.1</version>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-invoker-plugin</artifactId>
  128. <version>1.5</version>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-jar-plugin</artifactId>
  133. <version>2.3.1</version>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-javadoc-plugin</artifactId>
  138. <version>2.7</version>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-jxr-plugin</artifactId>
  143. <version>2.1</version>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-plugin-plugin</artifactId>
  148. <version>2.6</version>
  149. <dependencies>
  150. <dependency>
  151. <groupId>org.apache.maven.plugin-tools</groupId>
  152. <artifactId>maven-plugin-tools-ant</artifactId>
  153. <version>2.6</version>
  154. </dependency>
  155. </dependencies>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-release-plugin</artifactId>
  160. <version>2.0</version>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-resources-plugin</artifactId>
  165. <version>2.4.3</version>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-site-plugin</artifactId>
  170. <version>2.0-beta-7</version>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-source-plugin</artifactId>
  175. <version>2.1.2</version>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-surefire-plugin</artifactId>
  180. <version>2.6</version>
  181. </plugin>
  182. </plugins>
  183. </pluginManagement>
  184. <plugins>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-enforcer-plugin</artifactId>
  188. <executions>
  189. <execution>
  190. <id>enforce</id>
  191. <goals>
  192. <goal>enforce</goal>
  193. </goals>
  194. <configuration>
  195. <rules>
  196. <requireMavenVersion>
  197. <message>To build this project Maven ${maven.min.version} (or upper) is required. Please install it.
  198. </message>
  199. <version>${maven.min.version}</version>
  200. </requireMavenVersion>
  201. <requireJavaVersion>
  202. <message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
  203. </message>
  204. <version>${jdk.min.version}</version>
  205. </requireJavaVersion>
  206. <requirePluginVersions>
  207. <!-- TODO
  208. This rule produces warning under maven-3.0-beta-1 :
  209. "This rule is not compatible with the current version of Maven."
  210. -->
  211. <message>Build reproducibility : always define plugin versions</message>
  212. <banLatest>true</banLatest>
  213. <banRelease>true</banRelease>
  214. <phases>clean,deploy</phases>
  215. </requirePluginVersions>
  216. <!--bannedDependencies>
  217. <message>Don't use banned dependencies</message>
  218. <searchTransitive>true</searchTransitive>
  219. <excludes>
  220. <exclude>commons-logging:commons-logging</exclude>
  221. </excludes>
  222. </bannedDependencies-->
  223. </rules>
  224. </configuration>
  225. </execution>
  226. </executions>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.apache.maven.plugins</groupId>
  230. <artifactId>maven-compiler-plugin</artifactId>
  231. <configuration>
  232. <source>${jdk.min.version}</source>
  233. <target>${jdk.min.version}</target>
  234. <encoding>${project.build.sourceEncoding}</encoding>
  235. </configuration>
  236. </plugin>
  237. <plugin>
  238. <groupId>org.codehaus.mojo</groupId>
  239. <artifactId>animal-sniffer-maven-plugin</artifactId>
  240. <version>1.6</version>
  241. <executions>
  242. <execution>
  243. <id>check-java-version</id>
  244. <phase>verify</phase>
  245. <goals>
  246. <goal>check</goal>
  247. </goals>
  248. <configuration>
  249. <signature>
  250. <groupId>org.codehaus.mojo.signature</groupId>
  251. <artifactId>java15</artifactId>
  252. <version>1.0</version>
  253. </signature>
  254. </configuration>
  255. </execution>
  256. </executions>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.apache.maven.plugins</groupId>
  260. <artifactId>maven-release-plugin</artifactId>
  261. <configuration>
  262. <tagBase>https://svn.codehaus.org/sonar/tags</tagBase>
  263. <autoVersionSubmodules>true</autoVersionSubmodules>
  264. </configuration>
  265. </plugin>
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-source-plugin</artifactId>
  269. <executions>
  270. <execution>
  271. <id>attach-sources</id>
  272. <phase>verify</phase>
  273. <goals>
  274. <goal>jar</goal>
  275. </goals>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. <plugin>
  280. <groupId>org.apache.maven.plugins</groupId>
  281. <artifactId>maven-plugin-plugin</artifactId>
  282. <executions>
  283. <execution>
  284. <id>help-mojo</id>
  285. <goals>
  286. <goal>helpmojo</goal>
  287. </goals>
  288. </execution>
  289. </executions>
  290. </plugin>
  291. </plugins>
  292. </build>
  293. <dependencies>
  294. <dependency>
  295. <groupId>fikin</groupId>
  296. <artifactId>fikin-ant</artifactId>
  297. <version>1.7.3</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>ant-contrib</groupId>
  301. <artifactId>ant-contrib</artifactId>
  302. <version>1.0b3</version>
  303. <exclusions>
  304. <exclusion>
  305. <groupId>ant</groupId>
  306. <artifactId>ant</artifactId>
  307. </exclusion>
  308. </exclusions>
  309. </dependency>
  310. <!-- maven -->
  311. <dependency>
  312. <groupId>org.apache.maven</groupId>
  313. <artifactId>maven-archiver</artifactId>
  314. <version>2.2</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.apache.maven</groupId>
  318. <artifactId>maven-artifact</artifactId>
  319. <version>${mavenVersion}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.apache.maven</groupId>
  323. <artifactId>maven-project</artifactId>
  324. <version>${mavenVersion}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.apache.maven</groupId>
  328. <artifactId>maven-model</artifactId>
  329. <version>${mavenVersion}</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>org.apache.maven</groupId>
  333. <artifactId>maven-plugin-api</artifactId>
  334. <version>${mavenVersion}</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.apache.maven</groupId>
  338. <artifactId>maven-script-ant</artifactId>
  339. <version>2.0.10</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.codehaus.plexus</groupId>
  343. <artifactId>plexus-utils</artifactId>
  344. <version>1.5.6</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>commons-collections</groupId>
  348. <artifactId>commons-collections</artifactId>
  349. <version>3.2.1</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>commons-io</groupId>
  353. <artifactId>commons-io</artifactId>
  354. <version>1.4</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>org.codehaus.cargo</groupId>
  358. <artifactId>cargo-ant</artifactId>
  359. <!-- Godin:
  360. Seems that version 1.0 has corrupted metadata in central maven repo,
  361. so in this case project can't be built with Maven 2.2
  362. And versions 1.0.1 - 1.0.3 doesn't work for us.
  363. -->
  364. <version>1.0-beta-2</version>
  365. <exclusions>
  366. <exclusion>
  367. <groupId>ant</groupId>
  368. <artifactId>ant</artifactId>
  369. </exclusion>
  370. </exclusions>
  371. </dependency>
  372. <!-- JDBC drivers are used when the database is created (property dropDatabase is true) -->
  373. <dependency>
  374. <groupId>mysql</groupId>
  375. <artifactId>mysql-connector-java</artifactId>
  376. <version>5.1.13</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>org.apache.derby</groupId>
  380. <artifactId>derbyclient</artifactId>
  381. <version>10.4.2.0</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>postgresql</groupId>
  385. <artifactId>postgresql</artifactId>
  386. <version>8.3-603.jdbc3</version>
  387. </dependency>
  388. <dependency>
  389. <groupId>net.sourceforge.jtds</groupId>
  390. <artifactId>jtds</artifactId>
  391. <version>1.2.2</version>
  392. </dependency>
  393. <!-- fikin dependencies -->
  394. <dependency>
  395. <groupId>commons-httpclient</groupId>
  396. <artifactId>commons-httpclient</artifactId>
  397. <version>3.1</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>commons-codec</groupId>
  401. <artifactId>commons-codec</artifactId>
  402. <version>1.4</version>
  403. </dependency>
  404. <dependency>
  405. <groupId>xerces</groupId>
  406. <artifactId>xercesImpl</artifactId>
  407. <version>2.9.1</version>
  408. </dependency>
  409. <!-- unit tests -->
  410. <dependency>
  411. <groupId>junit</groupId>
  412. <artifactId>junit</artifactId>
  413. <version>4.8.1</version>
  414. <scope>test</scope>
  415. </dependency>
  416. <dependency>
  417. <groupId>org.hamcrest</groupId>
  418. <artifactId>hamcrest-all</artifactId>
  419. <version>1.1</version>
  420. <scope>test</scope>
  421. </dependency>
  422. </dependencies>
  423. <reporting>
  424. <plugins>
  425. <plugin>
  426. <groupId>org.apache.maven.plugins</groupId>
  427. <artifactId>maven-plugin-plugin</artifactId>
  428. <version>2.6</version>
  429. </plugin>
  430. <plugin>
  431. <groupId>org.apache.maven.plugins</groupId>
  432. <artifactId>maven-project-info-reports-plugin</artifactId>
  433. <version>2.1</version>
  434. <reportSets>
  435. <reportSet>
  436. <reports>
  437. </reports>
  438. </reportSet>
  439. </reportSets>
  440. </plugin>
  441. </plugins>
  442. </reporting>
  443. </project>