Archetypes - Remove redundant dependency copy

Modify the AIO archetype docker modules to remove the redundant copy
of the dependency to the corresponding jar module (share or platform).
This commit is contained in:
Jose Luis Osorno 2019-01-30 08:14:34 +01:00
parent 0b85afc6fd
commit c5e92bdc25
2 changed files with 4 additions and 30 deletions

View File

@ -30,22 +30,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- Copy the repository extension and the dependencies required for execute integration tests -->
<!-- Copy the dependencies required for execute integration tests -->
<execution>
<id>copy-repo-extension</id>
<id>copy-test-dependencies</id>
<phase>pre-integration-test</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-platform-jar</artifactId>
<version>${version}</version>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/extensions</outputDirectory>
</artifactItem>
<!-- Test dependencies -->
<!-- We need these dependencies installed in ACS in order to execute the test remotely making use of the Alfresco RAD module -->
<artifactItem>
@ -87,7 +80,7 @@
</artifactItems>
</configuration>
</execution>
<!-- Copy other dependencies (JARs or AMPs) declared in the platform module -->
<!-- Copy the dependencies (JARs or AMPs) declared in this module -->
<execution>
<id>copy-third-party-dependencies</id>
<phase>pre-integration-test</phase>

View File

@ -30,26 +30,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- Copy the share extension -->
<execution>
<id>copy-repo-extension</id>
<phase>pre-integration-test</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-share-jar</artifactId>
<version>${version}</version>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/extensions</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<!-- Copy other dependencies (JARs or AMPs) declared in the share module -->
<!-- Copy the dependencies (JARs or AMPs) declared in this module -->
<execution>
<id>copy-third-party-dependencies</id>
<phase>pre-integration-test</phase>