博客
关于我
Maven
阅读量:349 次
发布时间:2019-03-04

本文共 6677 字,大约阅读时间需要 22 分钟。

maven高级


ssm分模块开发

pom文件,有各种示例代码
虽然长,但是包括了各种需要的代码,总结一下:	1.模块聚合	2.模块继承,避免了版本不一致问题	3.自定义属性,可以将版本通过${}来共同指定,这样就不需要一个个找	4.多环境配置资源,通过
标签来加载资源,再通过环境配置id来指定开发环境 5.依赖管理,导入所有需要的依赖以及子工程的依赖 6.跳过部分测试,可以快速测试自己的模块 7.上传私服,通过nexus,需要在settings.xml进行配置 8.如果帮助到您就鼓励一下我吧,啾咪!
4.0.0
com.lzb
ssm
1.0-SNAPSHOT
pom
../ssm_controller
../ssm_service
../ssm_dao
../ssm_pojo
5.1.9.RELEASE
pro_env
jdbc:mysql://localhost:3306/ssm
com.mysql.jdbc.Driver
root
love5460
true
dep_env
jdbc:mysql://localhost:3306/ssm
com.mysql.jdbc.Driver
root
love5460
com.lzb
ssm_pojo
1.0-SNAPSHOT
com.lzb
ssm_dao
1.0-SNAPSHOT
com.lzb
ssm_service
1.0-SNAPSHOT
org.springframework
spring-context
${spring.version}
org.mybatis
mybatis
3.5.3
mysql
mysql-connector-java
5.1.47
org.springframework
spring-jdbc
${spring.version}
org.mybatis
mybatis-spring
2.0.3
com.alibaba
druid
1.1.16
com.github.pagehelper
pagehelper
5.1.2
org.springframework
spring-webmvc
${spring.version}
com.fasterxml.jackson.core
jackson-databind
2.9.0
javax.servlet
javax.servlet-api
3.1.0
provided
junit
junit
4.12
org.springframework
spring-test
${spring.version}
org.apache.tomcat.maven
tomcat7-maven-plugin
2.1
80
/
maven-surefire-plugin
2.22.2
**/UserServiceTest*.java
${project.basedir}/src/main/resources
true
${project.basedir}/src/test/resources
true
lzb-release
http://localhost:8081/repository/lzb-release/
lzb-snapshots
http://localhost:8081/repository/lzb-snapshots/

service模块的pom文件

com.lzb
ssm
1.0-SNAPSHOT
../ssm/pom.xml
4.0.0
ssm_service
jar
UTF-8
1.8
1.8
com.lzb
ssm_dao
org.springframework
spring-context
junit
junit
org.springframework
spring-test

转载地址:http://igwr.baihongyu.com/

你可能感兴趣的文章
mysql高级查询~分页查询
查看>>
MySQL(2)DDL详解
查看>>
MySQL:MySQL执行一条SQL查询语句的执行过程
查看>>
Mysql:SQL性能分析
查看>>
MySQL:判断逗号分隔的字符串中是否包含某个字符串
查看>>
MySQL:某个ip连接mysql失败次数过多,导致ip锁定
查看>>
Mysql:避免重复的插入数据方法汇总
查看>>
n 叉树后序遍历转换为链表问题的深入探讨
查看>>
nacos config
查看>>
NacosClient客户端搭建,微服务注册进nacos
查看>>
Nacos原理
查看>>
Nacos在双击startup.cmd启动时提示:Unable to start embedded Tomcat
查看>>
Nacos如何实现Raft算法与Raft协议原理详解
查看>>
Nacos安装教程(非常详细)从零基础入门到精通,看完这一篇就够了
查看>>
nacos注册失败,Feign调用失败,feign无法注入成我们的bean对象
查看>>
nacos源码 nacos注册中心1.4.x 源码 nacos源码如何下载 nacos 客户端源码下载地址 nacos discovery下载地址(一)
查看>>
Nacos编译报错NacosException: endpoint is blank
查看>>
NACOS部署,微服务框架之NACOS-单机、集群方式部署
查看>>
Nacos配置中心集群原理及源码分析
查看>>
nacos配置自动刷新源码解析
查看>>