pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.scytl</groupId>
  5. <artifactId>maven-generic-conf</artifactId>
  6. <packaging>pom</packaging>
  7. <version>1.5.6</version>
  8. <url>https://scm.scytl.net/stash/projects/AUT/repos/maven-generic-conf/browse</url>
  9. <name>Scytl Super POM</name>
  10. <description>This is the global configuration of the projects of Scytl using maven as a build tool.</description>
  11. <issueManagement>
  12. <system>Redmine</system>
  13. <url>https://redmine01.scytl.net/</url>
  14. </issueManagement>
  15. <ciManagement>
  16. <system>Jenkins</system>
  17. <url>https://jenkins.scytl.net/job/${productId}/</url>
  18. </ciManagement>
  19. <inceptionYear>2003</inceptionYear>
  20. <properties>
  21. <organization.logo>http://www.scytl.com/wp-content/themes/scytl/lib/img/logo2.png</organization.logo>
  22. <productId>${project.artifactId}</productId>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  25. <build.version>${project.version} (${user.name} r${buildNumber} ${timestamp})</build.version>
  26. <build.tag>${env.BUILD_TAG}</build.tag>
  27. <maven.compiler.source>1.5</maven.compiler.source>
  28. <maven.compiler.target>1.5</maven.compiler.target>
  29. <sonar.java.source>${maven.compiler.source}</sonar.java.source>
  30. <sonar.java.target>${maven.compiler.target}</sonar.java.target>
  31. <targetJdk>${maven.compiler.target}</targetJdk>
  32. <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
  33. <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
  34. <args>-Xmx256m</args>
  35. <argLine>${args}</argLine>
  36. </properties>
  37. <scm>
  38. <connection>scm:git:ssh://git@scm.scytl.net:7999/aut/maven-generic-conf.git</connection>
  39. <developerConnection>scm:git:ssh://git@scm.scytl.net:7999/aut/maven-generic-conf.git</developerConnection>
  40. <url>https://scm.scytl.net/stash/projects/AUT/repos/maven-generic-conf/browse</url>
  41. <tag>maven-generic-conf-1.5.6</tag>
  42. </scm>
  43. <organization>
  44. <name>Scytl Secure Electronic Voting</name>
  45. <url>http://www.scytl.com/</url>
  46. </organization>
  47. <build>
  48. <pluginManagement>
  49. <plugins>
  50. <!-- org.apache.maven.plugins -->
  51. <plugin>
  52. <artifactId>maven-clean-plugin</artifactId>
  53. <version>2.5</version>
  54. </plugin>
  55. <plugin>
  56. <artifactId>maven-install-plugin</artifactId>
  57. <version>2.3.1</version>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-deploy-plugin</artifactId>
  61. <version>2.7</version>
  62. </plugin>
  63. <plugin>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <version>2.5.1</version>
  66. </plugin>
  67. <plugin>
  68. <artifactId>maven-dependency-plugin</artifactId>
  69. <version>2.4</version>
  70. </plugin>
  71. <plugin>
  72. <artifactId>maven-jarsigner-plugin</artifactId>
  73. <version>1.2</version>
  74. </plugin>
  75. <plugin>
  76. <artifactId>maven-assembly-plugin</artifactId>
  77. <version>2.3</version>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-failsafe-plugin</artifactId>
  81. <version>2.12</version>
  82. </plugin>
  83. <plugin>
  84. <artifactId>maven-antrun-plugin</artifactId>
  85. <version>1.7</version>
  86. </plugin>
  87. <plugin>
  88. <artifactId>maven-shade-plugin</artifactId>
  89. <version>1.7.1</version>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-scm-plugin</artifactId>
  93. <version>1.9.5</version>
  94. <configuration>
  95. <tag>${project.artifactId}-${project.version}</tag>
  96. </configuration>
  97. </plugin>
  98. <!-- org.codehaus.mojo -->
  99. <plugin>
  100. <groupId>org.codehaus.mojo</groupId>
  101. <artifactId>appassembler-maven-plugin</artifactId>
  102. <version>1.2.2</version>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.codehaus.mojo</groupId>
  106. <artifactId>hibernate3-maven-plugin</artifactId>
  107. <version>2.2</version>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.codehaus.mojo</groupId>
  111. <artifactId>exec-maven-plugin</artifactId>
  112. <version>1.2.1</version>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.codehaus.gmaven</groupId>
  116. <artifactId>gmaven-plugin</artifactId>
  117. <version>1.4</version>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.codehaus.izpack</groupId>
  121. <artifactId>izpack-maven-plugin</artifactId>
  122. <version>5.0.0-beta10</version>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.codehaus.mojo</groupId>
  126. <artifactId>build-helper-maven-plugin</artifactId>
  127. <version>1.7</version>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.codehaus.mojo</groupId>
  131. <artifactId>jasperreports-maven-plugin</artifactId>
  132. <version>1.0-beta-2</version>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.codehaus.mojo</groupId>
  136. <artifactId>rpm-maven-plugin</artifactId>
  137. <version>2.1-alpha-1</version>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.codehaus.mojo</groupId>
  141. <artifactId>versions-maven-plugin</artifactId>
  142. <version>2.3</version>
  143. </plugin>
  144. <!-- various -->
  145. <plugin>
  146. <groupId>org.mortbay.jetty</groupId>
  147. <artifactId>jetty-maven-plugin</artifactId>
  148. <version>8.1.14.v20131031</version>
  149. </plugin>
  150. <plugin>
  151. <!-- DEPRECATED! Should be renamed to jetty-maven-plugin -->
  152. <groupId>org.mortbay.jetty</groupId>
  153. <artifactId>maven-jetty-plugin</artifactId>
  154. <version>6.1.26</version>
  155. </plugin>
  156. <plugin>
  157. <groupId>com.pyx4me</groupId>
  158. <artifactId>proguard-maven-plugin</artifactId>
  159. <version>2.0.4</version>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.activemq.tooling</groupId>
  163. <artifactId>maven-activemq-plugin</artifactId>
  164. <version>5.6.0</version>
  165. </plugin>
  166. <plugin>
  167. <groupId>net.alchim31.maven</groupId>
  168. <artifactId>yuicompressor-maven-plugin</artifactId>
  169. <version>1.3.0</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>com.scytl.jmeter</groupId>
  173. <artifactId>maven-jmeter-plugin</artifactId>
  174. <version>1.8</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.bluestemsoftware.open.maven.plugin</groupId>
  178. <artifactId>launch4j-plugin</artifactId>
  179. <version>1.5.0.0</version>
  180. </plugin>
  181. <plugin>
  182. <groupId>com.mycila.maven-license-plugin</groupId>
  183. <artifactId>maven-license-plugin</artifactId>
  184. <version>1.10.b1</version>
  185. </plugin>
  186. <plugin>
  187. <artifactId>maven-site-plugin</artifactId>
  188. <version>3.1</version>
  189. <dependencies>
  190. <dependency>
  191. <groupId>org.apache.maven.wagon</groupId>
  192. <artifactId>wagon-webdav-jackrabbit</artifactId>
  193. <version>1.0-beta-6</version>
  194. </dependency>
  195. </dependencies>
  196. </plugin>
  197. <plugin>
  198. <artifactId>maven-checkstyle-plugin</artifactId>
  199. <version>2.9.1</version>
  200. <dependencies>
  201. <dependency>
  202. <groupId>com.scytl.checkstyle</groupId>
  203. <artifactId>checkstyle-config</artifactId>
  204. <version>1.0.1</version>
  205. </dependency>
  206. </dependencies>
  207. <configuration>
  208. <aggregate>true</aggregate>
  209. <configLocation>com/scytl/checkstyle/scytl_checkstyle.xml</configLocation>
  210. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-project-info-reports-plugin</artifactId>
  215. <version>2.6</version>
  216. </plugin>
  217. <plugin>
  218. <artifactId>maven-source-plugin</artifactId>
  219. <version>2.2.1</version>
  220. </plugin>
  221. <plugin>
  222. <artifactId>maven-javadoc-plugin</artifactId>
  223. <version>2.9</version>
  224. </plugin>
  225. <plugin>
  226. <artifactId>maven-surefire-plugin</artifactId>
  227. <version>2.17</version>
  228. </plugin>
  229. </plugins>
  230. </pluginManagement>
  231. <plugins>
  232. <plugin>
  233. <artifactId>maven-resources-plugin</artifactId>
  234. <version>2.5</version>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.codehaus.mojo</groupId>
  238. <artifactId>cobertura-maven-plugin</artifactId>
  239. <version>2.5.1</version>
  240. <configuration>
  241. <formats>
  242. <format>xml</format>
  243. <!-- if you still want the HTML reports just add another format entry with html as the value -->
  244. </formats>
  245. </configuration>
  246. </plugin>
  247. <plugin>
  248. <artifactId>maven-surefire-plugin</artifactId>
  249. <configuration>
  250. <systemProperties>
  251. <property>
  252. <name>net.sourceforge.cobertura.datafile</name>
  253. <value>target/cobertura/cobertura.ser</value>
  254. </property>
  255. </systemProperties>
  256. </configuration>
  257. </plugin>
  258. <plugin>
  259. <artifactId>maven-release-plugin</artifactId>
  260. <version>2.5.1</version>
  261. <configuration>
  262. <arguments>-Drelease</arguments>
  263. <preparationGoals>clean verify</preparationGoals>
  264. <checkModificationExcludes>
  265. <checkModificationExclude>.Xauthority-*</checkModificationExclude>
  266. </checkModificationExcludes>
  267. <goals>deploy</goals>
  268. </configuration>
  269. <dependencies>
  270. <dependency>
  271. <groupId>org.apache.maven.scm</groupId>
  272. <artifactId>maven-scm-provider-gitexe</artifactId>
  273. <version>1.8.1</version>
  274. </dependency>
  275. </dependencies>
  276. </plugin>
  277. <plugin>
  278. <groupId>org.codehaus.mojo</groupId>
  279. <artifactId>findbugs-maven-plugin</artifactId>
  280. <version>2.5.1</version>
  281. <configuration>
  282. <findbugsXmlOutput>true</findbugsXmlOutput>
  283. </configuration>
  284. </plugin>
  285. <plugin>
  286. <groupId>org.codehaus.mojo</groupId>
  287. <artifactId>buildnumber-maven-plugin</artifactId>
  288. <version>1.2</version>
  289. <executions>
  290. <execution>
  291. <phase>validate</phase>
  292. <goals>
  293. <goal>create</goal>
  294. </goals>
  295. <configuration>
  296. <revisionOnScmFailure>NOREV</revisionOnScmFailure>
  297. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  298. <providerImplementations>
  299. <svn>javasvn</svn>
  300. </providerImplementations>
  301. <timestampFormat>{0,date,yyyy-MM-dd HH:mm:ss}</timestampFormat>
  302. <items>
  303. <item>timestamp</item>
  304. </items>
  305. <shortRevisionLength>7</shortRevisionLength>
  306. </configuration>
  307. </execution>
  308. </executions>
  309. </plugin>
  310. <plugin>
  311. <artifactId>maven-jar-plugin</artifactId>
  312. <version>2.4</version>
  313. <configuration>
  314. <archive>
  315. <manifest>
  316. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  317. </manifest>
  318. <manifestEntries>
  319. <Implementation-Version>${build.version}</Implementation-Version>
  320. <Implementation-Build>${timestamp}</Implementation-Build>
  321. <SCM-Revision>${buildNumber}</SCM-Revision>
  322. <Build-Tag>${build.tag}</Build-Tag>
  323. </manifestEntries>
  324. </archive>
  325. </configuration>
  326. </plugin>
  327. <plugin>
  328. <artifactId>maven-war-plugin</artifactId>
  329. <version>2.2</version>
  330. <configuration>
  331. <archive>
  332. <manifest>
  333. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  334. </manifest>
  335. <manifestEntries>
  336. <Implementation-Version>${build.version}</Implementation-Version>
  337. <Implementation-Build>${timestamp}</Implementation-Build>
  338. <SCM-Revision>${buildNumber}</SCM-Revision>
  339. <Build-Tag>${build.tag}</Build-Tag>
  340. </manifestEntries>
  341. </archive>
  342. </configuration>
  343. </plugin>
  344. </plugins>
  345. </build>
  346. <profiles>
  347. <profile>
  348. <id>jacoco</id>
  349. <activation>
  350. <property>
  351. <name>activate-ci</name>
  352. </property>
  353. </activation>
  354. <build>
  355. <plugins>
  356. <plugin>
  357. <groupId>org.jacoco</groupId>
  358. <artifactId>jacoco-maven-plugin</artifactId>
  359. <version>0.7.3.201502191951</version>
  360. <executions>
  361. <execution>
  362. <id>prepare-agent</id>
  363. <goals>
  364. <goal>prepare-agent</goal>
  365. </goals>
  366. </execution>
  367. </executions>
  368. <configuration>
  369. <propertyName>argLinePrepend</propertyName>
  370. </configuration>
  371. </plugin>
  372. </plugins>
  373. </build>
  374. <properties>
  375. <argLine>${argLinePrepend} ${args}</argLine>
  376. </properties>
  377. </profile>
  378. <profile>
  379. <id>release</id>
  380. <activation>
  381. <property>
  382. <name>release</name>
  383. </property>
  384. </activation>
  385. <build>
  386. <plugins>
  387. <plugin>
  388. <artifactId>maven-changes-plugin</artifactId>
  389. <version>2.7.1</version>
  390. <configuration>
  391. <template>announcement.vm</template>
  392. <statusId>RESOLVED,VERIFIED,CLOSED</statusId>
  393. <subject>[ANNOUNCEMENT] - ${project.artifactId} ${project.version} release!</subject>
  394. <resolutionId>FIXED</resolutionId>
  395. </configuration>
  396. </plugin>
  397. </plugins>
  398. </build>
  399. <properties>
  400. <build.version>${project.version}</build.version>
  401. </properties>
  402. </profile>
  403. <profile>
  404. <id>stat-scm</id>
  405. <reporting>
  406. <plugins>
  407. <plugin>
  408. <groupId>net.sf</groupId>
  409. <artifactId>stat-scm</artifactId>
  410. <version>1.2.0</version>
  411. </plugin>
  412. </plugins>
  413. </reporting>
  414. </profile>
  415. <profile>
  416. <id>releaseTest-profile</id>
  417. <activation>
  418. <property>
  419. <name>performReleaseTest</name>
  420. <value>true</value>
  421. </property>
  422. </activation>
  423. <build>
  424. <plugins>
  425. <plugin>
  426. <artifactId>maven-source-plugin</artifactId>
  427. <version>2.1.2</version>
  428. <executions>
  429. <execution>
  430. <phase>package</phase>
  431. <goals>
  432. <goal>test-jar</goal>
  433. </goals>
  434. </execution>
  435. </executions>
  436. </plugin>
  437. <plugin>
  438. <artifactId>maven-jar-plugin</artifactId>
  439. <executions>
  440. <execution>
  441. <phase>package</phase>
  442. <goals>
  443. <goal>test-jar</goal>
  444. </goals>
  445. </execution>
  446. </executions>
  447. </plugin>
  448. </plugins>
  449. </build>
  450. </profile>
  451. </profiles>
  452. <repositories>
  453. <repository>
  454. <id>central</id>
  455. <name>Scytl Repository</name>
  456. <url>https://nexus.scytl.net/content/groups/public</url>
  457. <releases>
  458. <enabled>true</enabled>
  459. <updatePolicy>never</updatePolicy>
  460. <checksumPolicy>warn</checksumPolicy>
  461. </releases>
  462. <snapshots>
  463. <enabled>true</enabled>
  464. <updatePolicy>always</updatePolicy>
  465. <checksumPolicy>warn</checksumPolicy>
  466. </snapshots>
  467. </repository>
  468. <repository>
  469. <id>snapshots</id>
  470. <name>Scytl Snapshots Repository</name>
  471. <url>https://nexus.scytl.net/content/repositories/snapshots</url>
  472. <releases>
  473. <enabled>false</enabled>
  474. <updatePolicy>never</updatePolicy>
  475. <checksumPolicy>warn</checksumPolicy>
  476. </releases>
  477. <snapshots>
  478. <enabled>true</enabled>
  479. <updatePolicy>always</updatePolicy>
  480. <checksumPolicy>warn</checksumPolicy>
  481. </snapshots>
  482. </repository>
  483. </repositories>
  484. <pluginRepositories>
  485. <pluginRepository>
  486. <id>central</id>
  487. <name>Scytl Plugin Repository</name>
  488. <url>https://nexus.scytl.net/content/groups/public</url>
  489. <releases>
  490. <enabled>true</enabled>
  491. <updatePolicy>never</updatePolicy>
  492. <checksumPolicy>warn</checksumPolicy>
  493. </releases>
  494. <snapshots>
  495. <enabled>true</enabled>
  496. <updatePolicy>always</updatePolicy>
  497. <checksumPolicy>warn</checksumPolicy>
  498. </snapshots>
  499. </pluginRepository>
  500. </pluginRepositories>
  501. <distributionManagement>
  502. <repository>
  503. <id>scytl-nexus</id>
  504. <name>Scytl Releases</name>
  505. <url>https://nexus.scytl.net/content/repositories/releases</url>
  506. </repository>
  507. <snapshotRepository>
  508. <id>scytl-nexus</id>
  509. <name>Scytl Snapshots</name>
  510. <url>https://nexus.scytl.net/content/repositories/snapshots</url>
  511. <!--<uniqueVersion>true</uniqueVersion>-->
  512. </snapshotRepository>
  513. <site>
  514. <id>1</id>
  515. <name>Scytl Distribution Repository</name>
  516. <url>dav:http://sauron.scytl.net/maven/reports/</url>
  517. </site>
  518. </distributionManagement>
  519. <prerequisites>
  520. <maven>3.0</maven>
  521. </prerequisites>
  522. </project>