1、M2e(maven-eclipse-plugin)插件只能在线安装,官方地址:http://wiki.eclipse.org/M2E_updatesite_and_gittags
maven全局变量配置,当前用户下(administrator):C:UsersAdministrator.m2settings.xml
common svn地址:https://192.168.0.105:8888/svn/projects (之下base/common)
https://192.168.0.101:8888/svn/uc-platform/trunk/common/source
cqsw svn地址:https://192.168.0.105:8888/svn/cqsw/swgw
eap svn地址:https://192.168.0.105:8888/svn/eap
dcsb svn地址:https://192.168.0.105:8888/svn/cqsw/dcsb
192.168.0.101 自动构建 下载引用包的目录:F:apachemavenlocal.m2
epository
https://192.168.0.101:8888/svn/projects/common/base_abp/source
禅道 http://192.168.0.101:9999
log4j.rootCategory=info,CONSOLE,file
VM: -Xms256m -Xmx512m
catalina.bat set JAVA_OPTS=-Xms256m -Xmx512m -XX:PermSize=64M -XX:MaxPermSize=128m
JAVA_OPTS=-Xms64m -Xmx256m -XX:PermSize=128M -XX:MaxNewSize=256m -XX:MaxPermSize=256m
context.xml : <Loader delegate="true" />
Server.xml : <Context docBase="d:/eap/files" path="/eapfiles" reloadable="false"/>
<Context docBase="d:/eap/ueditor" path="/ueditorfiles" reloadable="false"/>
Parent:
New Maven Project --------- use default Workspace location : E:WorkPlaceeclipseamsamsparent
Next : catalog(All catalogs) ---maven-archetype-quickstart
Next : Group Id ----com.ucsoft.ams
Artifact Id ----amsparent
Package----默认建立一个包,可以不写。
Pom.xml----<packaging>pom</packaging>
http://www.blogjava.net/zyl/archive/2006/12/30/91055.html
webApp Module:
New Maven Module -------- name
Next : catalog(All catalogs) --- maven-archetype-webapp
Next : Group Id ----com.ucsoft.ams
Artifact Id ----ams
Package----com.ucsoft.bas.ams
Pom.xml----<relativePath>..</relativePath>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>.......................</dependencies>
Service Module
New Maven Module -------- name
Next : catalog(All catalogs) --- maven-archetype-quickstart
Next : Group Id ----com.ucsoft.ams
Artifact Id ----ams
Package----com.ucsoft.bas.amm
Pom.xml----<relativePath>..</relativePath>
<packaging>jar</packaging>(可选)