Upgrade 3.5.8 version

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2022-01-19 14:35:12 +08:00
parent 2ab7c50277
commit 32b7e2f3c9
12 changed files with 1685 additions and 246 deletions

View File

@ -0,0 +1,36 @@
From 6cb2a3b9e3b74870eeec0e8aab7a5dc4d18d68e7 Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Wed, 19 Jan 2022 10:50:47 +0800
Subject: [PATCH] add javadoc plugin in pom file
---
pom.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/pom.xml b/pom.xml
index 9adf834..eb431ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -356,6 +356,19 @@
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<resources>
--
2.30.0

View File

@ -1,117 +0,0 @@
From 9caf480e05c389548c9889362c2cb080d728b5d8 Mon Sep 17 00:00:00 2001
From: Iwao AVE! <harawata@gmail.com>
Date: Sat, 3 Oct 2020 23:58:09 +0900
Subject: [PATCH] Output warning when deserializing object stream with no
JEP-290 filter defined
---
.../cache/decorators/SerializedCache.java | 2 +
.../loader/AbstractSerialStateHolder.java | 6 ++
.../apache/ibatis/io/SerialFilterChecker.java | 54 +++++++++++++++++++
3 files changed, 61 insertions(+), 33 deletions(-)
create mode 100644 src/main/java/org/apache/ibatis/io/SerialFilterChecker.java
diff --git a/src/main/java/org/apache/ibatis/cache/decorators/SerializedCache.java b/src/main/java/org/apache/ibatis/cache/decorators/SerializedCache.java
index aeb3d09de7a..664b214aa65 100644
--- a/src/main/java/org/apache/ibatis/cache/decorators/SerializedCache.java
+++ b/src/main/java/org/apache/ibatis/cache/decorators/SerializedCache.java
@@ -28,6 +28,7 @@
import org.apache.ibatis.cache.Cache;
import org.apache.ibatis.cache.CacheException;
import org.apache.ibatis.io.Resources;
+import org.apache.ibatis.io.SerialFilterChecker;
/**
* @author Clinton Begin
@@ -104,6 +105,7 @@ public boolean equals(Object obj) {
}
private Serializable deserialize(byte[] value) {
+ SerialFilterChecker.check();
Serializable result;
try {
ByteArrayInputStream bis = new ByteArrayInputStream(value);
diff --git a/src/main/java/org/apache/ibatis/executor/loader/AbstractSerialStateHolder.java b/src/main/java/org/apache/ibatis/executor/loader/AbstractSerialStateHolder.java
index f1edbaa146a..414fe5db391 100644
--- a/src/main/java/org/apache/ibatis/executor/loader/AbstractSerialStateHolder.java
+++ b/src/main/java/org/apache/ibatis/executor/loader/AbstractSerialStateHolder.java
@@ -31,6 +31,7 @@
import java.util.List;
import java.util.Map;
+import org.apache.ibatis.io.SerialFilterChecker;
import org.apache.ibatis.reflection.factory.ObjectFactory;
/**
@@ -106,9 +107,11 @@ protected final Object readResolve() throws ObjectStreamException {
return this.userBean;
}
+ SerialFilterChecker.check();
+
/* First run */
try {
final ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(this.userBeanBytes));
this.userBean = in.readObject();
this.unloadedProperties = (Map<String, ResultLoaderMap.LoadPair>) in.readObject();
this.objectFactory = (ObjectFactory) in.readObject();
diff --git a/src/main/java/org/apache/ibatis/io/SerialFilterChecker.java b/src/main/java/org/apache/ibatis/io/SerialFilterChecker.java
new file mode 100644
index 00000000000..abacac68332
--- /dev/null
+++ b/src/main/java/org/apache/ibatis/io/SerialFilterChecker.java
@@ -0,0 +1,54 @@
+/**
+ * Copyright 2009-2020 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.
+ * You may obtain a copy of the License at
+ *
+ * http://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.
+ */
+
+package org.apache.ibatis.io;
+
+import java.security.Security;
+
+import org.apache.ibatis.logging.Log;
+import org.apache.ibatis.logging.LogFactory;
+
+public final class SerialFilterChecker {
+ private static final Log log = LogFactory.getLog(SerialFilterChecker.class);
+ /* Property key for the JEP-290 serialization filters */
+ private static final String JDK_SERIAL_FILTER = "jdk.serialFilter";
+ private static final boolean SERIAL_FILTER_MISSING;
+ private static boolean firstInvocation = true;
+
+ static {
+ Object serialFilter;
+ try {
+ Class<?> objectFilterConfig = Class.forName("java.io.ObjectInputFilter$Config");
+ serialFilter = objectFilterConfig.getMethod("getSerialFilter").invoke(null);
+ } catch (ReflectiveOperationException e) {
+ // Java 1.8
+ serialFilter = System.getProperty(JDK_SERIAL_FILTER, Security.getProperty(JDK_SERIAL_FILTER));
+ }
+ SERIAL_FILTER_MISSING = serialFilter == null;
+ }
+
+ public static void check() {
+ if (firstInvocation && SERIAL_FILTER_MISSING) {
+ firstInvocation = false;
+ log.warn(
+ "As you are using functionality that deserializes object streams, it is recommended to define the JEP-290 serial filter. "
+ + "Please refer to https://docs.oracle.com/pls/topic/lookup?ctx=javase15&id=GUID-8296D8E8-2B93-4B9A-856E-0A65AF9B8C66");
+ }
+ }
+
+ private SerialFilterChecker() {
+ }
+}

BIN
mssql-jdbc-9.4.0.jre8.jar Normal file

Binary file not shown.

View File

@ -1,67 +0,0 @@
diff -Nru mybatis-3-mybatis-3.2.8/pom.xml mybatis-3-mybatis-3.2.8-gil/pom.xml
--- mybatis-3-mybatis-3.2.8/pom.xml 2014-10-10 18:44:34.000000000 +0200
+++ mybatis-3-mybatis-3.2.8-gil/pom.xml 2014-12-26 14:27:03.038441294 +0100
@@ -136,9 +136,9 @@
<dependencies>
<dependency>
- <groupId>ognl</groupId>
- <artifactId>ognl</artifactId>
- <version>2.6.9</version>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-ognl</artifactId>
+ <version>4.0-incubating-SNAPSHOT</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
diff -Nru mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java mybatis-3-mybatis-3.2.8-gil/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java
--- mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java 2014-10-10 18:44:34.000000000 +0200
+++ mybatis-3-mybatis-3.2.8-gil/src/main/java/org/apache/ibatis/scripting/xmltags/DynamicContext.java 2014-12-26 14:30:00.065088895 +0100
@@ -18,9 +18,9 @@
import java.util.HashMap;
import java.util.Map;
-import ognl.OgnlException;
-import ognl.OgnlRuntime;
-import ognl.PropertyAccessor;
+import org.apache.commons.ognl.OgnlException;
+import org.apache.commons.ognl.OgnlRuntime;
+import org.apache.commons.ognl.MapPropertyAccessor;
import org.apache.ibatis.reflection.MetaObject;
import org.apache.ibatis.session.Configuration;
@@ -107,7 +107,7 @@
}
}
- static class ContextAccessor implements PropertyAccessor {
+ static class ContextAccessor extends MapPropertyAccessor {
public Object getProperty(Map context, Object target, Object name)
throws OgnlException {
diff -Nru mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java mybatis-3-mybatis-3.2.8-gil/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java
--- mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java 2014-10-10 18:44:34.000000000 +0200
+++ mybatis-3-mybatis-3.2.8-gil/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java 2014-12-26 14:31:45.179409686 +0100
@@ -19,8 +19,8 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
-import ognl.Ognl;
-import ognl.OgnlException;
+import org.apache.commons.ognl.Ognl;
+import org.apache.commons.ognl.OgnlException;
import org.apache.ibatis.builder.BuilderException;
diff -Nru mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlClassResolver.java mybatis-3-mybatis-3.2.8-gil/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlClassResolver.java
--- mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlClassResolver.java 2014-10-10 18:44:34.000000000 +0200
+++ mybatis-3-mybatis-3.2.8-gil/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlClassResolver.java 2014-12-26 14:32:53.568668180 +0100
@@ -19,7 +19,7 @@
import java.util.HashMap;
import java.util.Map;
-import ognl.ClassResolver;
+import org.apache.commons.ognl.ClassResolver;
import org.apache.ibatis.io.Resources;

View File

@ -1,36 +0,0 @@
diff -Nru mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/logging/log4j2/Log4j2AbstractLoggerImpl.java mybatis-3-mybatis-3.2.8.log4j2/src/main/java/org/apache/ibatis/logging/log4j2/Log4j2AbstractLoggerImpl.java
--- mybatis-3-mybatis-3.2.8/src/main/java/org/apache/ibatis/logging/log4j2/Log4j2AbstractLoggerImpl.java 2014-10-10 18:44:34.000000000 +0200
+++ mybatis-3-mybatis-3.2.8.log4j2/src/main/java/org/apache/ibatis/logging/log4j2/Log4j2AbstractLoggerImpl.java 2016-08-25 12:32:27.624998558 +0200
@@ -51,27 +51,27 @@
@Override
public void error(String s, Throwable e) {
- log.logIfEnabled(FQCN, Level.ERROR, MARKER, new SimpleMessage(s), e);
+ log.logIfEnabled(FQCN, Level.ERROR, MARKER, s, e);
}
@Override
public void error(String s) {
- log.logIfEnabled(FQCN, Level.ERROR, MARKER, new SimpleMessage(s), null);
+ log.logIfEnabled(FQCN, Level.ERROR, MARKER, s, (Throwable) null);
}
@Override
public void debug(String s) {
- log.logIfEnabled(FQCN, Level.DEBUG, MARKER, new SimpleMessage(s), null);
+ log.logIfEnabled(FQCN, Level.DEBUG, MARKER, s, (Throwable) null);
}
@Override
public void trace(String s) {
- log.logIfEnabled(FQCN, Level.TRACE, MARKER, new SimpleMessage(s), null);
+ log.logIfEnabled(FQCN, Level.TRACE, MARKER, s, (Throwable) null);
}
@Override
public void warn(String s) {
- log.logIfEnabled(FQCN, Level.WARN, MARKER, new SimpleMessage(s), null);
+ log.logIfEnabled(FQCN, Level.WARN, MARKER, s, (Throwable) null);
}
}

Binary file not shown.

BIN
mybatis-3.5.8.tar.gz Normal file

Binary file not shown.

1364
mybatis-parent-33.pom Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,27 +1,19 @@
%bcond_with test
Name: mybatis
Version: 3.2.8
Release: 3
Version: 3.5.8
Release: 1
Summary: SQL Mapping Framework for Java
License: Apache 2.0
URL: https://github.com/mybatis/mybatis-3
Source0: https://github.com/mybatis/mybatis-3/archive/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-commons-ognl.patch
Patch1: mybatis-3.2.8-log4j2.6.patch
Patch2: CVE-2020-26945.patch
BuildRequires: maven-local mvn(cglib:cglib) mvn(commons-logging:commons-logging)
BuildRequires: mvn(log4j:log4j:1.2.17) mvn(org.apache.commons:commons-ognl)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.logging.log4j:log4j-core)
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-site-plugin) mvn(org.javassist:javassist)
BuildRequires: mvn(org.mybatis:mybatis-parent:pom:) mvn(org.slf4j:slf4j-api)
%if %{with test}
BuildRequires: mvn(commons-dbcp:commons-dbcp) mvn(junit:junit) mvn(org.apache.derby:derby)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec)
BuildRequires: mvn(org.apache.geronimo.specs:specs:pom:) mvn(org.apache.velocity:velocity)
BuildRequires: mvn(org.hsqldb:hsqldb) mvn(org.mockito:mockito-core) mvn(postgresql:postgresql)
%endif
Source1: mssql-jdbc-9.4.0.jre8.jar
Source2: ognl-3.3.0.jar
Source3: mybatis-parent-33.pom
Source4: oss-parent-9.pom
Source5: xmvn-reactor
Patch0: 0001-add-javadoc-plugin-in-pom-file.patch
BuildRequires: maven maven-local java-1.8.0-openjdk-devel
Requires: java-1.8.0-openjdk javapackages-tools
BuildArch: noarch
%description
@ -48,11 +40,11 @@ Summary: Javadoc for %{name}
This package contains javadoc for %{name}.
%prep
mvn install:install-file -DgroupId=org.mybatis -DartifactId=mybatis-parent -Dversion=33 -Dpackaging=pom -Dfile=%{SOURCE3}
mvn install:install-file -DgroupId=org.sonatype.oss -DartifactId=oss-parent -Dversion=9 -Dpackaging=pom -Dfile=%{SOURCE4}
%autosetup -n %{name}-3-%{name}-%{version} -p1
%pom_remove_dep org.slf4j:slf4j-log4j12
%pom_remove_plugin :maven-pdf-plugin
%pom_remove_plugin :jarjar-maven-plugin
%pom_remove_plugin :cobertura-maven-plugin
sed -i 's/\r//' LICENSE NOTICE
%if %{with test}
%pom_remove_dep javax.transaction:transaction-api
@ -65,24 +57,33 @@ rm src/test/java/org/apache/ibatis/submitted/multipleresultsetswithassociation/M
rm src/test/java/org/apache/ibatis/logging/LogFactoryTest.java
%endif
%mvn_file :%{name} %{name}
mvn install:install-file -DgroupId=com.microsoft.sqlserver -DartifactId=mssql-jdbc -Dversion=9.4.0.jre8 -Dpackaging=jar -Dfile=%{SOURCE1}
mvn install:install-file -DgroupId=ognl -DartifactId=ognl -Dversion=3.3.0 -Dpackaging=jar -Dfile=%{SOURCE2}
cp %{SOURCE5} ./.xmvn-reactor
echo `pwd` > absolute_prefix.log
sed -i 's/\//\\\//g' absolute_prefix.log
absolute_prefix=`head -n 1 absolute_prefix.log`
sed -i 's/absolute-prefix/'"$absolute_prefix"'/g' .xmvn-reactor
%build
%if %{without test}
opts="-f"
%endif
%mvn_build $opts -- -Dproject.build.sourceEncoding=UTF-8
mvn -Dproject.build.sourceEncoding=UTF-8 -DskipTests package
%install
%mvn_install
install -d -m 0755 %{buildroot}/%{_javadocdir}/%{name}
install -m 0755 target/mybatis-3.5.8-javadoc.jar %{buildroot}/%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%files javadoc
%{_javadocdir}/mybatis
%license LICENSE NOTICE
%changelog
* Wed Jan 19 2022 xu_ping <xuping33@huawei.com> - 3.5.8-1
- Upgrade 3.5.8
* Fri Dec 24 2021 wangkai <wangkai385@huawei.com> - 3.2.8-3
- This package depends on log4j.After the log4j vulnerability CVE-2021-45105 is fixed,the version needs to be rebuild.

BIN
ognl-3.3.0.jar Normal file

Binary file not shown.

156
oss-parent-9.pom Normal file
View File

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2007-2011 Sonatype, Inc. All rights reserved.
~
~ This program is licensed to you under the Apache License Version 2.0,
~ and you may not use this file except in compliance with the Apache License Version 2.0.
~ You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the Apache License Version 2.0 is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
<packaging>pom</packaging>
<name>Sonatype OSS Parent</name>
<url>http://nexus.sonatype.org/oss-repository-hosting.html</url>
<description>Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/</description>
<scm>
<connection>scm:svn:http://svn.sonatype.org/spice/trunk/oss/oss-parenti-9</connection>
<developerConnection>scm:svn:https://svn.sonatype.org/spice/trunk/oss/oss-parent-9</developerConnection>
<url>http://svn.sonatype.org/spice/trunk/oss/oss-parent-9</url>
</scm>
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
<message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<arguments>${arguments} -Psonatype-oss-release</arguments>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
<arguments />
</properties>
<profiles>
<profile>
<id>sonatype-oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

102
xmvn-reactor Normal file
View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://fedorahosted.org/xmvn/METADATA/3.0.0">
<artifacts>
<artifact>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.8</version>
<path>absolute-prefix/target/mybatis-3.5.8.jar</path>
<properties>
<type>jar</type>
<requiresJava>1.6</requiresJava>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<requestedVersion>1.7.5</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<requestedVersion>1.2.17</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<requestedVersion>2.0.2</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<requestedVersion>1.1.1</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<requestedVersion>3.17.1-GA</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<requestedVersion>2.2.2</requestedVersion>
<optional>true</optional>
</dependency>
</dependencies>
</artifact>
<artifact>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<extension>pom</extension>
<version>3.5.8</version>
<path>absolute-prefix/pom.xml</path>
<properties>
<type>jar</type>
<requiresJava>1.6</requiresJava>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<requestedVersion>1.7.5</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<requestedVersion>1.2.17</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<requestedVersion>2.0.2</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<requestedVersion>1.1.1</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<requestedVersion>3.17.1-GA</requestedVersion>
<optional>true</optional>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<requestedVersion>2.2.2</requestedVersion>
<optional>true</optional>
</dependency>
</dependencies>
</artifact>
</artifacts>
</metadata>