Skip to content

Commit 7516e0a

Browse files
committed
reverted changes for some modules after code review
1 parent 2caf645 commit 7516e0a

6 files changed

Lines changed: 121 additions & 17 deletions

File tree

‎core-java/pom.xml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,23 @@
188188
</configuration>
189189
</plugin>
190190

191+
<plugin>
192+
<groupId>org.apache.maven.plugins</groupId>
193+
<artifactId>maven-dependency-plugin</artifactId>
194+
<executions>
195+
<execution>
196+
<id>copy-dependencies</id>
197+
<phase>prepare-package</phase>
198+
<goals>
199+
<goal>copy-dependencies</goal>
200+
</goals>
201+
<configuration>
202+
<outputDirectory>${project.build.directory}/libs</outputDirectory>
203+
</configuration>
204+
</execution>
205+
</executions>
206+
</plugin>
207+
191208
<plugin>
192209
<groupId>org.apache.maven.plugins</groupId>
193210
<artifactId>maven-jar-plugin</artifactId>

‎java-dates/pom.xml‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,6 @@
6161
</resources>
6262

6363
<plugins>
64-
<plugin>
65-
<groupId>org.apache.maven.plugins</groupId>
66-
<artifactId>maven-dependency-plugin</artifactId>
67-
<executions>
68-
<execution>
69-
<id>copy-dependencies</id>
70-
<phase>prepare-package</phase>
71-
<goals>
72-
<goal>copy-dependencies</goal>
73-
</goals>
74-
<configuration>
75-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
76-
</configuration>
77-
</execution>
78-
</executions>
79-
</plugin>
80-
8164
<plugin>
8265
<groupId>org.apache.maven.plugins</groupId>
8366
<artifactId>maven-compiler-plugin</artifactId>

‎java-ee-8-security-api/app-auth-basic-store-db/pom.xml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@
3636
</execution>
3737
</executions>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-dependency-plugin</artifactId>
42+
<executions>
43+
<execution>
44+
<id>copy</id>
45+
<phase>package</phase>
46+
<goals>
47+
<goal>copy</goal>
48+
</goals>
49+
</execution>
50+
</executions>
51+
<configuration>
52+
<artifactItems>
53+
<artifactItem>
54+
<groupId>com.h2database</groupId>
55+
<artifactId>h2</artifactId>
56+
<version>${h2-version}</version>
57+
<type>jar</type>
58+
<outputDirectory>
59+
${project.build.directory}/liberty/wlp/usr/servers/defaultServer/lib/global
60+
</outputDirectory>
61+
</artifactItem>
62+
</artifactItems>
63+
</configuration>
64+
</plugin>
3965
</plugins>
4066
</build>
4167

‎java-ee-8-security-api/app-auth-custom-no-store/pom.xml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@
3636
</execution>
3737
</executions>
3838
</plugin>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-dependency-plugin</artifactId>
42+
<executions>
43+
<execution>
44+
<id>copy</id>
45+
<phase>package</phase>
46+
<goals>
47+
<goal>copy</goal>
48+
</goals>
49+
</execution>
50+
</executions>
51+
<configuration>
52+
<artifactItems>
53+
<artifactItem>
54+
<groupId>com.h2database</groupId>
55+
<artifactId>h2</artifactId>
56+
<version>${h2-version}</version>
57+
<type>jar</type>
58+
<outputDirectory>
59+
${project.build.directory}/liberty/wlp/usr/servers/defaultServer/lib/global
60+
</outputDirectory>
61+
</artifactItem>
62+
</artifactItems>
63+
</configuration>
64+
</plugin>
3965
</plugins>
4066
</build>
4167

‎java-spi/exchange-rate-impl/pom.xml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,35 @@
3838
</dependency>
3939
</dependencies>
4040

41+
<build>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-dependency-plugin</artifactId>
46+
<version>${maven-dependency-plugin.version}</version>
47+
<executions>
48+
<execution>
49+
<id>copy-dependencies</id>
50+
<phase>package</phase>
51+
<goals>
52+
<goal>copy-dependencies</goal>
53+
</goals>
54+
<configuration>
55+
<outputDirectory>${project.build.directory}/depends</outputDirectory>
56+
</configuration>
57+
</execution>
58+
</executions>
59+
</plugin>
60+
</plugins>
61+
</build>
62+
4163
<properties>
4264
<exchange-rate-api.version>1.0.0-SNAPSHOT</exchange-rate-api.version>
4365
<okhttp.version>3.10.0</okhttp.version>
4466
<javax.json.bind-api.version>1.0</javax.json.bind-api.version>
4567
<yasson.version>1.0.1</yasson.version>
4668
<javax.json.version>1.1.2</javax.json.version>
69+
<maven-dependency-plugin.version>3.1.0</maven-dependency-plugin.version>
4770
</properties>
4871

4972
</project>

‎jee-7/pom.xml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,34 @@
203203
<build>
204204
<pluginManagement>
205205
<plugins>
206+
<plugin>
207+
<artifactId>maven-dependency-plugin</artifactId>
208+
<version>${maven-dependency-plugin.version}</version>
209+
<configuration>
210+
<skip>${maven.test.skip}</skip>
211+
</configuration>
212+
<executions>
213+
<execution>
214+
<id>unpack</id>
215+
<phase>process-test-classes</phase>
216+
<goals>
217+
<goal>unpack</goal>
218+
</goals>
219+
<configuration>
220+
<artifactItems>
221+
<artifactItem>
222+
<groupId>org.wildfly</groupId>
223+
<artifactId>wildfly-dist</artifactId>
224+
<version>${wildfly.version}</version>
225+
<type>zip</type>
226+
<overWrite>false</overWrite>
227+
<outputDirectory>${project.build.directory}</outputDirectory>
228+
</artifactItem>
229+
</artifactItems>
230+
</configuration>
231+
</execution>
232+
</executions>
233+
</plugin>
206234
<plugin>
207235
<artifactId>maven-surefire-plugin</artifactId>
208236
<version>${maven-surefire-plugin.version}</version>
@@ -394,6 +422,7 @@
394422
<arquillian-drone-bom.version>2.0.1.Final</arquillian-drone-bom.version>
395423
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
396424
<graphene-webdriver.version>2.1.0.Final</graphene-webdriver.version>
425+
<maven-dependency-plugin.version>2.8</maven-dependency-plugin.version>
397426
<jstl.version>1.2</jstl.version>
398427
<jsp-api.version>2.2</jsp-api.version>
399428
<ozark.version>20160715</ozark.version>

0 commit comments

Comments
 (0)