Skip to content

Commit 2caf645

Browse files
committed
BAEL-8833: Cleanup the maven-dependency-plugin usage
1 parent 3df9e64 commit 2caf645

File tree

20 files changed

+0
-369
lines changed

20 files changed

+0
-369
lines changed

aws-lambda/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
<gson.version>2.8.2</gson.version>
9696
<aws-java-sdk.version>1.11.241</aws-java-sdk.version>
9797
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
98-
<maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
9998
</properties>
10099

101100
</project>

aws/pom.xml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -100,26 +100,6 @@
100100
</execution>
101101
</executions>
102102
</plugin>
103-
104-
<plugin>
105-
<groupId>org.apache.maven.plugins</groupId>
106-
<artifactId>maven-dependency-plugin</artifactId>
107-
<version>${maven-dependency-plugin.version}</version>
108-
<executions>
109-
<execution>
110-
<id>copy-dependencies</id>
111-
<phase>test-compile</phase>
112-
<goals>
113-
<goal>copy-dependencies</goal>
114-
</goals>
115-
<configuration>
116-
<includeScope>test</includeScope>
117-
<includeTypes>so,dll,dylib</includeTypes>
118-
<outputDirectory>${project.basedir}/native-libs</outputDirectory>
119-
</configuration>
120-
</execution>
121-
</executions>
122-
</plugin>
123103
</plugins>
124104
</build>
125105

@@ -144,7 +124,6 @@
144124
<commons-codec-version>1.10.L001</commons-codec-version>
145125
<jets3t-version>0.9.4.0006L</jets3t-version>
146126
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
147-
<maven-dependency-plugin.version>2.10</maven-dependency-plugin.version>
148127
</properties>
149128

150129
</project>

checker-plugin/pom.xml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,6 @@
4141

4242
<build>
4343
<plugins>
44-
<plugin>
45-
<!-- This plugin will set properties values using dependency information -->
46-
<groupId>org.apache.maven.plugins</groupId>
47-
<artifactId>maven-dependency-plugin</artifactId>
48-
<executions>
49-
<execution>
50-
<goals>
51-
<!--
52-
Goal that sets a property pointing to the artifact file for each project dependency.
53-
For each dependency (direct and transitive) a project property will be set which
54-
follows the:
55-
56-
groupId:artifactId:type:[classifier]
57-
58-
form and contains the path to the resolved artifact. -->
59-
<goal>properties</goal>
60-
</goals>
61-
</execution>
62-
</executions>
63-
</plugin>
64-
6544
<plugin>
6645
<artifactId>maven-compiler-plugin</artifactId>
6746
<version>${maven-compiler-plugin.version}</version>

core-java-8/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,6 @@
116116
</resources>
117117

118118
<plugins>
119-
<plugin>
120-
<groupId>org.apache.maven.plugins</groupId>
121-
<artifactId>maven-dependency-plugin</artifactId>
122-
<executions>
123-
<execution>
124-
<id>copy-dependencies</id>
125-
<phase>prepare-package</phase>
126-
<goals>
127-
<goal>copy-dependencies</goal>
128-
</goals>
129-
<configuration>
130-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
131-
</configuration>
132-
</execution>
133-
</executions>
134-
</plugin>
135-
136119
<plugin>
137120
<groupId>org.apache.maven.plugins</groupId>
138121
<artifactId>maven-compiler-plugin</artifactId>

core-java-concurrency-collections/pom.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,6 @@
5757
<filtering>true</filtering>
5858
</resource>
5959
</resources>
60-
61-
<plugins>
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-dependency-plugin</artifactId>
65-
<executions>
66-
<execution>
67-
<id>copy-dependencies</id>
68-
<phase>prepare-package</phase>
69-
<goals>
70-
<goal>copy-dependencies</goal>
71-
</goals>
72-
<configuration>
73-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
74-
</configuration>
75-
</execution>
76-
</executions>
77-
</plugin>
78-
79-
</plugins>
8060
</build>
8161

8262
<properties>

core-java-concurrency/pom.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,6 @@
5757
<filtering>true</filtering>
5858
</resource>
5959
</resources>
60-
61-
<plugins>
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-dependency-plugin</artifactId>
65-
<executions>
66-
<execution>
67-
<id>copy-dependencies</id>
68-
<phase>prepare-package</phase>
69-
<goals>
70-
<goal>copy-dependencies</goal>
71-
</goals>
72-
<configuration>
73-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
74-
</configuration>
75-
</execution>
76-
</executions>
77-
</plugin>
78-
79-
</plugins>
8060
</build>
8161

8262
<properties>

core-java-sun/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -166,22 +166,6 @@
166166
</resource>
167167
</resources>
168168
<plugins>
169-
<plugin>
170-
<groupId>org.apache.maven.plugins</groupId>
171-
<artifactId>maven-dependency-plugin</artifactId>
172-
<executions>
173-
<execution>
174-
<id>copy-dependencies</id>
175-
<phase>prepare-package</phase>
176-
<goals>
177-
<goal>copy-dependencies</goal>
178-
</goals>
179-
<configuration>
180-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
181-
</configuration>
182-
</execution>
183-
</executions>
184-
</plugin>
185169
<plugin>
186170
<groupId>org.apache.maven.plugins</groupId>
187171
<artifactId>maven-jar-plugin</artifactId>

core-java/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -188,23 +188,6 @@
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-
208191
<plugin>
209192
<groupId>org.apache.maven.plugins</groupId>
210193
<artifactId>maven-jar-plugin</artifactId>

disruptor/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,6 @@
3636
</resource>
3737
</resources>
3838
<plugins>
39-
<plugin>
40-
<groupId>org.apache.maven.plugins</groupId>
41-
<artifactId>maven-dependency-plugin</artifactId>
42-
<executions>
43-
<execution>
44-
<id>copy-dependencies</id>
45-
<phase>prepare-package</phase>
46-
<goals>
47-
<goal>copy-dependencies</goal>
48-
</goals>
49-
<configuration>
50-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
51-
</configuration>
52-
</execution>
53-
</executions>
54-
</plugin>
5539
<plugin>
5640
<groupId>org.apache.maven.plugins</groupId>
5741
<artifactId>maven-jar-plugin</artifactId>

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

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,6 @@
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>
6539
</plugins>
6640
</build>
6741

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

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,6 @@
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>
6539
</plugins>
6640
</build>
6741

java-numbers/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,6 @@
8383
</configuration>
8484
</plugin>
8585

86-
<plugin>
87-
<groupId>org.apache.maven.plugins</groupId>
88-
<artifactId>maven-dependency-plugin</artifactId>
89-
<executions>
90-
<execution>
91-
<id>copy-dependencies</id>
92-
<phase>prepare-package</phase>
93-
<goals>
94-
<goal>copy-dependencies</goal>
95-
</goals>
96-
<configuration>
97-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
98-
</configuration>
99-
</execution>
100-
</executions>
101-
</plugin>
102-
10386
<plugin>
10487
<groupId>org.apache.maven.plugins</groupId>
10588
<artifactId>maven-javadoc-plugin</artifactId>

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,35 +38,12 @@
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-
6341
<properties>
6442
<exchange-rate-api.version>1.0.0-SNAPSHOT</exchange-rate-api.version>
6543
<okhttp.version>3.10.0</okhttp.version>
6644
<javax.json.bind-api.version>1.0</javax.json.bind-api.version>
6745
<yasson.version>1.0.1</yasson.version>
6846
<javax.json.version>1.1.2</javax.json.version>
69-
<maven-dependency-plugin.version>3.1.0</maven-dependency-plugin.version>
7047
</properties>
7148

7249
</project>

java-streams/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,23 +86,6 @@
8686
</resources>
8787

8888
<plugins>
89-
<plugin>
90-
<groupId>org.apache.maven.plugins</groupId>
91-
<artifactId>maven-dependency-plugin</artifactId>
92-
<executions>
93-
<execution>
94-
<id>copy-dependencies</id>
95-
<phase>prepare-package</phase>
96-
<goals>
97-
<goal>copy-dependencies</goal>
98-
</goals>
99-
<configuration>
100-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
101-
</configuration>
102-
</execution>
103-
</executions>
104-
</plugin>
105-
10689
<plugin>
10790
<groupId>org.apache.maven.plugins</groupId>
10891
<artifactId>maven-compiler-plugin</artifactId>

java-strings/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,6 @@
7171
</resources>
7272

7373
<plugins>
74-
<plugin>
75-
<groupId>org.apache.maven.plugins</groupId>
76-
<artifactId>maven-dependency-plugin</artifactId>
77-
<executions>
78-
<execution>
79-
<id>copy-dependencies</id>
80-
<phase>prepare-package</phase>
81-
<goals>
82-
<goal>copy-dependencies</goal>
83-
</goals>
84-
<configuration>
85-
<outputDirectory>${project.build.directory}/libs</outputDirectory>
86-
</configuration>
87-
</execution>
88-
</executions>
89-
</plugin>
90-
9174
<plugin>
9275
<groupId>org.apache.maven.plugins</groupId>
9376
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)