Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions core/mybatis-generator-core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright 2006-2020 the original author or authors.
Copyright 2006-2021 the original author or authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -164,12 +164,6 @@
</build>

<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2020 the original author or authors.
* Copyright 2006-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,6 @@

import org.mybatis.generator.logging.commons.JakartaCommonsLoggingLogFactory;
import org.mybatis.generator.logging.jdk14.Jdk14LoggingLogFactory;
import org.mybatis.generator.logging.log4j.Log4jLoggingLogFactory;
import org.mybatis.generator.logging.log4j2.Log4j2LoggingLogFactory;
import org.mybatis.generator.logging.nologging.NoLoggingLogFactory;
import org.mybatis.generator.logging.slf4j.Slf4jLoggingLogFactory;
Expand All @@ -38,7 +37,6 @@ public class LogFactory {
tryImplementation(new Slf4jLoggingLogFactory());
tryImplementation(new JakartaCommonsLoggingLogFactory());
tryImplementation(new Log4j2LoggingLogFactory());
tryImplementation(new Log4jLoggingLogFactory());
tryImplementation(new Jdk14LoggingLogFactory());
tryImplementation(new NoLoggingLogFactory());
}
Expand Down Expand Up @@ -74,10 +72,6 @@ public static synchronized void forceCommonsLogging() {
setImplementation(new JakartaCommonsLoggingLogFactory());
}

public static synchronized void forceLog4jLogging() {
setImplementation(new Log4jLoggingLogFactory());
}

public static synchronized void forceLog4j2Logging() {
setImplementation(new Log4j2LoggingLogFactory());
}
Expand Down

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions core/mybatis-generator-core/src/site/xhtml/whatsNew.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ required:</p>
<li>Removed the deprecated MyBatis3DynamicSqlV1 runtime</li>
<li>Removed the Java client property "useLegacyBuilder" as it created code that has been deprecated
in MyBatis since version 3.2</li>
<li>Removed support for Log4J version 1.x</li>
</ul>

<h2>Version 1.4.0</h2>
Expand Down
5 changes: 0 additions & 5 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
1 change: 0 additions & 1 deletion eclipse/org.mybatis.generator.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Export-Package: org.mybatis.generator.ant,
org.mybatis.generator.logging,
org.mybatis.generator.logging.commons,
org.mybatis.generator.logging.jdk14,
org.mybatis.generator.logging.log4j,
org.mybatis.generator.logging.log4j2,
org.mybatis.generator.logging.nologging,
org.mybatis.generator.logging.slf4j,
Expand Down
3 changes: 1 addition & 2 deletions eclipse/org.mybatis.generator.core/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ src.includes = LICENSE,\
NOTICE\

customBuildCallbacks=customBuildCallbacks.xml
jars.extra.classpath = lib/log4j-1.2.17.jar,\
lib/commons-logging-1.2.jar,\
jars.extra.classpath = lib/commons-logging-1.2.jar,\
lib/log4j-api-2.12.1.jar,\
lib/slf4j-api-1.7.28.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
</head>
<body>
<h1>MyBatis Generator Eclipse Feature Release Notes</h1>
<h2>Version 1.4.1</h2>
<ul>
<li>Removed Log4J Version 1.x support in the Ant logger configuration.</li>
</ul>

<h2>Version 1.4.0</h2>
<ul>
<li>Added an environment tab to the launch configuration where properties can be set. Properties set on this tab will be available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ <h2>Integrated Ant Task Detail</h2>
<li>SLF4J</li>
<li>COMMONS_LOGGING</li>
<li>LOG4J2</li>
<li>LOG4J</li>
<li>JDK</li>
</ol>
<p>If you don't specify a value, the task will search for an implementation in the order
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import static org.mybatis.generator.internal.util.messages.Messages.getString;

import org.mybatis.generator.eclipse.ui.ant.logging.commons.JakartaCommonsLoggingLogFactory;
import org.mybatis.generator.eclipse.ui.ant.logging.log4j.Log4jLoggingLogFactory;
import org.mybatis.generator.eclipse.ui.ant.logging.log4j2.Log4j2LoggingLogFactory;
import org.mybatis.generator.eclipse.ui.ant.logging.slf4j.Slf4jLoggingLogFactory;
import org.mybatis.generator.logging.AbstractLogFactory;
Expand All @@ -45,8 +44,6 @@ public AntLogFactory(String loggingImplementation) throws LogException {
setImplementation(new JakartaCommonsLoggingLogFactory());
} else if ("LOG4J2".equals(loggingImplementation)) { //$NON-NLS-1$
setImplementation(new Log4j2LoggingLogFactory());
} else if ("LOG4J".equals(loggingImplementation)) { //$NON-NLS-1$
setImplementation(new Log4jLoggingLogFactory());
} else if ("JDK".equals(loggingImplementation)) { //$NON-NLS-1$
setImplementation(new Jdk14LoggingLogFactory());
} else {
Expand All @@ -59,7 +56,6 @@ private void calculateDefaultImplementation() {
tryImplementation(new Slf4jLoggingLogFactory());
tryImplementation(new JakartaCommonsLoggingLogFactory());
tryImplementation(new Log4j2LoggingLogFactory());
tryImplementation(new Log4jLoggingLogFactory());
tryImplementation(new Jdk14LoggingLogFactory());
tryImplementation(new NoLoggingLogFactory());
}
Expand Down

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion eclipse/org.mybatis.generator.eclipse.ui/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ src.includes = LICENSE,\
icons/
source.lib/antsupport.jar = antsrc/
jars.extra.classpath = platform:/plugin/org.mybatis.generator.core/lib/commons-logging-1.2.jar,\
platform:/plugin/org.mybatis.generator.core/lib/log4j-1.2.17.jar,\
platform:/plugin/org.mybatis.generator.core/lib/log4j-api-2.12.1.jar,\
platform:/plugin/org.mybatis.generator.core/lib/slf4j-api-1.7.28.jar