Installing iText pdfSweep for Java developers
How to install pdfSweep Java version
Thank you for your interest in our pdfSweep redaction add-on, we hope you will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation process, from downloading iText pdfSweep to adding the dependency to your Java build tool.
If you require any extra help please have a look at our FAQ or the community discussion at StackOverflow. If you are interested in getting support from our in-house developers and/or a license key for commercial iText products, you will need to acquire a commercial license.
Before you install
If you want to use pdfSweep for non-commercial purposes, make sure you have read and agreed upon the AGPL license. All downloads we offer open-source come with the AGPL license model.
If you want to use pdfSweep for commercial purposes, make sure you have purchased a commercial license of iText Core and pdfSweep. All downloads we offer closed-source come with our commercial license model.
For closed-source pdfSweep installation, download and install the proper license key library, you can find the installation guide here.
Check the compatibility matrix to ensure the version you specify when adding the add-on's dependency matches the version of iText Core you have a license for.
Download the modules (.jar) of iText Core/Community and pdfSweep (ZIP files) from Maven Central or the iText Artifactory Server.
Install iText Core or Community, you can find the installation guide here.
Important remark: in our installation guides we use Maven as a build tool for Java.
Installation
Using the Central Repository
iText pdfSweep is available via Maven on The Central repository. Simply add iText pdSweep as a dependency to your pom.xml:
Using the iText Artifactory Server
iText pdfSweep is also available on the iText Artifactory server. Here you can also find the license key library, and pdfSweep add-on - you require an additional license key if you want to use pdfSweep closed-source (commercial purposes).
You can add this server as an additional Maven repository in the repositories section of your pom.xml or settings.xml, as described in the Maven documentation. Maven will then automatically query this repository for the add-on .jar files.
You can also browse the iText Artifactory server and download jars manually.
1. Add repository to .pom project file
<!-- All add-ons and iText Core-->
<repositories>
<repository>
<id>itext</id>
<name>iText Repository - releases</name>
<url>https://repo.itextsupport.com/releases</url>
</repository>
</repositories>
2. Add the pdfSweep dependencies to .pom project file
<properties>
<itext.pdfsweep.version>$release-pdfSweep-variable</itext.pdfsweep.version>
</properties>
<dependencies>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>cleanup</artifactId>
<version>${itext.pdfsweep.version}</version>
</dependency>
</dependencies>
iText pdfSweep Java on GitHub
The source code is available on GitHub.
You can download the modules (.jar) of iText pdfSweep in ZIP files from Maven Central: pdfSweep.