diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index a380338b9b8..7095a8882f3 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.2/apache-maven-3.5.2-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.0/maven-wrapper-0.4.0.jar diff --git a/.travis.yml b/.travis.yml index 7473fa4bd69..75802ac5b3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,10 @@ language: java sudo: false -addons: - apt: - packages: - - openjdk-6-jdk - jdk: - oraclejdk9 - oraclejdk8 - openjdk8 - - openjdk7 - - openjdk6 before_install: - echo "MAVEN_OPTS='-Dlicense.skip=true'" > ~/.mavenrc diff --git a/pom.xml b/pom.xml index 0d7900baa10..6b6542523a1 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.mybatis mybatis-parent - 29 + 31-SNAPSHOT @@ -131,6 +131,8 @@ + 1.8 + 1.8 1.8 1.8 -parameters @@ -140,13 +142,17 @@ *;resolution:=optional * org.apache.ibatis.test.SlowTests + + + java18 + 1.0 ognl ognl - 3.1.16 + 3.1.16 compile true @@ -175,11 +181,10 @@ 1.2.17 true - org.apache.logging.log4j log4j-core - 2.3 + 2.5 true @@ -191,7 +196,7 @@ cglib cglib - 3.2.5 + 3.2.6 true @@ -199,38 +204,37 @@ org.junit.vintage junit-vintage-engine - 4.12.2 + 5.1.0 test org.hsqldb hsqldb - 2.3.5 + 2.4.0 test org.apache.derby derby - 10.12.1.1 + 10.14.1.0 test org.mockito mockito-core - 2.12.0 + 2.16.0 test - - commons-dbcp - commons-dbcp - 1.4 + org.apache.commons + commons-dbcp2 + 2.2.0 test - org.jboss.spec.javax.transaction - jboss-transaction-api_1.2_spec - 1.0.1.Final + javax.transaction + javax.transaction-api + 1.3 test @@ -243,25 +247,25 @@ org.postgresql postgresql - 42.1.4.jre6 + 42.2.1 test org.assertj assertj-core - 1.7.1 + 3.9.1 test eu.codearte.catch-exception catch-exception - 1.4.4 + 1.4.6 test ru.yandex.qatools.embed postgresql-embedded - 2.5 + 2.8 test @@ -346,12 +350,6 @@ - - - org.codehaus.mojo - animal-sniffer-maven-plugin - 1.16 - @@ -380,71 +378,13 @@ - - - java16 - - 1.6 - - - 1.6 - 1.6 - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - **/usesjava7/**/*.java - **/usesjava8/**/*.java - - - - - org.apache.felix - maven-bundle-plugin - 2.5.4 - - - - - - org.apache.felix - maven-bundle-plugin - 2.5.4 - - - - - - java17 - - 1.7 - - - 1.7 - 1.7 - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - **/usesjava8/**/*.java - - - - - - - - + + + + sonatype-oss-snapshots + Sonatype OSS Snapshots Repository + https://oss.sonatype.org/content/repositories/snapshots + + + diff --git a/travis/install.sh b/travis/install.sh index 64e6b0355f0..8a2a02e3c16 100644 --- a/travis/install.sh +++ b/travis/install.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright 2009-2017 the original author or authors. +# Copyright 2009-2018 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. @@ -15,13 +15,4 @@ # limitations under the License. # -if [ $TRAVIS_JDK_VERSION == "openjdk6" ]; then - # Java 1.6 - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pjava16 --settings ./travis/settings.xml -elif [ $TRAVIS_JDK_VERSION == "openjdk7" ]; then - # Java 1.7 - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pjava17 --settings ./travis/settings.xml -else - # Java 1.8 and 9 - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V --settings ./travis/settings.xml -fi +./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V --settings ./travis/settings.xml