Skip to content
João Pedro Carvalho Gomes edited this page Sep 27, 2021 · 4 revisions

Commons-ip

Commons-ip is a Java library to manipulate EARK-IP packages.

Import commons-ip using maven

<?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>org.example</groupId>
    <artifactId>webinar-demo</artifactId>
    <version>1.0</version>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
    </properties>

    <build>
        (...)
    </build>

    <repositories>
        <repository>
            <id>KEEPS-Artifacts</id>
            <name>KEEP Artifacts-releases</name>
            <url>https://artifactory.keep.pt/artifactory/keep</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.roda-project</groupId>
            <artifactId>commons-ip2</artifactId>
            <version>2.0.0-alpha2</version>
        </dependency>
    </dependencies>
</project>

Examples: