Merge pull request #542 from Alfresco/bug/539

Archetypes - Remove redundant dependency copy
This commit is contained in:
Ole Hejlskov 2019-01-31 10:58:32 +01:00 committed by GitHub
commit c14887f549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>