Compare commits

..

8 Commits

59
pom.xml
View File

@@ -7,13 +7,13 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>acs-community-packaging</artifactId>
<version>25.2.0</version>
<version>7.3.0</version>
<relativePath></relativePath>
</parent>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>cxf-jaxrs-platform-module</artifactId>
<version>1.4-SNAPSHOT</version>
<version>1.2.0-acs-v${acs.version.major}.${acs.version.minor}.${acs.version.revision}</version>
<packaging>jar</packaging>
<name>CXF-based JAX-RS enablement for ACS Platform Module</name>
@@ -52,7 +52,6 @@
<maven.compiler.release>11</maven.compiler.release>
<alfresco.sdk.version>5.2.0</alfresco.sdk.version>
<common-rest-client.version>3.0.3-cxf</common-rest-client.version>
<unimportant.version>[1.0.0,)</unimportant.version>
</properties>
@@ -67,7 +66,6 @@
</dependency>
<!-- Provided by ACS -->
<!-- versions need to be explicit for central-publishing-maven-plugin -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-core</artifactId>
@@ -77,13 +75,11 @@
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${dependency.cxf.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${dependency.jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -101,26 +97,16 @@
<dependency>
<groupId>jakarta.jws</groupId>
<artifactId>jakarta.jws-api</artifactId>
<version>${dependency.jakarta-jws-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<!-- unimportant.version tries to download a milestone release that doesn't exist -->
<version>4.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>${dependency.jakarta-ee-activation.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>${dependency.jakarta-annotation-api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
@@ -140,25 +126,17 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${dependency.jackson.version}</version>
</dependency>
<!-- Version managed by acs-community-packaging, yet not included by ACS -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
</dependency>
<!-- Included in ACS v25.x+ -->
<dependency>
<groupId>com.fasterxml.jackson.jakarta.rs</groupId>
<artifactId>jackson-jakarta-rs-json-provider</artifactId>
<version>${dependency.jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.inteligr8</groupId>
<artifactId>common-rest-client</artifactId>
<version>${common-rest-client.version}</version>
</dependency>
</dependencies>
<build>
@@ -166,7 +144,7 @@
<plugin>
<groupId>io.repaint.maven</groupId>
<artifactId>tiles-maven-plugin</artifactId>
<version>2.40</version>
<version>2.20</version>
<extensions>true</extensions>
<configuration>
<tiles>
@@ -195,7 +173,7 @@
</properties>
</profile>
<profile>
<id>central-publish</id>
<id>ossrh-release</id>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
@@ -212,20 +190,19 @@
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
<!-- for some reason this is required... -->
<executions>
<execution>
<id>deploy</id>
<id>ossrh-deploy</id>
<phase>deploy</phase>
<goals><goal>publish</goal></goals>
<goals><goal>deploy</goal></goals>
</execution>
</executions>
</plugin>