pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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>com.github.jhonnymertz</groupId>
  5. <artifactId>java-wkhtmltopdf-wrapper</artifactId>
  6. <version>1.1.15-RELEASE</version>
  7. <packaging>jar</packaging>
  8. <name>Java WkHtmlToPdf Wrapper</name>
  9. <description>A Java based wrapper for the wkhtmltopdf command line tool. As the name implies, it uses WebKit to convert HTML documents to PDFs.</description>
  10. <url>https://github.com/jhonnymertz/java-wkhtmltopdf-wrapper</url>
  11. <issueManagement>
  12. <url>https://github.com/jhonnymertz/java-wkhtmltopdf-wrapper/issues</url>
  13. <system>GitHub Issues</system>
  14. </issueManagement>
  15. <licenses>
  16. <license>
  17. <name>MIT License</name>
  18. <url>http://www.opensource.org/licenses/mit-license.php</url>
  19. <distribution>repo</distribution>
  20. </license>
  21. </licenses>
  22. <scm>
  23. <url>https://github.com/jhonnymertz/java-wkhtmltopdf-wrapper</url>
  24. <connection>scm:git:git://github.com/jhonnymertz/java-wkhtmltopdf-wrapper.git</connection>
  25. <developerConnection>scm:git:git@github.com:jhonnymertz/java-wkhtmltopdf-wrapper.git</developerConnection>
  26. </scm>
  27. <developers>
  28. <developer>
  29. <email>jhonnymertz@gmail.com</email>
  30. <name>Jhonny Mertz</name>
  31. <url>https://github.com/jhonnymertz</url>
  32. <id>jhonnymertz</id>
  33. </developer>
  34. </developers>
  35. <properties>
  36. <maven.compiler.source>1.8</maven.compiler.source>
  37. <maven.compiler.target>1.8</maven.compiler.target>
  38. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  39. </properties>
  40. <dependencies>
  41. <dependency>
  42. <groupId>org.apache.commons</groupId>
  43. <artifactId>commons-lang3</artifactId>
  44. <version>3.9</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>commons-io</groupId>
  48. <artifactId>commons-io</artifactId>
  49. <version>2.7</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.slf4j</groupId>
  53. <artifactId>slf4j-api</artifactId>
  54. <version>1.7.25</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-simple</artifactId>
  59. <version>1.7.5</version>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>junit</groupId>
  64. <artifactId>junit</artifactId>
  65. <version>4.13.2</version>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.pdfbox</groupId>
  70. <artifactId>pdfbox</artifactId>
  71. <version>2.0.24</version>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.mockito</groupId>
  76. <artifactId>mockito-core</artifactId>
  77. <version>3.3.3</version>
  78. <scope>test</scope>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <!-- Separates the unit tests from the integration tests. -->
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-surefire-plugin</artifactId>
  87. <configuration>
  88. <!-- Skip the default running of this plug-in (or everything is run twice...see below) -->
  89. <skip>true</skip>
  90. <!-- Show 100% of the lines from the stack trace (doesn't work) -->
  91. <trimStackTrace>false</trimStackTrace>
  92. </configuration>
  93. <version>2.22.2</version>
  94. <executions>
  95. <execution>
  96. <id>unit-tests</id>
  97. <phase>test</phase>
  98. <goals>
  99. <goal>test</goal>
  100. </goals>
  101. <configuration>
  102. <!-- Never skip running the tests when the test phase is invoked -->
  103. <skip>false</skip>
  104. <includes>
  105. <!-- Include unit tests within integration-test phase. -->
  106. <include>**/*Tests.java</include>
  107. </includes>
  108. <excludes>
  109. <!-- Exclude integration tests within (unit) test phase. -->
  110. <exclude>**/*IntegrationTests.java</exclude>
  111. </excludes>
  112. </configuration>
  113. </execution>
  114. <execution>
  115. <id>integration-tests</id>
  116. <phase>integration-test</phase>
  117. <goals>
  118. <goal>test</goal>
  119. </goals>
  120. <configuration>
  121. <!-- Never skip running the tests when the integration-test phase is invoked -->
  122. <skip>false</skip>
  123. <includes>
  124. <!-- Include integration tests within integration-test phase. -->
  125. <include>**/*IntegrationTests.java</include>
  126. </includes>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <distributionManagement>
  134. <repository>
  135. <id>ossrh</id>
  136. <name>Central Repository OSSRH</name>
  137. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  138. </repository>
  139. </distributionManagement>
  140. </project>