convert-html-to-pdf
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.vdaburon</groupId> <artifactId>convert-html-to-pdf</artifactId> <version>1.0</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"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.vdaburon</groupId> <artifactId>convert-html-to-pdf</artifactId> <version>1.0</version> <name>Convert a Html page to PDF document</name> <description>Convert a simple HTML page to PDF document</description> <url>https://github.com/vdaburon/convert-html-to-pdf</url> <inceptionYear>2025</inceptionYear> <licenses> <license> <!-- Because com.openhtmltopdf use this license --> <name>GNU Lesser General Public License (LGPL), version 3</name> <url>http://www.gnu.org/licenses/lgpl.html</url> </license> </licenses> <developers> <developer> <id>vdaburon</id> <name>Vincent DABURON</name> <email>vdaburon at gmail dot com</email> <roles> <role>architect</role> <role>developer</role> </roles> </developer> </developers> <issueManagement> <system>jmeter-plugins-google-group</system> <url>https://groups.google.com/g/jmeter-plugins</url> </issueManagement> <scm> <connection>https://github.com/vdaburon/convert-html-to-pdf.git</connection> <developerConnection>https://github.com/vdaburon/convert-html-to-pdf.git</developerConnection> <url>https://github.com/vdaburon/convert-html-to-pdf</url> <tag>HEAD</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <openhtml.version>1.0.10</openhtml.version> <tidy.version>1.0.5</tidy.version> <mavenCentralAutoReleaseAfterClose>false</mavenCentralAutoReleaseAfterClose> </properties> <dependencies> <dependency> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-core</artifactId> <version>${openhtml.version}</version> </dependency> <dependency> <!-- Required for PDF output. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-pdfbox</artifactId> <version>${openhtml.version}</version> </dependency> <dependency> <!-- Required for image output only. --> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-java2d</artifactId> <version>${openhtml.version}</version> </dependency> <dependency> <!-- Convert a HTML page to a well formated XHTML page. --> <groupId>com.github.jtidy</groupId> <artifactId>jtidy</artifactId> <version>${tidy.version}</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.9.0</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.12.1</version> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.12.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</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</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- create the uber jar : mvn clean package --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.7.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <archive> <manifest> <mainClass> io.github.vdaburon.converthtml2pdf.Html2PDFConvertor </mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- deploy jar in maven central or stagging only : mvn clean deploy if autoReleaseAfterClose == true then release in maven central; if autoReleaseAfterClose == false then release in stagging only not maven central --> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.9.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central_publishing</publishingServerId> <centralBaseUrl>https://central.sonatype.com</centralBaseUrl> <waitUntil>published</waitUntil> <autoPublish>${mavenCentralAutoReleaseAfterClose}</autoPublish> </configuration> </plugin> </plugins> </build> </project>