|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | 3 | Copyright 2009-2015 the original author or authors. |
4 | 4 |
|
|
20 | 20 | <parent> |
21 | 21 | <groupId>org.mybatis</groupId> |
22 | 22 | <artifactId>mybatis-parent</artifactId> |
23 | | - <version>24</version> |
| 23 | + <version>26</version> |
| 24 | + <relativePath /> |
24 | 25 | </parent> |
25 | 26 |
|
26 | 27 | <artifactId>mybatis</artifactId> |
27 | | - <version>3.3.0</version> |
| 28 | + <version>3.3.1-SNAPSHOT</version> |
28 | 29 | <packaging>jar</packaging> |
29 | 30 |
|
30 | 31 | <name>mybatis</name> |
31 | 32 | <description> |
32 | | - The MyBatis data mapper framework makes it easier to use a relational database with object-oriented |
| 33 | + The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented |
33 | 34 | applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or |
34 | 35 | annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping |
35 | 36 | tools. |
|
107 | 108 | <url>http://github.com/mybatis/mybatis-3</url> |
108 | 109 | <connection>scm:git:ssh://github.com/mybatis/mybatis-3.git</connection> |
109 | 110 | < developerConnection>scm:git:ssh:// [email protected]/mybatis/mybatis-3.git</ developerConnection> |
110 | | - <tag>mybatis-3.3.0</tag> |
| 111 | + <tag>HEAD</tag> |
111 | 112 | </scm> |
112 | 113 | <issueManagement> |
113 | 114 | <system>GitHub Issue Management</system> |
|
119 | 120 | </ciManagement> |
120 | 121 | <distributionManagement> |
121 | 122 | <site> |
122 | | - <id>github</id> |
123 | | - < url>gitsite: [email protected]/mybatis/mybatis-3.git</ url> |
| 123 | + <id>gh-pages</id> |
| 124 | + <name>Mybatis GitHub Pages</name> |
| 125 | + < url>git:ssh:// [email protected]/mybatis/mybatis-3.git?gh-pages#</ url> |
124 | 126 | </site> |
125 | 127 | </distributionManagement> |
126 | 128 |
|
127 | 129 | <properties> |
128 | | - <clirr.comparisonVersion>3.2.8</clirr.comparisonVersion> |
| 130 | + <clirr.comparisonVersion>3.3.0</clirr.comparisonVersion> |
129 | 131 | <findbugs.onlyAnalyze>org.apache.ibatis.*</findbugs.onlyAnalyze> |
130 | 132 | <osgi.export>org.apache.ibatis.*;version=${project.version};-noimport:=true</osgi.export> |
131 | 133 | <osgi.import>*;resolution:=optional</osgi.import> |
|
136 | 138 | <dependency> |
137 | 139 | <groupId>ognl</groupId> |
138 | 140 | <artifactId>ognl</artifactId> |
139 | | - <version>3.0.11</version> |
140 | | - <scope>provided</scope> |
| 141 | + <version>3.1.2</version> |
| 142 | + <scope>compile</scope> |
141 | 143 | <optional>true</optional> |
142 | 144 | <exclusions> |
143 | 145 | <exclusion> |
|
146 | 148 | </exclusion> |
147 | 149 | </exclusions> |
148 | 150 | </dependency> |
149 | | - <!-- 3.19.0 causes significant failures in unit tests. Review why... --> |
150 | 151 | <dependency> |
151 | 152 | <groupId>org.javassist</groupId> |
152 | 153 | <artifactId>javassist</artifactId> |
153 | | - <version>3.18.2-GA</version> |
154 | | - <scope>provided</scope> |
| 154 | + <version>3.20.0-GA</version> |
| 155 | + <scope>compile</scope> |
155 | 156 | <optional>true</optional> |
156 | 157 | </dependency> |
157 | 158 | <dependency> |
158 | 159 | <groupId>org.slf4j</groupId> |
159 | 160 | <artifactId>slf4j-api</artifactId> |
160 | | - <version>1.7.12</version> |
| 161 | + <version>1.7.14</version> |
161 | 162 | <optional>true</optional> |
162 | 163 | </dependency> |
163 | 164 | <dependency> |
164 | 165 | <groupId>org.slf4j</groupId> |
165 | 166 | <artifactId>slf4j-log4j12</artifactId> |
166 | | - <version>1.7.12</version> |
| 167 | + <version>1.7.14</version> |
167 | 168 | <optional>true</optional> |
168 | 169 | </dependency> |
169 | 170 | <dependency> |
|
172 | 173 | <version>1.2.17</version> |
173 | 174 | <optional>true</optional> |
174 | 175 | </dependency> |
| 176 | + <!-- Don't upgrade to 2.4+ until mybatis switches to java 7 --> |
175 | 177 | <dependency> |
176 | 178 | <groupId>org.apache.logging.log4j</groupId> |
177 | 179 | <artifactId>log4j-core</artifactId> |
178 | | - <version>2.2</version> |
| 180 | + <version>2.3</version> |
179 | 181 | <optional>true</optional> |
180 | 182 | </dependency> |
181 | 183 | <dependency> |
|
187 | 189 | <dependency> |
188 | 190 | <groupId>cglib</groupId> |
189 | 191 | <artifactId>cglib</artifactId> |
190 | | - <version>3.1</version> |
| 192 | + <version>3.2.0</version> |
191 | 193 | <optional>true</optional> |
192 | 194 | </dependency> |
193 | 195 |
|
|
201 | 203 | <dependency> |
202 | 204 | <groupId>org.hsqldb</groupId> |
203 | 205 | <artifactId>hsqldb</artifactId> |
204 | | - <version>2.3.2</version> |
| 206 | + <version>2.3.3</version> |
205 | 207 | <scope>test</scope> |
206 | 208 | </dependency> |
207 | 209 | <dependency> |
208 | 210 | <groupId>org.apache.derby</groupId> |
209 | 211 | <artifactId>derby</artifactId> |
210 | | - <version>10.11.1.1</version> |
| 212 | + <version>10.12.1.1</version> |
211 | 213 | <scope>test</scope> |
212 | 214 | </dependency> |
213 | 215 | <dependency> |
|
216 | 218 | <version>1.10.19</version> |
217 | 219 | <scope>test</scope> |
218 | 220 | </dependency> |
| 221 | + <!-- Do not go to 2.x until we are on jdk7 --> |
219 | 222 | <dependency> |
220 | 223 | <groupId>commons-dbcp</groupId> |
221 | 224 | <artifactId>commons-dbcp</artifactId> |
|
255 | 258 | <name>derby.stream.error.file</name> |
256 | 259 | <value>target/derby.log</value> |
257 | 260 | </property> |
258 | | - </systemProperties> |
| 261 | + </systemProperties> |
259 | 262 | </configuration> |
260 | 263 | </plugin> |
261 | 264 | <plugin> |
262 | 265 | <groupId>org.apache.maven.plugins</groupId> |
263 | 266 | <artifactId>maven-pdf-plugin</artifactId> |
264 | 267 | </plugin> |
265 | 268 | <plugin> |
266 | | - <groupId>org.sonatype.plugins</groupId> |
267 | | - <artifactId>jarjar-maven-plugin</artifactId> |
268 | | - <configuration> |
269 | | - <input>{classes}</input> |
270 | | - <input>{test-classes}</input> |
271 | | - <includes> |
272 | | - <include>ognl:ognl</include> |
273 | | - <include>org.javassist:javassist</include> |
274 | | - </includes> |
275 | | - <rules> |
276 | | - <rule> |
277 | | - <pattern>ognl.**</pattern> |
278 | | - <result>org.apache.ibatis.ognl.@1</result> |
279 | | - </rule> |
280 | | - <rule> |
281 | | - <pattern>javassist.**</pattern> |
282 | | - <result>org.apache.ibatis.javassist.@1</result> |
283 | | - </rule> |
284 | | - <keep> |
285 | | - <pattern>org.apache.ibatis.**</pattern> |
286 | | - </keep> |
287 | | - </rules> |
288 | | - <overwrite>true</overwrite> |
289 | | - </configuration> |
| 269 | + <groupId>org.apache.maven.plugins</groupId> |
| 270 | + <artifactId>maven-shade-plugin</artifactId> |
290 | 271 | <executions> |
291 | 272 | <execution> |
292 | | - <id>jarjar-classes</id> |
293 | | - <phase>process-test-classes</phase> |
| 273 | + <phase>package</phase> |
294 | 274 | <goals> |
295 | | - <goal>jarjar</goal> |
| 275 | + <goal>shade</goal> |
296 | 276 | </goals> |
297 | 277 | <configuration> |
298 | | - <input>{classes}</input> |
299 | | - </configuration> |
300 | | - </execution> |
301 | | - <execution> |
302 | | - <id>jarjar-test-classes</id> |
303 | | - <phase>process-test-classes</phase> |
304 | | - <goals> |
305 | | - <goal>jarjar</goal> |
306 | | - </goals> |
307 | | - <configuration> |
308 | | - <input>{test-classes}</input> |
309 | | - </configuration> |
310 | | - </execution> |
311 | | - </executions> |
| 278 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 279 | + <artifactSet> |
| 280 | + <includes> |
| 281 | + <include>org.mybatis:mybatis</include> |
| 282 | + <include>ognl:ognl</include> |
| 283 | + <include>org.javassist:javassist</include> |
| 284 | + </includes> |
| 285 | + </artifactSet> |
| 286 | + <relocations> |
| 287 | + <relocation> |
| 288 | + <pattern>ognl</pattern> |
| 289 | + <shadedPattern>org.apache.ibatis.ognl</shadedPattern> |
| 290 | + </relocation> |
| 291 | + <relocation> |
| 292 | + <pattern>javassist</pattern> |
| 293 | + <shadedPattern>org.apache.ibatis.javassist</shadedPattern> |
| 294 | + </relocation> |
| 295 | + </relocations> |
| 296 | + </configuration> |
| 297 | + </execution> |
| 298 | + </executions> |
312 | 299 | </plugin> |
313 | 300 | <plugin> |
314 | 301 | <groupId>org.apache.maven.plugins</groupId> |
|
318 | 305 | </configuration> |
319 | 306 | </plugin> |
320 | 307 | <plugin> |
321 | | - <groupId>org.codehaus.mojo</groupId> |
322 | | - <artifactId>cobertura-maven-plugin</artifactId> |
| 308 | + <groupId>org.jacoco</groupId> |
| 309 | + <artifactId>jacoco-maven-plugin</artifactId> |
323 | 310 | <configuration> |
324 | | - <instrumentation> |
325 | | - <ignores> |
326 | | - <ignore>org.apache.ibatis.ognl.*</ignore> |
327 | | - <ignore>org.apache.ibatis.javassist.*</ignore> |
328 | | - </ignores> |
329 | | - <excludes> |
330 | | - <exclude>org/apache/ibatis/ognl/**/*.class</exclude> |
331 | | - <exclude>org/apache/ibatis/javassist/**/*.class</exclude> |
332 | | - </excludes> |
333 | | - </instrumentation> |
| 311 | + <excludes> |
| 312 | + <exclude>org.apache.ibatis.ognl.*</exclude> |
| 313 | + <exclude>org.apache.ibatis.javassist.*</exclude> |
| 314 | + </excludes> |
334 | 315 | </configuration> |
335 | | - <executions> |
336 | | - <execution> |
337 | | - <goals> |
338 | | - <goal>clean</goal> |
339 | | - </goals> |
340 | | - </execution> |
341 | | - </executions> |
342 | 316 | </plugin> |
343 | 317 | </plugins> |
344 | 318 |
|
|
0 commit comments