Compare commits

...

6 Commits

59
pom.xml
View File

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