xsoup-0.3.1.pom 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. <parent>
  4. <groupId>org.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>7</version>
  7. </parent>
  8. <groupId>us.codecraft</groupId>
  9. <artifactId>xsoup</artifactId>
  10. <version>0.3.1</version>
  11. <modelVersion>4.0.0</modelVersion>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. </properties>
  17. <name>xsoup</name>
  18. <description>
  19. HTML XPath selector based on Jsoup.
  20. </description>
  21. <url>https://github.com/code4craft/xsoup/</url>
  22. <developers>
  23. <developer>
  24. <id>code4craft</id>
  25. <name>Yihua huang</name>
  26. <email>code4crafer@gmail.com</email>
  27. </developer>
  28. </developers>
  29. <scm>
  30. <connection>scm:git:git@github.com:code4craft/xsoup.git</connection>
  31. <developerConnection>scm:git:git@github.com:code4craft/xsoup.git</developerConnection>
  32. <url>git@github.com:code4craft/xsoup.git</url>
  33. <tag>xsoup-0.3.1</tag>
  34. </scm>
  35. <licenses>
  36. <license>
  37. <name>The MIT License</name>
  38. <url>http://jsoup.com/license</url>
  39. <distribution>repo</distribution>
  40. </license>
  41. </licenses>
  42. <dependencies>
  43. <dependency>
  44. <groupId>junit</groupId>
  45. <artifactId>junit</artifactId>
  46. <version>4.7</version>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.jsoup</groupId>
  51. <artifactId>jsoup</artifactId>
  52. <version>1.8.3</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.assertj</groupId>
  56. <artifactId>assertj-core</artifactId>
  57. <version>1.5.0</version>
  58. </dependency>
  59. </dependencies>
  60. <build>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <version>3.1</version>
  66. <configuration>
  67. <source>1.6</source>
  68. <target>1.6</target>
  69. <encoding>UTF-8</encoding>
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-dependency-plugin</artifactId>
  75. <version>2.8</version>
  76. <executions>
  77. <execution>
  78. <id>copy-dependencies</id>
  79. <phase>package</phase>
  80. <goals>
  81. <goal>copy-dependencies</goal>
  82. </goals>
  83. <configuration>
  84. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  85. <overWriteReleases>false</overWriteReleases>
  86. <overWriteSnapshots>false</overWriteSnapshots>
  87. <overWriteIfNewer>true</overWriteIfNewer>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-resources-plugin</artifactId>
  95. <version>2.6</version>
  96. <configuration>
  97. <encoding>UTF-8</encoding>
  98. </configuration>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-source-plugin</artifactId>
  103. <version>2.2.1</version>
  104. <executions>
  105. <execution>
  106. <id>attach-sources</id>
  107. <goals>
  108. <goal>jar-no-fork</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-javadoc-plugin</artifactId>
  116. <version>2.9.1</version>
  117. <executions>
  118. <execution>
  119. <id>attach-javadocs</id>
  120. <goals>
  121. <goal>jar</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-release-plugin</artifactId>
  129. <version>2.5</version>
  130. <configuration>
  131. <autoVersionSubmodules>true</autoVersionSubmodules>
  132. <useReleaseProfile>false</useReleaseProfile>
  133. <releaseProfiles>release</releaseProfiles>
  134. <goals>deploy</goals>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <profiles>
  140. <profile>
  141. <id>release</id>
  142. <build>
  143. <plugins>
  144. <!-- Source -->
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-source-plugin</artifactId>
  148. <version>2.2.1</version>
  149. <executions>
  150. <execution>
  151. <phase>package</phase>
  152. <goals>
  153. <goal>jar-no-fork</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. <!-- Javadoc -->
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-javadoc-plugin</artifactId>
  162. <version>2.9.1</version>
  163. <executions>
  164. <execution>
  165. <phase>package</phase>
  166. <goals>
  167. <goal>jar</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. <!-- GPG -->
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-gpg-plugin</artifactId>
  176. <version>1.5</version>
  177. <executions>
  178. <execution>
  179. <phase>verify</phase>
  180. <goals>
  181. <goal>sign</goal>
  182. </goals>
  183. </execution>
  184. </executions>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.sonatype.plugins</groupId>
  188. <artifactId>nexus-staging-maven-plugin</artifactId>
  189. <version>1.6</version>
  190. <extensions>true</extensions>
  191. <configuration>
  192. <serverId>sonatype-nexus-staging</serverId>
  193. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  194. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. <distributionManagement>
  200. <snapshotRepository>
  201. <id>sonatype-nexus-snapshots</id>
  202. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  203. </snapshotRepository>
  204. <repository>
  205. <id>sonatype-nexus-staging</id>
  206. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  207. </repository>
  208. </distributionManagement>
  209. </profile>
  210. </profiles>
  211. </project>