12-07-2022 08:19 PM
Hello,
I'm trying to upgrade Alfresco process services from 1.9 to 2. After replacing activiti version in the pom.xml from 1.9 to 2, I'm getting the following dependency error,
If I change the activiti version back to 1.9 then the issue disapears. I can see the aspose repository of version 18.4 which is a dependency of activiti 1.9 but I don't see the aspose version 21.6 which I believe is a dependency of process services v2.0. Here is my pom.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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.activiti.extension</groupId>
<artifactId>activiti-extension</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>activiti-extension</name>
<description>Activiti Extension Module that produces a JAR file with Java extensions such as service task delegates.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Properties used in dependency declarations -->
<activiti.groupId>com.activiti</activiti.groupId>
<activiti.version>2.0.0</activiti.version>
<activiti.engine.version>5.21.0.2</activiti.engine.version>
<spring.version>4.3.18.RELEASE</spring.version>
<!-- Compile with Java 8, default is 5 -->
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<!-- The main Activiti Enterprise application dependency that brings in all
needed classes to compile your customizations -->
<!-- dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency -->
<dependency>
<groupId>${activiti.groupId}</groupId>
<artifactId>activiti-app-logic</artifactId>
<version>${activiti.version}</version>
</dependency>
<dependency>
<groupId>${activiti.groupId}</groupId>
<artifactId>activiti-app-rest</artifactId>
<version>${activiti.version}</version>
</dependency>
<dependency>
<groupId>${activiti.groupId}</groupId>
<artifactId>activiti-app-model</artifactId>
<version>${activiti.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
</dependencies>
<build>
<resources>
<!-- Filter the resource files in this project and do property substitutions -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<!-- Filter the test resource files in this project and do property substitutions -->
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
</build>
</project>
Could you please help me resolve this issue?
Thanks,
Saikiran
12-13-2022 06:44 AM
Aspose is one of the dependencies used by APS for creating renditions of documents when using the Document Generation Task.
You should add the new Aspose repository adding the following snippet to your pom.xml:
<repositories> . . . <repository> <id>AsposeJavaAPI</id> <name>Aspose Java API</name> <url>https://releases.aspose.com/java/repo/</url> </repository> . . . </repositories>
12-13-2022 06:44 AM
Aspose is one of the dependencies used by APS for creating renditions of documents when using the Document Generation Task.
You should add the new Aspose repository adding the following snippet to your pom.xml:
<repositories> . . . <repository> <id>AsposeJavaAPI</id> <name>Aspose Java API</name> <url>https://releases.aspose.com/java/repo/</url> </repository> . . . </repositories>
Explore our Alfresco products with the links below. Use labels to filter content by product module.