minor POM fixes

This commit is contained in:
2022-09-30 22:58:00 -04:00
parent 95bb86ee6c
commit bd03bd8cad

21
pom.xml
View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -43,7 +44,6 @@
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release> <maven.compiler.release>11</maven.compiler.release>
<aps.port>8081</aps.port>
<unimportant.version>[1.0.0,)</unimportant.version> <unimportant.version>[1.0.0,)</unimportant.version>
</properties> </properties>
@@ -60,27 +60,31 @@
</dependencyManagement> </dependencyManagement>
<dependencies> <dependencies>
<!--
All 'provided' dependencies are already provided by ACS OOTB
They are declared here for one of two reasons:
(1) Prevent dependencies of other non-provided depenencies from being included
(2) Prevent projects depending on this project from including these dupilcate libraries
-->
<dependency> <dependency>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-repository</artifactId> <artifactId>alfresco-repository</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId> <groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId> <artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson.version}</version> <version>${jackson.version}</version>
</dependency> </dependency>
<!-- 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-frontend-jaxrs</artifactId> <artifactId>cxf-rt-frontend-jaxrs</artifactId>
</dependency> </dependency>
<!-- Already provided by ACS -->
<!--
We need to specify versions here, unlike when we list these in the
dependencyManagement block. However, that block does not get
inherited by dependent projects.
-->
<dependency> <dependency>
<groupId>org.apache.cxf</groupId> <groupId>org.apache.cxf</groupId>
<artifactId>cxf-core</artifactId> <artifactId>cxf-core</artifactId>
@@ -271,6 +275,9 @@
</profile> </profile>
<profile> <profile>
<id>acs72</id> <id>acs72</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties> <properties>
<alfresco.sdk.version>5.2.0</alfresco.sdk.version> <alfresco.sdk.version>5.2.0</alfresco.sdk.version>
<alfresco.platform.version>7.2.0</alfresco.platform.version> <alfresco.platform.version>7.2.0</alfresco.platform.version>