Maven
黑色的爆牛团
从设计的角度去看代码,才不会从海量的代码中迷失方向。。。
展开
-
基于springmvc mybatis junit搭建分工程,分模块的web工程框架(二)
1,macow-service层的集成测试 一,在src/main/java下,service接口和实现 package com.macow.home.first.service; import java.util.List; import com.macow.home.first.entity.User; import com.macow.home.first.vo.UserVo; p原创 2016-04-25 17:30:00 · 745 阅读 · 0 评论 -
基于springmvc mybatis junit搭建分工程,分模块的web工程框架(三)
1在src/main/java下 BaseController.java统一处理异常 package com.macow.home.first.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.web.bind.annotation.ExceptionHandler;原创 2016-04-26 10:09:46 · 961 阅读 · 0 评论 -
基于springmvc mybatis junit搭建分工程,分模块的web工程框架(一)
1.创建macow工程 一,new maven project --->创建Create a simple project勾选上 修改pom.xml的packaging为pom Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix.这个错误直接maven原创 2016-04-25 14:35:30 · 1639 阅读 · 0 评论 -
Maven常用插件
贴一些常用的插件吧 0.基本参数 1.6 UTF-8 UTF-8 1.编译插件 org.apache.maven.plugins maven-compiler-plugin 3.0 ${project.build.sourceEncoding} ${java.version}原创 2016-04-22 16:29:20 · 540 阅读 · 0 评论 -
maven上传jar到nexus私服仓库
1通过网页上传 这种方法只是上传了jar包。通过maven引用当前jar,不能取得jar的依赖 from pom的方式,选择pom文件,以及jar。通过maven引入jar时,会自动加载jar的依赖 2通过maven的方式depoly 在maven的conf/setting.xml 配置nexus私服的管理账号 在s原创 2016-05-20 10:42:08 · 2522 阅读 · 0 评论 -
maven 常用的repository和mirror
方便以后自己查找 <repositories> <repository> <id>jboss-cache</id> <name>jboss-cache</name> <url>http://repository.jboss.org/maven2</url> </r...原创 2016-04-25 22:59:51 · 1421 阅读 · 0 评论