rayin-htmladapter-openhtmltopdf
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>ink.rayin</groupId> <artifactId>rayin-htmladapter-openhtmltopdf</artifactId> <version>1.0.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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"> <parent> <artifactId>rayin-parent</artifactId> <groupId>ink.rayin</groupId> <version>1.0.1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>rayin-htmladapter-openhtmltopdf</artifactId> <version>1.0.1</version> <packaging>jar</packaging> <properties> <!-- Define the version of OPEN HTML TO PDF in the properties section of your POM. --> <openhtml.version>1.0.10</openhtml.version> <pdfbox.version>2.0.25</pdfbox.version> </properties> <dependencies> <dependency> <groupId>ink.rayin</groupId> <artifactId>rayin-htmladapter-base</artifactId> </dependency> <dependency> <groupId>ink.rayin</groupId> <artifactId>rayin-tools</artifactId> </dependency> <dependency> <!-- ALWAYS required, usually included transitively. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-core</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <!-- Required for PDF output. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-pdfbox</artifactId> <version>${openhtml.version}</version> <exclusions> <exclusion> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> </exclusion> </exclusions> </dependency> <dependency> <!-- Required for image output only. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-java2d</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <!-- Optional, leave out if you do not need right-to-left or bi-directional text support. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-rtl-support</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <!-- Optional, leave out if you do not need logging via slf4j. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-slf4j</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <!-- Optional, leave out if you do not need SVG support. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-svg-support</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <!-- Optional, leave out if you do not need MathML support. --> <!-- Introduced in RC-13. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-mathml-support</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <!-- Optional, leave out if you do not need MathML support. --> <!-- Introduced in RC-13. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-latex-support</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-objects</artifactId> <version>${openhtml.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>${pdfbox.version}</version> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>fontbox</artifactId> <version>2.0.25</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>2.4.0</version> </dependency> <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> <version>1.14.3</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> <version>1.70</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk14</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk15on</artifactId> <version>1.70</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.0.1</version> <configuration> <!-- 防止被过滤转码,导致pdf无法读取 --> <nonFilteredFileExtensions> <nonFilteredFileExtension>pdf</nonFilteredFileExtension> <nonFilteredFileExtension>ttf</nonFilteredFileExtension> <nonFilteredFileExtension>ttc</nonFilteredFileExtension> </nonFilteredFileExtensions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>