Skip to content

Commit

Permalink
Fix for license management and excluded some internal dependencies of…
Browse files Browse the repository at this point in the history
… APS (#83)
  • Loading branch information
OpenPj committed Apr 24, 2024
1 parent b99d155 commit 37b7761
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 65 deletions.
30 changes: 1 addition & 29 deletions activiti-app-integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco.activiti</groupId>
<artifactId>aps-project</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
</parent>

<properties>
Expand Down Expand Up @@ -175,34 +175,6 @@
</plugins>
</build>
</profile>
<profile>
<id>failsafe-openjdk-11</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>11</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skip>${skip.integration.test}</skip>
<argLine>
--illegal-access=permit
</argLine>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class FourEyesAppIT {
protected static final String BASE_PATH_HOSTNAME = "localhost";
protected static final int BASE_PATH_PORT = 8080;

protected static final String appZipFile = "aps-extensions-jar-3.0.0-SNAPSHOT-App.zip";
protected static final String appZipFile = "aps-extensions-jar-3.0.0-App.zip";

protected static final String ACTIVITI_APP_BASE_PATH = BASE_PATH_PROTOCOL + "://" + BASE_PATH_HOSTNAME + ":"
+ BASE_PATH_PORT;
Expand Down
4 changes: 2 additions & 2 deletions activiti-app-overlay-docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco.activiti</groupId>
<artifactId>aps-project</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
</parent>

<properties>
Expand Down Expand Up @@ -298,7 +298,7 @@
</execution>
<execution>
<id>copy-license-for-containers-and-ITs</id>
<phase>pre-integration-test</phase>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
Expand Down
2 changes: 1 addition & 1 deletion activiti-app-overlay-war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco.activiti</groupId>
<artifactId>aps-project</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
</parent>

<dependencies>
Expand Down
52 changes: 21 additions & 31 deletions aps-extensions-jar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco.activiti</groupId>
<artifactId>aps-project</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
</parent>

<dependencyManagement>
Expand Down Expand Up @@ -163,8 +163,12 @@
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.activiti</groupId>
<artifactId>aspose-transformation</artifactId>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email2-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email2-jakarta</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand All @@ -174,6 +178,20 @@
<version>${aps.version}</version>
<scope>test</scope>
<classifier>classes</classifier>
<exclusions>
<exclusion>
<groupId>com.activiti</groupId>
<artifactId>aspose-transformation</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email2-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email2-jakarta</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.opencsv</groupId>
Expand Down Expand Up @@ -332,34 +350,6 @@
</plugins>
</build>
</profile>
<profile>
<id>surefire-openjdk-11</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>11</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>${skip.integration.test}</skip>
<argLine>
--illegal-access=permit
</argLine>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.alfresco.activiti</groupId>
<artifactId>aps-project</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
<packaging>pom</packaging>
<name>APS - SDK Project - 3.x</name>

Expand Down

0 comments on commit 37b7761

Please sign in to comment.