Skip to content

Commit 340eb7f

Browse files
committed
Reorganize plugins and dependencies to fix build
1 parent e67aac3 commit 340eb7f

File tree

3 files changed

+99
-89
lines changed

3 files changed

+99
-89
lines changed

lambda-lite-dependencies/pom.xml

-87
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,6 @@
3939
<log4j2.version>2.13.0</log4j2.version>
4040
<mockito.version>3.2.4</mockito.version>
4141
<slf4j.version>1.7.30</slf4j.version>
42-
<!-- Plugin versions -->
43-
<dependency-check-plugin.version>5.3.0</dependency-check-plugin.version>
44-
<jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
45-
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
46-
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
47-
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
48-
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
49-
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
50-
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
51-
<maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
52-
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
53-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
54-
<sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
55-
<!-- Additional configurations -->
56-
<dependency-check-plugin.score-limit>8</dependency-check-plugin.score-limit>
5742
</properties>
5843

5944
<dependencyManagement>
@@ -168,11 +153,6 @@
168153
<artifactId>slf4j-jdk14</artifactId>
169154
<version>${slf4j.version}</version>
170155
</dependency>
171-
<dependency>
172-
<groupId>org.slf4j</groupId>
173-
<artifactId>slf4j-log4j12</artifactId>
174-
<version>${slf4j.version}</version>
175-
</dependency>
176156
<dependency>
177157
<groupId>io.github.stepio.lambda</groupId>
178158
<artifactId>lambda-lite-core</artifactId>
@@ -191,73 +171,6 @@
191171
</dependencies>
192172
</dependencyManagement>
193173

194-
<build>
195-
<pluginManagement>
196-
<plugins>
197-
<plugin>
198-
<groupId>org.apache.maven.plugins</groupId>
199-
<artifactId>maven-compiler-plugin</artifactId>
200-
<version>${maven-compiler-plugin.version}</version>
201-
</plugin>
202-
<plugin>
203-
<groupId>org.apache.maven.plugins</groupId>
204-
<artifactId>maven-dependency-plugin</artifactId>
205-
<version>${maven-dependency-plugin.version}</version>
206-
</plugin>
207-
<plugin>
208-
<groupId>org.apache.maven.plugins</groupId>
209-
<artifactId>maven-deploy-plugin</artifactId>
210-
<version>${maven-deploy-plugin.version}</version>
211-
</plugin>
212-
<plugin>
213-
<groupId>org.apache.maven.plugins</groupId>
214-
<artifactId>maven-jar-plugin</artifactId>
215-
<version>${maven-jar-plugin.version}</version>
216-
</plugin>
217-
<plugin>
218-
<groupId>org.apache.maven.plugins</groupId>
219-
<artifactId>maven-javadoc-plugin</artifactId>
220-
<version>${maven-javadoc-plugin.version}</version>
221-
</plugin>
222-
<plugin>
223-
<groupId>org.apache.maven.plugins</groupId>
224-
<artifactId>maven-resources-plugin</artifactId>
225-
<version>${maven-resources-plugin.version}</version>
226-
</plugin>
227-
<plugin>
228-
<groupId>org.apache.maven.plugins</groupId>
229-
<artifactId>maven-shade-plugin</artifactId>
230-
<version>${maven-shade-plugin.version}</version>
231-
</plugin>
232-
<plugin>
233-
<groupId>org.apache.maven.plugins</groupId>
234-
<artifactId>maven-source-plugin</artifactId>
235-
<version>${maven-source-plugin.version}</version>
236-
</plugin>
237-
<plugin>
238-
<groupId>org.apache.maven.plugins</groupId>
239-
<artifactId>maven-surefire-plugin</artifactId>
240-
<version>${maven-surefire-plugin.version}</version>
241-
</plugin>
242-
<plugin>
243-
<groupId>org.jacoco</groupId>
244-
<artifactId>jacoco-maven-plugin</artifactId>
245-
<version>${jacoco-maven-plugin.version}</version>
246-
</plugin>
247-
<plugin>
248-
<groupId>org.owasp</groupId>
249-
<artifactId>dependency-check-maven</artifactId>
250-
<version>${dependency-check-plugin.version}</version>
251-
</plugin>
252-
<plugin>
253-
<groupId>org.sonarsource.scanner.maven</groupId>
254-
<artifactId>sonar-maven-plugin</artifactId>
255-
<version>${sonar-maven-plugin.version}</version>
256-
</plugin>
257-
</plugins>
258-
</pluginManagement>
259-
</build>
260-
261174
<profiles>
262175
<profile>
263176
<id>owasp</id>

lambda-lite-test/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
<artifactId>mockito-core</artifactId>
3535
</dependency>
3636
<dependency>
37-
<groupId>org.slf4j</groupId>
38-
<artifactId>slf4j-log4j12</artifactId>
37+
<groupId>org.apache.logging.log4j</groupId>
38+
<artifactId>log4j-slf4j-impl</artifactId>
3939
</dependency>
4040
</dependencies>
4141

pom.xml

+97
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,26 @@
2828
<module>lambda-lite-parent</module>
2929
</modules>
3030

31+
<properties>
32+
<!-- Plugin versions -->
33+
<dependency-check-plugin.version>5.3.0</dependency-check-plugin.version>
34+
<jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
35+
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
36+
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
37+
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
38+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
39+
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
40+
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
41+
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
42+
<maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
43+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
44+
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
45+
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
46+
<sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
47+
<!-- Additional configurations -->
48+
<dependency-check-plugin.score-limit>8</dependency-check-plugin.score-limit>
49+
</properties>
50+
3151
<distributionManagement>
3252
<snapshotRepository>
3353
<id>ossrh</id>
@@ -39,6 +59,83 @@
3959
</repository>
4060
</distributionManagement>
4161

62+
<build>
63+
<pluginManagement>
64+
<plugins>
65+
<plugin>
66+
<groupId>org.apache.maven.plugins</groupId>
67+
<artifactId>maven-compiler-plugin</artifactId>
68+
<version>${maven-compiler-plugin.version}</version>
69+
</plugin>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-dependency-plugin</artifactId>
73+
<version>${maven-dependency-plugin.version}</version>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-deploy-plugin</artifactId>
78+
<version>${maven-deploy-plugin.version}</version>
79+
</plugin>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-gpg-plugin</artifactId>
83+
<version>${maven-gpg-plugin.version}</version>
84+
</plugin>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-jar-plugin</artifactId>
88+
<version>${maven-jar-plugin.version}</version>
89+
</plugin>
90+
<plugin>
91+
<groupId>org.apache.maven.plugins</groupId>
92+
<artifactId>maven-javadoc-plugin</artifactId>
93+
<version>${maven-javadoc-plugin.version}</version>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.apache.maven.plugins</groupId>
97+
<artifactId>maven-resources-plugin</artifactId>
98+
<version>${maven-resources-plugin.version}</version>
99+
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-shade-plugin</artifactId>
103+
<version>${maven-shade-plugin.version}</version>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-source-plugin</artifactId>
108+
<version>${maven-source-plugin.version}</version>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-surefire-plugin</artifactId>
113+
<version>${maven-surefire-plugin.version}</version>
114+
</plugin>
115+
<plugin>
116+
<groupId>org.jacoco</groupId>
117+
<artifactId>jacoco-maven-plugin</artifactId>
118+
<version>${jacoco-maven-plugin.version}</version>
119+
</plugin>
120+
<plugin>
121+
<groupId>org.owasp</groupId>
122+
<artifactId>dependency-check-maven</artifactId>
123+
<version>${dependency-check-plugin.version}</version>
124+
</plugin>
125+
<plugin>
126+
<groupId>org.sonarsource.scanner.maven</groupId>
127+
<artifactId>sonar-maven-plugin</artifactId>
128+
<version>${sonar-maven-plugin.version}</version>
129+
</plugin>
130+
<plugin>
131+
<groupId>org.sonatype.plugins</groupId>
132+
<artifactId>nexus-staging-maven-plugin</artifactId>
133+
<version>${nexus-staging-maven-plugin.version}</version>
134+
</plugin>
135+
</plugins>
136+
</pluginManagement>
137+
</build>
138+
42139
<profiles>
43140
<profile>
44141
<id>release</id>

0 commit comments

Comments
 (0)