前言
研读Mybatis源码之前,或者一个项目之前,我选择了先看一下项目管理配置文件,有个整体的总揽,同时也可以学习一下此类框架软件的写法及一些常用操作,同时理解一个完整开源框架需要哪些非编程语言相关的知识,Mybatis还有 parent-pom文件,非常的长,以后有机会希望自己慢慢的能用gradle实现同样的功能~
Xml如下,添加了一些标签的解释.参考史上最全maven pom文件标签详解,一些依赖和插件也要自己动手查查看,慢慢积累~(引用代码如何做到自动换行?目前没有找到方法,有知道的可以留言一下,若影响阅读体验可以把文本复制出去看..)
4.0.0
org.mybatis
mybatis-parent
28
mybatis
3.4.5-SNAPSHOT
jar
mybatis
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.
http://www.mybatis.org/mybatis-3
2009
Adam Gent
[email protected]
Andrea Selva
[email protected]
Antonio Sánchez
[email protected]
Arkadi Shishlov
[email protected]
Axel Doerfler
[email protected]
Chris Dadej
[email protected]
Denis Vygovskiy
[email protected]
Franta Mejta
[email protected]
Jurriaan Pruys
[email protected]
Keith Wong
[email protected]
Lasse Voss
[email protected]
Luke Stevens
[email protected]
Paul Krause
[email protected]
Peter Leibiger
[email protected]
Riccardo Cossu
[email protected]
Tomáš Neuberg
[email protected]
http://github.com/mybatis/mybatis-3
scm:git:ssh://github.com/mybatis/mybatis-3.git
scm:git:ssh://[email protected]/mybatis/mybatis-3.git
HEAD
GitHub Issue Management
https://github.com/mybatis/mybatis-3/issues
Travis CI
https://travis-ci.org/mybatis/mybatis-3/
gh-pages
Mybatis GitHub Pages
git:ssh://[email protected]/mybatis/mybatis-3.git?gh-pages#
1.8
1.8
-parameters
3.3.1
org.apache.ibatis.*
org.apache.ibatis.*;version=${project.version};-noimport:=true
*;resolution:=optional
*
ognl
ognl
3.1.14
compile
true
org.javassist
javassist
3.22.0-CR1
compile
true
org.mybatis
mybatis-typehandlers-jsr310
1.0.2
true
org.slf4j
slf4j-api
1.7.25
true
org.slf4j
slf4j-log4j12
1.7.25
true
log4j
log4j
1.2.17
true
org.apache.logging.log4j
log4j-core
2.3
true
commons-logging
commons-logging
1.2
true
cglib
cglib
3.2.5
true
junit
junit
4.12
test
org.hsqldb
hsqldb
2.3.4
test
org.apache.derby
derby
10.12.1.1
test
org.mockito
mockito-core
2.7.22
test
commons-dbcp
commons-dbcp
1.4
test
org.jboss.spec.javax.transaction
jboss-transaction-api_1.2_spec
1.0.1.Final
test
org.apache.velocity
velocity
1.7
test
postgresql
postgresql
9.1-901-1.jdbc4
test
org.assertj
assertj-core
1.7.1
test
eu.codearte.catch-exception
catch-exception
1.4.4
test
org.apache.maven.plugins
maven-compiler-plugin
${maven.compiler.testCompilerArgument}
org.apache.maven.plugins
maven-surefire-plugin
${maven.surefire.excludeGroups}
${argLine} -Xmx2048m
derby.stream.error.file
${project.build.directory}/derby.log
derby.system.home
${project.build.directory}
org.apache.maven.plugins
maven-pdf-plugin
org.apache.maven.plugins
maven-shade-plugin
package
shade
false
org.mybatis:mybatis
ognl:ognl
org.javassist:javassist
ognl
org.apache.ibatis.ognl
javassist
org.apache.ibatis.javassist
org.apache.maven.plugins
maven-site-plugin
en,es,ja,fr,zh_CN,ko
org.jacoco
jacoco-maven-plugin
org.apache.ibatis.ognl.*
org.apache.ibatis.javassist.*
${project.basedir}
META-INF
LICENSE
NOTICE
${project.build.sourceDirectory}
**/*.java
${project.build.testSourceDirectory}
**/*.java
java16
1.6
1.6
1.6
org.apache.maven.plugins
maven-compiler-plugin
**/usesjava7/**/*.java
**/usesjava8/**/*.java
java17
1.7
1.7
1.7
org.apache.maven.plugins
maven-compiler-plugin
**/usesjava8/**/*.java