环境搭建/安装部署
Posted vv_online
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了环境搭建/安装部署相关的知识,希望对你有一定的参考价值。
1、M2e(maven-eclipse-plugin)插件只能在线安装,官方地址:http://wiki.eclipse.org/M2E_updatesite_and_gittags
maven全局变量配置,当前用户下(administrator):C:\Users\Administrator\.m2\settings.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:\apache\maven\local\.m2\repository
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:\WorkPlace\eclipse\ams\amsparent
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>(可选)
以上是关于环境搭建/安装部署的主要内容,如果未能解决你的问题,请参考以下文章
Linux 服务器 Java环境部署系列:搭建jenkins环境部署项目
测试环境搭建和部署(在Linux环境下搭建jdk+Tomcat+mysql环境和项目包的部署)