pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. </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. <dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <artifactId>assira.asm</artifactId>
  28. <groupId>net.ranides</groupId>
  29. <version>5.0.4</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>net.ranides</groupId>
  33. <artifactId>assira.junit</artifactId>
  34. <version>2.0.1</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>eu.vitaliy</groupId>
  39. <artifactId>mazovia-charset</artifactId>
  40. <version>1.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>junit</groupId>
  44. <artifactId>junit</artifactId>
  45. <version>4.12</version>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.slf4j</groupId>
  50. <artifactId>slf4j-api</artifactId>
  51. <version>1.7.13</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-simple</artifactId>
  56. <version>1.7.13</version>
  57. <scope>test</scope>
  58. </dependency>
  59. </dependencies>
  60. </dependencyManagement>
  61. <repositories>
  62. <repository>
  63. <id>ranides.net</id>
  64. <name>ranides.net</name>
  65. <url>http://maven.ranides.net</url>
  66. </repository>
  67. </repositories>
  68. <build>
  69. <extensions>
  70. <extension>
  71. <groupId>org.apache.maven.wagon</groupId>
  72. <artifactId>wagon-ftp</artifactId>
  73. <version>1.0</version>
  74. </extension>
  75. </extensions>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-compiler-plugin</artifactId>
  80. <version>2.3.2</version>
  81. <configuration>
  82. <source>${maven.compiler.source}</source>
  83. <target>${maven.compiler.target}</target>
  84. <compilerArgument>-Xlint:unchecked</compilerArgument>
  85. </configuration>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-source-plugin</artifactId>
  90. <version>2.2.1</version>
  91. <executions>
  92. <execution>
  93. <id>attach-sources</id>
  94. <goals>
  95. <goal>jar-no-fork</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-javadoc-plugin</artifactId>
  103. <version>2.9</version>
  104. <executions>
  105. <execution>
  106. <id>javadocs-site</id>
  107. <phase>site</phase>
  108. <goals>
  109. <goal>javadoc</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. <configuration>
  114. <links>
  115. <link>http://docs.oracle.com/javase/7/docs/api/</link>
  116. </links>
  117. <version>true</version>
  118. <show>public</show>
  119. </configuration>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-pmd-plugin</artifactId>
  124. <version>3.5</version>
  125. <configuration>
  126. <rulesets>
  127. <ruleset>http://ranides.net/projects/pmd/3/assira.custom.xml</ruleset>
  128. <ruleset>http://ranides.net/projects/pmd/3/assira.standard.xml</ruleset>
  129. <!--
  130. <ruleset>http://dev.ranides.vnet/java/assira.custom.xml</ruleset>
  131. <ruleset>http://dev.ranides.vnet/java/assira.standard.xml</ruleset>
  132. -->
  133. </rulesets>
  134. </configuration>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.jacoco</groupId>
  138. <artifactId>jacoco-maven-plugin</artifactId>
  139. <version>0.7.5.201505241946</version>
  140. <configuration>
  141. <propertyName>project.argLine</propertyName>
  142. </configuration>
  143. <executions>
  144. <execution>
  145. <goals>
  146. <goal>prepare-agent</goal>
  147. </goals>
  148. </execution>
  149. <execution>
  150. <id>report</id>
  151. <phase>prepare-package</phase>
  152. <goals>
  153. <goal>report</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-surefire-plugin</artifactId>
  161. <version>2.18.1</version>
  162. <configuration>
  163. <argLine>-Dfile.encoding=${project.build.sourceEncoding} @{project.argLine} -Xmx${project.test.memory}</argLine>
  164. <testFailureIgnore>false</testFailureIgnore>
  165. <skip>false</skip>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-jxr-plugin</artifactId>
  171. <version>2.3</version>
  172. </plugin>
  173. </plugins>
  174. </build>
  175. <reporting>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-javadoc-plugin</artifactId>
  180. <version>2.9</version>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-jxr-plugin</artifactId>
  185. <version>2.3</version>
  186. </plugin>
  187. </plugins>
  188. </reporting>
  189. </project>