1.结构
1.parent节点指定父工程.
2.本身的ArtifactId,因为GroupId已经在parent中指定.
3.dependencies依赖.可以没有dependencyManagement,一般在父工程中指定.
2.依赖
1.分页pagehelper.
2.mybatis.
3.mybatis与spring整合.
4.分页与spring整合.
5.mysql.
6.连接池.可以使用阿里巴巴的
7.所依赖的实体工程.
3.pom.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
com.pingyougou
pinyougou-parent
0.0.1-SNAPSHOT
pinyougou-dao
com.github.pagehelper
pagehelper
org.mybatis
mybatis
org.mybatis
mybatis-spring
com.github.miemiedev
mybatis-paginator
mysql
mysql-connector-java
com.alibaba
druid
com.pingyougou
pinyougou-pojo
0.0.1-SNAPSHOT
最后
以上就是激动草莓最近收集整理的关于mysql pom.xml 5.8_5.Maven项目的Dao工程pom.xml的小demo的全部内容,更多相关mysql内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复