|
1 | 1 | <!--
|
2 | 2 |
|
3 |
| - Copyright 2016-2018 the original author or authors. |
| 3 | + Copyright 2016-2019 the original author or authors. |
4 | 4 |
|
5 | 5 | Licensed under the Apache License, Version 2.0 (the "License");
|
6 | 6 | you may not use this file except in compliance with the License.
|
|
15 | 15 | limitations under the License.
|
16 | 16 |
|
17 | 17 | -->
|
| 18 | +<!-- Copyright 2016-2019 the original author or authors. Licensed under the |
| 19 | + Apache License, Version 2.0 (the "License"); you may not use this file except |
| 20 | + in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 21 | + Unless required by applicable law or agreed to in writing, software distributed |
| 22 | + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| 23 | + OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
| 24 | + the specific language governing permissions and limitations under the License. --> |
18 | 25 | <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">
|
19 | 26 | <modelVersion>4.0.0</modelVersion>
|
20 | 27 | <parent>
|
21 | 28 | <groupId>org.mybatis</groupId>
|
22 | 29 | <artifactId>mybatis-parent</artifactId>
|
23 |
| - <version>30</version> |
| 30 | + <version>31</version> |
24 | 31 | </parent>
|
25 | 32 | <groupId>org.mybatis.dynamic-sql</groupId>
|
26 | 33 | <artifactId>mybatis-dynamic-sql</artifactId>
|
27 |
| - <version>1.1.1-SNAPSHOT</version> |
| 34 | + <version>1.1.2-SNAPSHOT</version> |
28 | 35 | <name>MyBatis Dynamic SQL</name>
|
29 | 36 | <description>MyBatis framework for generating dynamic SQL</description>
|
30 | 37 | <inceptionYear>2016</inceptionYear>
|
|
33 | 40 | <java.version>1.8</java.version>
|
34 | 41 | <maven.compiler.source>${java.version}</maven.compiler.source>
|
35 | 42 | <maven.compiler.target>${java.version}</maven.compiler.target>
|
36 |
| - <maven.compiler.testTarget>${java.version}</maven.compiler.testTarget> |
37 |
| - <maven.compiler.testSource>${java.version}</maven.compiler.testSource> |
38 |
| - <junit.jupiter.version>5.2.0</junit.jupiter.version> |
39 |
| - <junit.platform.version>1.2.0</junit.platform.version> |
| 43 | + <junit.jupiter.version>5.4.1</junit.jupiter.version> |
| 44 | + <junit.platform.version>1.4.1</junit.platform.version> |
| 45 | + <spring.batch.version>4.1.2.RELEASE</spring.batch.version> |
40 | 46 | <clirr.comparisonVersion>1.1.0</clirr.comparisonVersion>
|
| 47 | + <module.name>org.mybatis.dynamic.sql</module.name> |
41 | 48 | </properties>
|
42 |
| - |
43 |
| - <reporting> |
44 |
| - <plugins> |
45 |
| - <plugin> |
46 |
| - <groupId>org.jacoco</groupId> |
47 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
48 |
| - <version>0.8.1</version> |
49 |
| - <reportSets> |
50 |
| - <reportSet> |
51 |
| - <reports> |
52 |
| - <report>report</report> |
53 |
| - </reports> |
54 |
| - <configuration> |
55 |
| - <title>${project.name} - Unit Test Report</title> |
56 |
| - </configuration> |
57 |
| - </reportSet> |
58 |
| - </reportSets> |
59 |
| - </plugin> |
60 |
| - <plugin> <!-- JDK 10 --> |
61 |
| - <groupId>org.apache.maven.plugins</groupId> |
62 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
63 |
| - <version>3.0.1</version> |
64 |
| - </plugin> |
65 |
| - <plugin> |
66 |
| - <groupId>org.apache.maven.plugins</groupId> |
67 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
68 |
| - <configuration> |
69 |
| - <configLocation>checkstyle-override.xml</configLocation> |
70 |
| - </configuration> |
71 |
| - </plugin> |
72 |
| - <!-- Added for JDK 10 --> |
73 |
| - <plugin> |
74 |
| - <groupId>com.github.spotbugs</groupId> |
75 |
| - <artifactId>spotbugs-maven-plugin</artifactId> |
76 |
| - <version>3.1.5</version> |
77 |
| - </plugin> |
78 |
| - </plugins> |
79 |
| - </reporting> |
80 |
| - |
| 49 | + |
81 | 50 | <build>
|
82 | 51 | <pluginManagement>
|
83 |
| - <!-- Added for JDK 10 --> |
84 | 52 | <plugins>
|
85 | 53 | <plugin>
|
86 | 54 | <groupId>org.apache.maven.plugins</groupId>
|
87 | 55 | <artifactId>maven-javadoc-plugin</artifactId>
|
88 |
| - <version>3.0.1</version> |
89 |
| - </plugin> |
90 |
| - <plugin> |
91 |
| - <groupId>org.apache.maven.plugins</groupId> |
92 |
| - <artifactId>maven-surefire-plugin</artifactId> |
93 |
| - <version>2.22.0</version> |
94 |
| - </plugin> |
95 |
| - <plugin> |
96 |
| - <groupId>org.apache.maven.plugins</groupId> |
97 |
| - <artifactId>maven-site-plugin</artifactId> |
98 |
| - <version>3.7.1</version> |
99 |
| - </plugin> |
100 |
| - <plugin> |
101 |
| - <groupId>org.jacoco</groupId> |
102 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
103 |
| - <version>0.8.1</version> |
| 56 | + <configuration> |
| 57 | + <quiet>true</quiet> |
| 58 | + </configuration> |
104 | 59 | </plugin>
|
105 | 60 | </plugins>
|
106 | 61 | </pluginManagement>
|
107 |
| - |
108 | 62 | <plugins>
|
| 63 | + <!-- Copy the changelog into the generated site --> |
109 | 64 | <plugin>
|
110 |
| - <groupId>org.codehaus.mojo</groupId> |
111 |
| - <artifactId>animal-sniffer-maven-plugin</artifactId> |
112 |
| - <configuration> |
113 |
| - <signature> |
114 |
| - <groupId>org.codehaus.mojo.signature</groupId> |
115 |
| - <artifactId>java18</artifactId> |
116 |
| - <version>1.0</version> |
117 |
| - </signature> |
118 |
| - </configuration> |
| 65 | + <artifactId>maven-resources-plugin</artifactId> |
119 | 66 | <executions>
|
120 | 67 | <execution>
|
121 |
| - <id>check-java-1.8-compat</id> |
122 |
| - <phase>process-classes</phase> |
| 68 | + <id>copy-changelog</id> |
| 69 | + <phase>pre-site</phase> |
123 | 70 | <goals>
|
124 |
| - <goal>check</goal> |
| 71 | + <goal>copy-resources</goal> |
125 | 72 | </goals>
|
| 73 | + <configuration> |
| 74 | + <outputDirectory>${project.build.directory}/generated-site/markdown/docs</outputDirectory> |
| 75 | + <resources> |
| 76 | + <resource> |
| 77 | + <directory>${basedir}</directory> |
| 78 | + <include>CHANGELOG.md</include> |
| 79 | + </resource> |
| 80 | + </resources> |
| 81 | + </configuration> |
126 | 82 | </execution>
|
127 | 83 | </executions>
|
128 | 84 | </plugin>
|
129 | 85 | </plugins>
|
130 | 86 | </build>
|
131 |
| - |
| 87 | + |
| 88 | + <reporting> |
| 89 | + <plugins> |
| 90 | + <plugin> |
| 91 | + <groupId>org.apache.maven.plugins</groupId> |
| 92 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 93 | + <configuration> |
| 94 | + <configLocation>checkstyle-override.xml</configLocation> |
| 95 | + </configuration> |
| 96 | + </plugin> |
| 97 | + </plugins> |
| 98 | + </reporting> |
| 99 | + |
132 | 100 | <dependencies>
|
133 | 101 | <dependency>
|
134 | 102 | <groupId>org.junit.jupiter</groupId>
|
|
148 | 116 | <version>${junit.platform.version}</version>
|
149 | 117 | <scope>test</scope>
|
150 | 118 | </dependency>
|
151 |
| - |
| 119 | + |
152 | 120 | <dependency>
|
153 | 121 | <groupId>org.assertj</groupId>
|
154 | 122 | <artifactId>assertj-core</artifactId>
|
155 |
| - <version>3.10.0</version> |
| 123 | + <version>3.12.2</version> |
156 | 124 | <scope>test</scope>
|
157 | 125 | </dependency>
|
158 | 126 | <dependency>
|
159 | 127 | <groupId>org.mybatis</groupId>
|
160 | 128 | <artifactId>mybatis</artifactId>
|
161 |
| - <version>3.4.6</version> |
| 129 | + <version>3.5.1</version> |
| 130 | + <scope>test</scope> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>org.mybatis</groupId> |
| 134 | + <artifactId>mybatis-spring</artifactId> |
| 135 | + <version>2.0.1</version> |
162 | 136 | <scope>test</scope>
|
163 | 137 | </dependency>
|
164 | 138 | <dependency>
|
|
170 | 144 | <dependency>
|
171 | 145 | <groupId>org.springframework</groupId>
|
172 | 146 | <artifactId>spring-jdbc</artifactId>
|
173 |
| - <version>5.0.7.RELEASE</version> |
| 147 | + <version>5.1.6.RELEASE</version> |
174 | 148 | <scope>test</scope>
|
175 | 149 | </dependency>
|
| 150 | + <dependency> |
| 151 | + <groupId>org.springframework.batch</groupId> |
| 152 | + <artifactId>spring-batch-core</artifactId> |
| 153 | + <version>${spring.batch.version}</version> |
| 154 | + <scope>test</scope> |
| 155 | + </dependency> |
| 156 | + <dependency> |
| 157 | + <groupId>org.springframework.batch</groupId> |
| 158 | + <artifactId>spring-batch-test</artifactId> |
| 159 | + <version>${spring.batch.version}</version> |
| 160 | + <scope>test</scope> |
| 161 | + <exclusions> |
| 162 | + <exclusion> |
| 163 | + <groupId>junit</groupId> |
| 164 | + <artifactId>junit</artifactId> |
| 165 | + </exclusion> |
| 166 | + </exclusions> |
| 167 | + </dependency> |
176 | 168 | <dependency>
|
177 | 169 | <groupId>ch.qos.logback</groupId>
|
178 | 170 | <artifactId>logback-classic</artifactId>
|
|
202 | 194 | < url>git:ssh:// [email protected]/mybatis/mybatis-dynamic-sql.git?gh-pages#</ url>
|
203 | 195 | </site>
|
204 | 196 | </distributionManagement>
|
| 197 | + |
| 198 | + <profiles> |
| 199 | + <profile> |
| 200 | + <id>javadocVersion</id> |
| 201 | + <activation> |
| 202 | + <jdk>[9,)</jdk> |
| 203 | + </activation> |
| 204 | + <build> |
| 205 | + <pluginManagement> |
| 206 | + <plugins> |
| 207 | + <plugin> |
| 208 | + <groupId>org.apache.maven.plugins</groupId> |
| 209 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 210 | + <configuration> |
| 211 | + <additionalOptions>-html5</additionalOptions> |
| 212 | + </configuration> |
| 213 | + </plugin> |
| 214 | + </plugins> |
| 215 | + </pluginManagement> |
| 216 | + </build> |
| 217 | + </profile> |
| 218 | + </profiles> |
205 | 219 | </project>
|
0 commit comments