Skip to content

Commit 52a9320

Browse files
biyuhaokhanimteyaz
authored andcommitted
[Dubbo-2864] Fix build failed with -Prelease (apache#2923)
fixes apache#2864
1 parent 9e71e23 commit 52a9320

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@
276276
</profile>
277277
<profile>
278278
<id>release</id>
279+
<properties>
280+
<log4j2_version>2.11.1</log4j2_version>
281+
</properties>
279282
<build>
280283
<plugins>
281284
<plugin>
@@ -289,6 +292,18 @@
289292
</goals>
290293
<configuration>
291294
<doclint>none</doclint>
295+
<additionalDependencies>
296+
<additionalDependency>
297+
<groupId>org.apache.logging.log4j</groupId>
298+
<artifactId>log4j-api</artifactId>
299+
<version>${log4j2_version}</version>
300+
</additionalDependency>
301+
<additionalDependency>
302+
<groupId>org.apache.logging.log4j</groupId>
303+
<artifactId>log4j-core</artifactId>
304+
<version>${log4j2_version}</version>
305+
</additionalDependency>
306+
</additionalDependencies>
292307
</configuration>
293308
</execution>
294309
</executions>

0 commit comments

Comments
 (0)