pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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>net.ranides</groupId>
  5. <artifactId>assira.common</artifactId>
  6. <version>2.0.0</version>
  7. <packaging>pom</packaging>
  8. <url>http://ranides.net/projects/assira</url>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>1.7</maven.compiler.source>
  12. <maven.compiler.target>1.7</maven.compiler.target>
  13. <netbeans.hint.license>WTFPL</netbeans.hint.license>
  14. <project.argLine></project.argLine>
  15. <project.test.memory>512m</project.test.memory>
  16. </properties>
  17. <distributionManagement>
  18. <repository>
  19. <id>maven.ranides.net</id>
  20. <name>maven.ranides.net</name>
  21. <url>ftp://maven.ranides.net/</url>
  22. </repository>
  23. </distributionManagement>
  24. <repositories>
  25. <repository>
  26. <id>ranides.net</id>
  27. <name>ranides.net</name>
  28. <url>http://maven.ranides.net</url>
  29. </repository>
  30. </repositories>
  31. <build>
  32. <extensions>
  33. <extension>
  34. <groupId>org.apache.maven.wagon</groupId>
  35. <artifactId>wagon-ftp</artifactId>
  36. <version>1.0</version>
  37. </extension>
  38. </extensions>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-compiler-plugin</artifactId>
  43. <version>2.3.2</version>
  44. <configuration>
  45. <source>${maven.compiler.source}</source>
  46. <target>${maven.compiler.target}</target>
  47. <compilerArgument>-Xlint:unchecked</compilerArgument>
  48. </configuration>
  49. </plugin>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-source-plugin</artifactId>
  53. <version>2.2.1</version>
  54. <executions>
  55. <execution>
  56. <id>attach-sources</id>
  57. <goals>
  58. <goal>jar-no-fork</goal>
  59. </goals>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-javadoc-plugin</artifactId>
  66. <version>2.9</version>
  67. <executions>
  68. <execution>
  69. <id>javadocs-site</id>
  70. <phase>site</phase>
  71. <goals>
  72. <goal>javadoc</goal>
  73. </goals>
  74. </execution>
  75. </executions>
  76. <configuration>
  77. <links>
  78. <link>http://docs.oracle.com/javase/7/docs/api/</link>
  79. </links>
  80. <version>true</version>
  81. <show>public</show>
  82. </configuration>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-pmd-plugin</artifactId>
  87. <version>3.5</version>
  88. <configuration>
  89. <rulesets>
  90. <ruleset>http://ranides.net/projects/pmd/3/assira.custom.xml</ruleset>
  91. <ruleset>http://ranides.net/projects/pmd/3/assira.standard.xml</ruleset>
  92. <!--
  93. <ruleset>http://dev.ranides.vnet/java/assira.custom.xml</ruleset>
  94. <ruleset>http://dev.ranides.vnet/java/assira.standard.xml</ruleset>
  95. -->
  96. </rulesets>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.jacoco</groupId>
  101. <artifactId>jacoco-maven-plugin</artifactId>
  102. <version>0.7.5.201505241946</version>
  103. <configuration>
  104. <propertyName>project.argLine</propertyName>
  105. </configuration>
  106. <executions>
  107. <execution>
  108. <goals>
  109. <goal>prepare-agent</goal>
  110. </goals>
  111. </execution>
  112. <execution>
  113. <id>report</id>
  114. <phase>prepare-package</phase>
  115. <goals>
  116. <goal>report</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-surefire-plugin</artifactId>
  124. <version>2.18.1</version>
  125. <configuration>
  126. <argLine>@{project.argLine} -Xmx${project.test.memory}</argLine>
  127. <testFailureIgnore>false</testFailureIgnore>
  128. <skip>false</skip>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-jxr-plugin</artifactId>
  134. <version>2.3</version>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. <reporting>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-javadoc-plugin</artifactId>
  143. <version>2.9</version>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-jxr-plugin</artifactId>
  148. <version>2.3</version>
  149. </plugin>
  150. </plugins>
  151. </reporting>
  152. </project>