pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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.1</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.8</maven.compiler.source>
  12. <maven.compiler.target>1.8</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. <assira.junit.debug>false</assira.junit.debug>
  17. <org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>none</org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>
  18. <org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>4</org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>
  19. <org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>4</org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>
  20. <org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>4</org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>
  21. <org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>120</org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>
  22. <org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>true</org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>
  23. <org-netbeans-modules-editor-indent.CodeStyle.usedProfile>project</org-netbeans-modules-editor-indent.CodeStyle.usedProfile>
  24. </properties>
  25. <distributionManagement>
  26. <repository>
  27. <id>maven.ranides.net</id>
  28. <name>maven.ranides.net</name>
  29. <url>ftp://maven.ranides.net/</url>
  30. </repository>
  31. </distributionManagement>
  32. <repositories>
  33. <repository>
  34. <id>ranides.net</id>
  35. <name>ranides.net</name>
  36. <url>http://maven.ranides.net</url>
  37. </repository>
  38. </repositories>
  39. <build>
  40. <extensions>
  41. <extension>
  42. <groupId>org.apache.maven.wagon</groupId>
  43. <artifactId>wagon-ftp</artifactId>
  44. <version>1.0</version>
  45. </extension>
  46. </extensions>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-compiler-plugin</artifactId>
  51. <version>2.3.2</version>
  52. <configuration>
  53. <source>${maven.compiler.source}</source>
  54. <target>${maven.compiler.target}</target>
  55. <compilerArgument>-Xlint:unchecked</compilerArgument>
  56. </configuration>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-source-plugin</artifactId>
  61. <version>2.2.1</version>
  62. <executions>
  63. <execution>
  64. <id>attach-sources</id>
  65. <goals>
  66. <goal>jar-no-fork</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-javadoc-plugin</artifactId>
  74. <version>2.9</version>
  75. <executions>
  76. <execution>
  77. <id>javadocs-site</id>
  78. <phase>site</phase>
  79. <goals>
  80. <goal>javadoc</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. <configuration>
  85. <links>
  86. <link>http://docs.oracle.com/javase/7/docs/api/</link>
  87. </links>
  88. <version>true</version>
  89. <show>public</show>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-pmd-plugin</artifactId>
  95. <version>3.5</version>
  96. <configuration>
  97. <rulesets>
  98. <ruleset>rulesets/java/assira.xml</ruleset>
  99. </rulesets>
  100. </configuration>
  101. <dependencies>
  102. <dependency>
  103. <groupId>net.ranides</groupId>
  104. <artifactId>assira.rules</artifactId>
  105. <version>2.0.1</version>
  106. </dependency>
  107. </dependencies>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.jacoco</groupId>
  111. <artifactId>jacoco-maven-plugin</artifactId>
  112. <version>0.7.5.201505241946</version>
  113. <configuration>
  114. <propertyName>project.argLine</propertyName>
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <goals>
  119. <goal>prepare-agent</goal>
  120. </goals>
  121. </execution>
  122. <execution>
  123. <id>report</id>
  124. <phase>prepare-package</phase>
  125. <goals>
  126. <goal>report</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-surefire-plugin</artifactId>
  134. <version>2.18.1</version>
  135. <configuration>
  136. <argLine>-Dassira.junit.debug=@{assira.junit.debug} -Dfile.encoding=${project.build.sourceEncoding} @{project.argLine} -Xmx${project.test.memory}</argLine>
  137. <testFailureIgnore>false</testFailureIgnore>
  138. <skip>false</skip>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-jxr-plugin</artifactId>
  144. <version>2.3</version>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. <reporting>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-javadoc-plugin</artifactId>
  153. <version>2.9</version>
  154. </plugin>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-jxr-plugin</artifactId>
  158. <version>2.3</version>
  159. </plugin>
  160. </plugins>
  161. </reporting>
  162. <dependencyManagement>
  163. <dependencies>
  164. <dependency>
  165. <groupId>net.ranides</groupId>
  166. <artifactId>assira</artifactId>
  167. <version>2.0.1</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>net.ranides</groupId>
  171. <artifactId>assira.asm</artifactId>
  172. <version>5.0.4</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>net.ranides</groupId>
  176. <artifactId>assira.junit</artifactId>
  177. <version>2.0.1</version>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>junit</groupId>
  182. <artifactId>junit</artifactId>
  183. <version>4.12</version>
  184. <scope>test</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>net.ranides</groupId>
  188. <artifactId>caliper</artifactId>
  189. <version>1.0L</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.slf4j</groupId>
  193. <artifactId>slf4j-api</artifactId>
  194. <version>1.7.13</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.slf4j</groupId>
  198. <artifactId>slf4j-simple</artifactId>
  199. <version>1.7.13</version>
  200. <scope>test</scope>
  201. </dependency>
  202. <dependency>
  203. <groupId>net.sourceforge.pmd</groupId>
  204. <artifactId>pmd-java</artifactId>
  205. <version>5.3.3</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.google.code.findbugs</groupId>
  209. <artifactId>annotations</artifactId>
  210. <version>3.0.1u2</version>
  211. <scope>provided</scope>
  212. </dependency>
  213. </dependencies>
  214. </dependencyManagement>
  215. </project>