Installation of Aspose.ZIP for Java
Installing Aspose.ZIP for Java
Aspose hosts all Java APIs on Aspose Artifactory. You can easily use Aspose.ZIP for Java API directly in your Maven Projects with simple configurations.
Specify Maven Repository Configuration
To get started with Aspose.ZIP for Java in your Maven project, you first need to specify the Aspose Maven Repository configuration in your pom.xml
file. Add the following snippet to the <repositories>
section of your pom.xml
:
1 <repositories>
2 <repository>
3 <id>AsposeJavaAPI</id>
4 <name>Aspose Java API</name>
5 <url>https://releases.aspose.com/java/repo/</url>
6 </repository>
7 </repositories>
Define Aspose.ZIP for Java API Dependency
Next, define the Aspose.ZIP for Java API dependency by adding the following snippet to the
1 <dependency>
2 <groupId>com.aspose</groupId>
3 <artifactId>aspose-zip</artifactId>
4 <version>25.2</version>
5 </dependency>
Finalizing the Setup
After completing the above steps, the Aspose.ZIP for Java dependency will be successfully added to your Maven project. Maven will automatically download the required libraries when you build your project.