This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit b6cd1f0b55611c83a1b3f7f3cb9f167a529f0573 Author: Thomas Vandahl <[email protected]> AuthorDate: Tue Oct 6 21:22:15 2026 +0200 Remove log4j and commons-logging dependency --- commons-jcs4-sandbox/commons-jcs4-yajcache/pom.xml | 25 +++++++++++----- .../src/test/resources/log4j2.xml | 34 ---------------------- pom.xml | 7 ----- 3 files changed, 17 insertions(+), 49 deletions(-) diff --git a/commons-jcs4-sandbox/commons-jcs4-yajcache/pom.xml b/commons-jcs4-sandbox/commons-jcs4-yajcache/pom.xml index c4e10d79..de336496 100644 --- a/commons-jcs4-sandbox/commons-jcs4-yajcache/pom.xml +++ b/commons-jcs4-sandbox/commons-jcs4-yajcache/pom.xml @@ -32,6 +32,11 @@ <name>Apache Commons JCS :: Sandbox :: yajcache</name> <dependencies> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-jcs4-core</artifactId> + </dependency> + <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> @@ -42,14 +47,6 @@ <artifactId>commons-lang3</artifactId> <version>${commons.lang.version}</version> </dependency> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> @@ -57,4 +54,16 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <reuseForks>false</reuseForks> + <forkCount>1</forkCount> + </configuration> + </plugin> + </plugins> + </build> </project> \ No newline at end of file diff --git a/commons-jcs4-sandbox/commons-jcs4-yajcache/src/test/resources/log4j2.xml b/commons-jcs4-sandbox/commons-jcs4-yajcache/src/test/resources/log4j2.xml deleted file mode 100644 index 4d19e0b6..00000000 --- a/commons-jcs4-sandbox/commons-jcs4-yajcache/src/test/resources/log4j2.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> -<Configuration status="WARN"> - <Appenders> - <File name="jcs" fileName="target/jcs-test.log"> - <PatternLayout pattern="%d [%t] %-5p %c - %m%n" /> - </File> - </Appenders> - <Loggers> - <Logger name="org.apache.commons.jcs" additivity="false" level="INFO"> - <AppenderRef ref="jcs"/> - </Logger> - <Root level="ERROR"><!-- log4j 1.2 has DEBUG --> - <AppenderRef ref="jcs" /> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/pom.xml b/pom.xml index 80d559cf..3ca6dd68 100644 --- a/pom.xml +++ b/pom.xml @@ -279,13 +279,6 @@ </build> <dependencyManagement> <dependencies> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-bom</artifactId> - <version>${commons.log4j.version}</version> - <scope>import</scope> - <type>pom</type> - </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>commons-jcs4-core</artifactId>
