BAEL-4575: Use copyDependencies feature from the latest liberty-maven-plugin (#9920)

This commit is contained in:
kwoyke 2020-08-27 06:54:29 +02:00 committed by GitHub
parent 7d36aa5b19
commit d849f88351
1 changed files with 12 additions and 23 deletions

View File

@ -27,6 +27,7 @@
<groupId>org.apache.derby</groupId> <groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId> <artifactId>derby</artifactId>
<version>${version.derby}</version> <version>${version.derby}</version>
<scope>provided</scope>
</dependency> </dependency>
<!-- For tests --> <!-- For tests -->
@ -70,27 +71,16 @@
<groupId>io.openliberty.tools</groupId> <groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId> <artifactId>liberty-maven-plugin</artifactId>
<version>${version.liberty-maven-plugin}</version> <version>${version.liberty-maven-plugin}</version>
</plugin> <configuration>
<plugin> <copyDependencies>
<groupId>org.apache.maven.plugins</groupId> <location>${project.build.directory}/liberty/wlp/usr/shared/resources/</location>
<artifactId>maven-dependency-plugin</artifactId> <dependency>
<version>${version.maven-dependency-plugin}</version> <groupId>org.apache.derby</groupId>
<executions> <artifactId>derby</artifactId>
<execution> <version>${version.derby}</version>
<id>copy-derby-dependency</id> </dependency>
<phase>package</phase> </copyDependencies>
<goals> </configuration>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>derby</includeArtifactIds>
<outputDirectory>${project.build.directory}/liberty/wlp/usr/shared/resources/</outputDirectory>
<systemPropertyVariables>
<liberty.test.port>${testServerHttpPort}</liberty.test.port>
</systemPropertyVariables>
</configuration>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -112,8 +102,7 @@
<version.jakarta.jakartaee-web-api>8.0.0</version.jakarta.jakartaee-web-api> <version.jakarta.jakartaee-web-api>8.0.0</version.jakarta.jakartaee-web-api>
<version.microprofile>3.2</version.microprofile> <version.microprofile>3.2</version.microprofile>
<version.derby>10.14.2.0</version.derby> <version.derby>10.14.2.0</version.derby>
<version.liberty-maven-plugin>3.1</version.liberty-maven-plugin> <version.liberty-maven-plugin>3.3-M3</version.liberty-maven-plugin>
<version.maven-dependency-plugin>2.10</version.maven-dependency-plugin>
<version.maven-war-plugin>3.2.3</version.maven-war-plugin> <version.maven-war-plugin>3.2.3</version.maven-war-plugin>
<version.junit>4.12</version.junit> <version.junit>4.12</version.junit>
<version.yasson>1.0.5</version.yasson> <version.yasson>1.0.5</version.yasson>