pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>app.revanced</groupId>
  7. <artifactId>jadb</artifactId>
  8. <version>1.2.1</version>
  9. <url>https://github.com/vidstige/jadb</url>
  10. <licenses>
  11. <license>
  12. <name>The Apache License, Version 2.0</name>
  13. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  14. </license>
  15. </licenses>
  16. <developers>
  17. <developer>
  18. <id>vidstige</id>
  19. <name>Samuel Carlsson</name>
  20. <email>samuel.carlsson@gmai.com</email>
  21. <url>https://github.com/vidstige</url>
  22. </developer>
  23. </developers>
  24. <properties>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  27. <maven.compiler.target>1.7</maven.compiler.target>
  28. <maven.compiler.source>1.7</maven.compiler.source>
  29. <mockito-core.version>2.28.2</mockito-core.version>
  30. </properties>
  31. <dependencies>
  32. <dependency>
  33. <groupId>junit</groupId>
  34. <artifactId>junit</artifactId>
  35. <version>4.13.1</version>
  36. <scope>test</scope>
  37. </dependency>
  38. <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
  39. <dependency>
  40. <groupId>org.mockito</groupId>
  41. <artifactId>mockito-core</artifactId>
  42. <version>${mockito-core.version}</version>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <sourceDirectory>src</sourceDirectory>
  47. <testSourceDirectory>test</testSourceDirectory>
  48. <plugins>
  49. <!-- Version plugin is a plugin which can:
  50. * Create report about all new versions for both code dependencies and maven plugins themselves
  51. * Update them automatically (mvn versions:use-latest-versions and so on)
  52. Usage - most commonly used patterns:
  53. * `mvn versions:help` - will show all available tasks for this plugin with short description
  54. * `mvn versions:dependency-updates-report` produces a report of those project dependencies which have newer versions available.
  55. Will be in 'target\site' folder
  56. * `mvn versions:plugin-updates-report` produces a report of those plugins which have newer versions available.
  57. Will be in 'target\site' folder
  58. * `mvn versions:use-latest-versions` searches the pom for all versions which have been a newer version and replaces them with the latest version.
  59. For more info see official [documentation](http://www.mojohaus.org/versions-maven-plugin/)
  60. -->
  61. <plugin>
  62. <groupId>org.codehaus.mojo</groupId>
  63. <artifactId>versions-maven-plugin</artifactId>
  64. <version>2.3</version>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.5.1</version>
  70. <configuration>
  71. <source>1.7</source>
  72. <target>1.7</target>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-source-plugin</artifactId>
  78. <version>3.0.1</version>
  79. <executions>
  80. <execution>
  81. <phase>verify</phase>
  82. <goals>
  83. <goal>jar-no-fork</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-release-plugin</artifactId>
  91. <version>2.5.3</version>
  92. <configuration>
  93. <useReleaseProfile>false</useReleaseProfile>
  94. <releaseProfiles>release</releaseProfiles>
  95. <autoVersionSubmodules>true</autoVersionSubmodules>
  96. <goals>deploy</goals>
  97. </configuration>
  98. <dependencies>
  99. <dependency>
  100. <groupId>org.apache.maven.scm</groupId>
  101. <artifactId>maven-scm-provider-gitexe</artifactId>
  102. <version>1.8.1</version>
  103. </dependency>
  104. </dependencies>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.jacoco</groupId>
  108. <artifactId>jacoco-maven-plugin</artifactId>
  109. <version>0.8.4</version>
  110. <executions>
  111. <execution>
  112. <goals>
  113. <goal>prepare-agent</goal>
  114. </goals>
  115. </execution>
  116. <execution>
  117. <id>report</id>
  118. <phase>test</phase>
  119. <goals>
  120. <goal>report</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-surefire-plugin</artifactId>
  128. <version>2.19.1</version>
  129. <configuration>
  130. <includes>
  131. <include>**/*.java</include>
  132. </includes>
  133. <excludes>
  134. <!--Exclude integration tests -->
  135. <exclude>se.vidstige.jadb.test.integration.*</exclude>
  136. <!--Mocks and data-->
  137. <exclude>**/data/*</exclude>
  138. <exclude>**/fakes/*</exclude>
  139. </excludes>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-failsafe-plugin</artifactId>
  145. <version>2.19.1</version>
  146. <configuration>
  147. <includes>
  148. <include>**/*.java</include>
  149. </includes>
  150. <excludes>
  151. <!--Include only integration tests -->
  152. <include>se.vidstige.jadb.test.integration.*</include>
  153. <!--Mocks and data-->
  154. <exclude>**/data/*</exclude>
  155. <exclude>**/fakes/*</exclude>
  156. </excludes>
  157. </configuration>
  158. <executions>
  159. <execution>
  160. <goals>
  161. <goal>integration-test</goal>
  162. <goal>verify</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. </plugins>
  168. </build>
  169. <profiles>
  170. <profile>
  171. <id>release</id>
  172. <build>
  173. <plugins>
  174. <plugin>
  175. <artifactId>maven-source-plugin</artifactId>
  176. <executions>
  177. <execution>
  178. <id>attach-sources</id>
  179. <goals>
  180. <goal>jar</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-javadoc-plugin</artifactId>
  188. <version>2.10.4</version>
  189. <executions>
  190. <execution>
  191. <id>attach-javadocs</id>
  192. <goals>
  193. <goal>jar</goal>
  194. </goals>
  195. </execution>
  196. </executions>
  197. </plugin>
  198. </plugins>
  199. </build>
  200. </profile>
  201. </profiles>
  202. <scm>
  203. <url>scm:git:git@github.com:vidstige/jadb.git</url>
  204. <connection>scm:git:git@github.com:vidstige/jadb.git</connection>
  205. <developerConnection>scm:git:git@github.com:vidstige/jadb.git</developerConnection>
  206. <tag>HEAD</tag>
  207. </scm>
  208. </project>