Skip to content

Commit 4bd3fd2

Browse files
adoroszlaisteveloughran
authored andcommitted
CDPD-46322. Add property for logredactor.version
Change-Id: I84325bd44bb569c681ca23b0885933ebec631aaf
1 parent 8ea89d0 commit 4bd3fd2

File tree

1 file changed

+12
-1
lines changed
  • hadoop-common-project/hadoop-common

1 file changed

+12
-1
lines changed

hadoop-common-project/hadoop-common/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<is.hadoop.common.component>true</is.hadoop.common.component>
3636
<wsce.config.dir>../etc/hadoop</wsce.config.dir>
3737
<wsce.config.file>wsce-site.xml</wsce.config.file>
38+
<logredactor.version>2.0.14</logredactor.version>
3839
</properties>
3940

4041
<dependencies>
@@ -418,9 +419,19 @@
418419
<dependency>
419420
<groupId>org.cloudera.logredactor</groupId>
420421
<artifactId>logredactor</artifactId>
421-
<version>2.0.7</version>
422+
<version>${logredactor.version}</version>
422423
<scope>runtime</scope>
423424
<optional>true</optional>
425+
<exclusions>
426+
<exclusion>
427+
<groupId>org.apache.logging.log4j</groupId>
428+
<artifactId>log4j-api</artifactId>
429+
</exclusion>
430+
<exclusion>
431+
<groupId>org.apache.logging.log4j</groupId>
432+
<artifactId>log4j-core</artifactId>
433+
</exclusion>
434+
</exclusions>
424435
</dependency>
425436
</dependencies>
426437

0 commit comments

Comments
 (0)