mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2024-11-17 04:17:06 +01:00
Alan Orth
32a14c0ea5
The nexus-staging-maven-plugin replaces maven-deploy-plugin. I am not sure if my configuration is correct yet. See: https://github.com/sonatype/nexus-maven-plugins/tree/main/staging/maven-plugin
132 lines
4.4 KiB
XML
132 lines
4.4 KiB
XML
<?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.ilri.cgspace</groupId>
|
|
<artifactId>cgspace-java-helpers</artifactId>
|
|
<version>7.6.1.4-SNAPSHOT</version>
|
|
|
|
<name>cgspace-java-helpers</name>
|
|
<url>https://github.com/ilri/cgspace-java-helpers</url>
|
|
<description>Curation tasks and helper scripts for the CGSpace institutional repository</description>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Alan Orth</name>
|
|
<email>maven@mjanja.mozmail.com</email>
|
|
<organizationUrl>https://mjanja.ch</organizationUrl>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>GPL-3.0-only</name>
|
|
<url>https://spdx.org/licenses/GPL-3.0-only.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.dspace</groupId>
|
|
<artifactId>dspace-api</artifactId>
|
|
<version>7.6.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/ilri/cgspace-java-helpers.git</connection>
|
|
<developerConnection>scm:git:ssh://github.com:ilri/cgspace-java-helpers.git</developerConnection>
|
|
<url>https://github.com/ilri/cgspace-java-helpers</url>
|
|
</scm>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
<plugins>
|
|
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.3.2</version>
|
|
</plugin>
|
|
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.2.5</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.12.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.7.0</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<repositories>
|
|
<!-- Check Maven Central first (before other repos below) -->
|
|
<repository>
|
|
<id>maven-central</id>
|
|
<url>https://repo.maven.apache.org/maven2</url>
|
|
</repository>
|
|
<!-- For Handle Server -->
|
|
<repository>
|
|
<id>handle.net</id>
|
|
<url>https://handle.net/maven</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|