Skip to content

Commit 2dafd59

Browse files
authored
deps: remove explicit log4j2 deps on beam artifacts as they are no longer brought in transitively (#3394)
* deps: remove explicit log4j2 deps on beam artifacts as they are no longer brought in transitively * Release-As: v2.0.0-beta5
1 parent 3e3a560 commit 2dafd59

File tree

2 files changed

+0
-33
lines changed
  • bigtable-dataflow-parent

2 files changed

+0
-33
lines changed

bigtable-dataflow-parent/bigtable-beam-import/pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,6 @@ limitations under the License.
246246
<version>1.21</version>
247247
<scope>runtime</scope>
248248
</dependency>
249-
<dependency>
250-
<groupId>org.apache.logging.log4j</groupId>
251-
<artifactId>log4j-api</artifactId>
252-
<version>${log4j2.version}</version>
253-
</dependency>
254-
255249

256250
<!-- Test Group -->
257251
<dependency>
@@ -434,17 +428,6 @@ limitations under the License.
434428
</configuration>
435429
</plugin>
436430

437-
<plugin>
438-
<groupId>org.apache.maven.plugins</groupId>
439-
<artifactId>maven-dependency-plugin</artifactId>
440-
<configuration>
441-
<ignoredUnusedDeclaredDependencies>
442-
<!-- log4j-api dependency is added to enforce log4j versions with CVE fixes -->
443-
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-api</ignoredUnusedDeclaredDependency>
444-
</ignoredUnusedDeclaredDependencies>
445-
</configuration>
446-
</plugin>
447-
448431
<plugin>
449432
<groupId>com.google.cloud.bigtable.test</groupId>
450433
<artifactId>bigtable-build-helper</artifactId>

bigtable-dataflow-parent/bigtable-hbase-beam/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ limitations under the License.
141141
<version>${beam-slf4j.version}</version>
142142
</dependency>
143143

144-
<dependency>
145-
<groupId>org.apache.logging.log4j</groupId>
146-
<artifactId>log4j-api</artifactId>
147-
<version>${log4j2.version}</version>
148-
</dependency>
149-
150144
<!-- Test Group -->
151145
<dependency>
152146
<groupId>org.mockito</groupId>
@@ -325,16 +319,6 @@ limitations under the License.
325319
</execution>
326320
</executions>
327321
</plugin>
328-
<plugin>
329-
<groupId>org.apache.maven.plugins</groupId>
330-
<artifactId>maven-dependency-plugin</artifactId>
331-
<configuration>
332-
<ignoredUnusedDeclaredDependencies>
333-
<!-- log4j-api dependency is added to enforce log4j versions with CVE fixes -->
334-
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-api</ignoredUnusedDeclaredDependency>
335-
</ignoredUnusedDeclaredDependencies>
336-
</configuration>
337-
</plugin>
338322
</plugins>
339323
</build>
340324
</project>

0 commit comments

Comments
 (0)