최초 세팅
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,491 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
Copyright 2010-2023 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
|
||||
|
||||
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.
|
||||
|
||||
-->
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis-parent</artifactId>
|
||||
<version>40</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
<artifactId>mybatis-spring</artifactId>
|
||||
<version>3.0.3</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>mybatis-spring</name>
|
||||
<description>An easy-to-use Spring bridge for MyBatis sql mapping framework.</description>
|
||||
<url>http://www.mybatis.org/spring/</url>
|
||||
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Alex Rykov</name>
|
||||
<email>Alex.Rykov@gmail.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Andrius Juozapaitis</name>
|
||||
<email>andriusj@gmail.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Giovanni Cuccu</name>
|
||||
<email>giovanni.cuccu@gmail.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Kay Huber</name>
|
||||
<email>kay.huber@gmail.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Lishu Luo</name>
|
||||
<email>lishu.luo@gmail.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Michael Lanyon</name>
|
||||
<email>lanyonm@gmail.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Raj Nagappan</name>
|
||||
<email>raj@velocitylabs.com</email>
|
||||
</contributor>
|
||||
|
||||
<contributor>
|
||||
<name>Tomas Pinos</name>
|
||||
<email>tomas.pinos@gmail.com</email>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:ssh://git@github.com/mybatis/spring.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/mybatis/spring.git</developerConnection>
|
||||
<tag>mybatis-spring-3.0.3</tag>
|
||||
<url>http://github.com/mybatis/spring</url>
|
||||
</scm>
|
||||
<issueManagement>
|
||||
<system>GitHub Issue Management</system>
|
||||
<url>https://github.com/mybatis/spring/issues</url>
|
||||
</issueManagement>
|
||||
<ciManagement>
|
||||
<system>GitHub Actions</system>
|
||||
<url>https://github.com/mybatis/spring/actions</url>
|
||||
</ciManagement>
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>gh-pages-scm</id>
|
||||
<name>Mybatis GitHub Pages</name>
|
||||
<url>scm:git:ssh://git@github.com/mybatis/spring.git</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
<clirr.comparisonVersion>2.1.0</clirr.comparisonVersion>
|
||||
<findbugs.onlyAnalyze>org.mybatis.spring.*,org.mybatis.spring.mapper.*,org.mybatis.spring.support.*,org.mybatis.spring.transaction.*</findbugs.onlyAnalyze>
|
||||
<gcu.product>Spring</gcu.product>
|
||||
<osgi.import>org.springframework.batch.*;resolution:=optional,*</osgi.import>
|
||||
<osgi.dynamicImport>*</osgi.dynamicImport>
|
||||
|
||||
<!-- Maven compiler options -->
|
||||
<java.version>17</java.version>
|
||||
<java.release.version>17</java.release.version>
|
||||
|
||||
<derby.version>10.17.1.0</derby.version>
|
||||
<mybatis.version>3.5.14</mybatis.version>
|
||||
<spring.version>6.1.0</spring.version>
|
||||
<spring-batch.version>5.0.3</spring-batch.version>
|
||||
<module.name>org.mybatis.spring</module.name>
|
||||
|
||||
<junit.version>5.10.1</junit.version>
|
||||
|
||||
<!-- Reproducible Builds -->
|
||||
<project.build.outputTimestamp>1700476303</project.build.outputTimestamp>
|
||||
|
||||
<!-- Set byte buddy to experimental -->
|
||||
<net.bytebuddy.experimental>true</net.bytebuddy.experimental>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Compile dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis</artifactId>
|
||||
<version>${mybatis.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-jdbc</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.batch</groupId>
|
||||
<artifactId>spring-batch-infrastructure</artifactId>
|
||||
<version>${spring-batch.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Test dependencies -->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.atomikos</groupId>
|
||||
<artifactId>transactions-jdbc</artifactId>
|
||||
<version>6.0.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
<version>${derby.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jboss.byteman</groupId>
|
||||
<artifactId>byteman-bmunit</artifactId>
|
||||
<version>4.0.22</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.batch</groupId>
|
||||
<artifactId>spring-batch-core</artifactId>
|
||||
<version>${spring-batch.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.batch</groupId>
|
||||
<artifactId>spring-batch-test</artifactId>
|
||||
<version>${spring-batch.version}</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>hsqldb</artifactId>
|
||||
<version>2.7.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<version>2.0.9</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>5.7.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>3.24.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.mockrunner</groupId>
|
||||
<artifactId>mockrunner-core</artifactId>
|
||||
<version>2.0.7</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.kirkk</groupId>
|
||||
<artifactId>jaranalyzer</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>nekohtml</groupId>
|
||||
<artifactId>nekohtml</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mockrunner</groupId>
|
||||
<artifactId>mockrunner-ejb</artifactId>
|
||||
<version>2.0.7</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>commons-beanutils</groupId>
|
||||
<artifactId>commons-beanutils</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.mockejb</groupId>
|
||||
<artifactId>mockejb</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mockrunner</groupId>
|
||||
<artifactId>mockrunner-jdbc</artifactId>
|
||||
<version>2.0.7</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>jakarta.transaction</groupId>
|
||||
<artifactId>jakarta.transaction-api</artifactId>
|
||||
<version>2.0.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jakarta.servlet</groupId>
|
||||
<artifactId>jakarta.servlet-api</artifactId>
|
||||
<version>6.0.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>net.bytebuddy</groupId>
|
||||
<artifactId>byte-buddy</artifactId>
|
||||
<version>1.14.9</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.bytebuddy</groupId>
|
||||
<artifactId>byte-buddy-agent</artifactId>
|
||||
<version>1.14.9</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-oss-snapshots</id>
|
||||
<name>Sonatype OSS Snapshots Repository</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<id>spring-snapshot</id>
|
||||
<name>Spring Snapshots</name>
|
||||
<url>https://repo.spring.io/snapshot</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>spring-milestone</id>
|
||||
<name>Spring Milestone</name>
|
||||
<url>https://repo.spring.io/milestone</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<id>spring-snapshot</id>
|
||||
<name>Spring Snapshots</name>
|
||||
<url>https://repo.spring.io/snapshot</url>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>spring-milestone</id>
|
||||
<name>Spring Milestone</name>
|
||||
<url>https://repo.spring.io/milestone</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<targetPath>META-INF</targetPath>
|
||||
<directory>${project.basedir}</directory>
|
||||
<includes>
|
||||
<include>LICENSE</include>
|
||||
<include>NOTICE</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>${project.build.testSourceDirectory}</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
</testResource>
|
||||
</testResources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<systemProperties>
|
||||
<property>
|
||||
<name>derby.stream.error.file</name>
|
||||
<value>${project.build.directory}/derby.log</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>com.atomikos.icatch.log_base_dir</name>
|
||||
<value>${project.build.directory}</value>
|
||||
</property>
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<!-- prepare site content by filtering ${project.*} values-->
|
||||
<execution>
|
||||
<id>filter-site</id>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<phase>pre-site</phase>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/site-src</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/site</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<configuration>
|
||||
<locales>en,es,zh_CN,ja,ko</locales>
|
||||
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- We are not modular yet but use automatic module names, javadoc plugin has well known incorrect determination of modular, patch it -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalOptions combine.children="append">
|
||||
<option>--add-modules</option>
|
||||
<option>java.sql</option>
|
||||
<option>--add-modules</option>
|
||||
<option>java.xml</option>
|
||||
</additionalOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>pre16</id>
|
||||
<activation>
|
||||
<jdk>(,16)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<derby.version>10.15.2.0</derby.version>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>17</id>
|
||||
<activation>
|
||||
<jdk>[17,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<derby.version>10.16.1.1</derby.version>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>19</id>
|
||||
<activation>
|
||||
<jdk>[19,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<derby.version>10.17.1.0</derby.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
@@ -0,0 +1,470 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
Copyright 2009-2023 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
|
||||
|
||||
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.
|
||||
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis-parent</artifactId>
|
||||
<version>39</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
<artifactId>mybatis</artifactId>
|
||||
<version>3.5.14</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>mybatis</name>
|
||||
<description>
|
||||
The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented
|
||||
applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or
|
||||
annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping
|
||||
tools.
|
||||
</description>
|
||||
<url>https://www.mybatis.org/mybatis-3</url>
|
||||
|
||||
<inceptionYear>2009</inceptionYear>
|
||||
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Adam Gent</name>
|
||||
<email>adam.gent@evocatus.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Andrea Selva</name>
|
||||
<email>selva.andre@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Antonio Sánchez</name>
|
||||
<email>juntandolineas@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Arkadi Shishlov</name>
|
||||
<email>arkadi.shishlov@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Axel Doerfler</name>
|
||||
<email>axel.doerfler@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Chris Dadej</name>
|
||||
<email>chris.dadej@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Denis Vygovskiy</name>
|
||||
<email>qizant@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Franta Mejta</name>
|
||||
<email>mejta@rewor.cz</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jurriaan Pruys</name>
|
||||
<email>jurriaan@pruys.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Keith Wong</name>
|
||||
<email>wongkwl@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Lasse Voss</name>
|
||||
<email>lasse.voss@motor-talk-gmbh.de</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Luke Stevens</name>
|
||||
<email>nosuchluke@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Paul Krause</name>
|
||||
<email>paulkrause88@alum.mit.edu</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Peter Leibiger</name>
|
||||
<email>kuhnroyal@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Riccardo Cossu</name>
|
||||
<email>riccardo.cossu@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Tomáš Neuberg</name>
|
||||
<email>neuberg@m-atelier.cz</email>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<scm>
|
||||
<url>https://github.com/mybatis/mybatis-3</url>
|
||||
<connection>scm:git:ssh://github.com/mybatis/mybatis-3.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/mybatis/mybatis-3.git</developerConnection>
|
||||
<tag>mybatis-3.5.14</tag>
|
||||
</scm>
|
||||
<issueManagement>
|
||||
<system>GitHub Issue Management</system>
|
||||
<url>https://github.com/mybatis/mybatis-3/issues</url>
|
||||
</issueManagement>
|
||||
<ciManagement>
|
||||
<system>Github</system>
|
||||
<url>https://github.com/mybatis/mybatis-3/actions</url>
|
||||
</ciManagement>
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>gh-pages</id>
|
||||
<name>Mybatis GitHub Pages</name>
|
||||
<url>git:ssh://git@github.com/mybatis/mybatis-3.git?gh-pages#</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
<clirr.comparisonVersion>3.4.6</clirr.comparisonVersion>
|
||||
<log4j.version>2.21.1</log4j.version>
|
||||
|
||||
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName'). -->
|
||||
<!-- Excluded groups are ran on github ci, to force here, pass -d"excludedGroups=" -->
|
||||
<excludedGroups>TestcontainersTests</excludedGroups>
|
||||
|
||||
<!-- Automatic Module Name -->
|
||||
<module.name>org.mybatis</module.name>
|
||||
|
||||
<!-- OSGI Data -->
|
||||
<osgi.export>org.apache.ibatis.*;version=${project.version};-noimport:=true</osgi.export>
|
||||
<osgi.import>*;resolution:=optional</osgi.import>
|
||||
<osgi.dynamicImport>*</osgi.dynamicImport>
|
||||
|
||||
<!-- Spotbugs Setup -->
|
||||
<spotbugs.onlyAnalyze>org.apache.ibatis.*</spotbugs.onlyAnalyze>
|
||||
|
||||
<!-- Surefire Setup -->
|
||||
<argLine>-Xmx2048m</argLine>
|
||||
|
||||
<!-- Reproducible Builds -->
|
||||
<project.build.outputTimestamp>1698763195</project.build.outputTimestamp>
|
||||
|
||||
<allowed.build.jdks>[11,12),[17,18),[21,22),[22,23)</allowed.build.jdks>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ognl</groupId>
|
||||
<artifactId>ognl</artifactId>
|
||||
<version>3.3.4</version>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.javassist</groupId>
|
||||
<artifactId>javassist</artifactId>
|
||||
<version>3.29.2-GA</version>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>2.0.9</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.reload4j</groupId>
|
||||
<artifactId>reload4j</artifactId>
|
||||
<version>1.2.25</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-api</artifactId>
|
||||
<version>${log4j.version}</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.2</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cglib</groupId>
|
||||
<artifactId>cglib</artifactId>
|
||||
<version>3.3.0</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Test dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>5.10.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<version>5.10.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>hsqldb</artifactId>
|
||||
<version>2.6.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
<version>10.15.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derbyshared</artifactId>
|
||||
<version>10.15.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derbyoptionaltools</artifactId>
|
||||
<version>10.15.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<version>2.2.224</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>5.6.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-subclass</artifactId>
|
||||
<version>5.6.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<version>5.6.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity-engine-core</artifactId>
|
||||
<version>2.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- postgresql driver is required to run the refcursor tests -->
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.6.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
<artifactId>mysql-connector-j</artifactId>
|
||||
<version>8.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>3.24.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>eu.codearte.catch-exception</groupId>
|
||||
<artifactId>catch-exception</artifactId>
|
||||
<version>2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>1.19.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>1.19.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>mysql</artifactId>
|
||||
<version>1.19.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- For javadoc link -->
|
||||
<dependency>
|
||||
<groupId>com.microsoft.sqlserver</groupId>
|
||||
<artifactId>mssql-jdbc</artifactId>
|
||||
<version>11.2.0.jre8</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>${log4j.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<systemPropertyVariables>
|
||||
<property>
|
||||
<name>derby.stream.error.file</name>
|
||||
<value>${project.build.directory}/derby.log</value>
|
||||
</property>
|
||||
<property>
|
||||
<name>derby.system.home</name>
|
||||
<value>${project.build.directory}</value>
|
||||
</property>
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pdf-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>org.mybatis:mybatis</include>
|
||||
<include>ognl:ognl</include>
|
||||
<include>org.javassist:javassist</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>ognl:ognl</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/MANIFEST.MF</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
<filter>
|
||||
<artifact>org.javassist:javassist</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/MANIFEST.MF</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>ognl</pattern>
|
||||
<shadedPattern>org.apache.ibatis.ognl</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>javassist</pattern>
|
||||
<shadedPattern>org.apache.ibatis.javassist</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<configuration>
|
||||
<locales>en,es,ja,fr,zh_CN,ko</locales>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>org.apache.ibatis.ognl.*</exclude>
|
||||
<exclude>org.apache.ibatis.javassist.*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>pre16</id>
|
||||
<activation>
|
||||
<jdk>(,16)</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<testExcludes>
|
||||
<testExclude>**/record_type/*.java</testExclude>
|
||||
</testExcludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>net.revelc.code</groupId>
|
||||
<artifactId>impsort-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>16</id>
|
||||
<activation>
|
||||
<jdk>[16,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<java.version>16</java.version>
|
||||
<java.release.version>16</java.release.version>
|
||||
<java.test.version>16</java.test.version>
|
||||
<java.test.release.version>16</java.test.release.version>
|
||||
<excludedGroups>TestcontainersTests,RequireIllegalAccess</excludedGroups>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user