Maven配置备忘
来源:互联网 发布:js获取数组前几个元素 编辑:程序博客网 时间:2024/06/05 06:27
一、使用Tomcat来跑应用
<build><plugins><plugin><groupId>org.apache.tomcat.maven</groupId><artifactId>tomcat7-maven-plugin</artifactId><version>${tomcat7-maven-plugin.version}</version><!-- http://tomcat.apache.org/maven-plugin-2.1/run-mojo-features.html --><configuration><contextReloadable>true</contextReloadable><systemProperties><spring.profiles.default>test</spring.profiles.default></systemProperties><!-- if you want to use test dependencies rather than only runtime --><useTestClasspath>true</useTestClasspath></configuration></plugin></plugins></build>
<dependency><groupId>com.ebiz</groupId><artifactId>ebiz-ssi-mysql</artifactId><version>1.3</version><scope>system</scope><systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ebiz-ssi-mysql-1.3.jar</systemPath></dependency>
三、Deploy依赖到nexus第三方库
1.将deployment用户密码设置为deployment
2.库的设置成可以Redeploy
3.settings.xml servers节点加上以下配置
<server> <id>thirdparty</id> <username>deployment</username> <password>deployment</password> </server>
install 或 deploy依赖到第三方库
mvn install:install-file -Dpackaging=jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 -Dfile=sqljdbc4.jarmvn deploy:deploy-file -Dpackaging=jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 -Dfile=sqljdbc4.jar -DrepositoryId=thirdparty -Durl=http://nexus:8081/nexus/content/repositories/thirdparty/
- Maven配置备忘
- Maven配置备忘
- maven备忘
- Eclipse开发环境中使用maven插件的配置备忘
- 非web环境,maven+spring+mybatis配置,备忘
- maven 命令备忘
- maven常用命令备忘
- Maven常用命令备忘
- maven自定义打包备忘
- Maven mirror 备忘
- maven导入 备忘
- maven 命令备忘贴
- maven 命令备忘
- maven-常用plugin备忘
- maven (生成war包时候同时生成jar包到lib)配置备忘
- maven (生成war包时候同时生成jar包到lib)配置备忘
- maven (生成war包时候同时生成jar包到lib)配置备忘
- SSH Maven pom.xml 备忘
- 图像跨距的概念
- redhat linux64 yum和g++安装
- SQL DEVELOPER 里 SYSTEM不能以SYSDBA登录的问题
- Selenium2.0之WebDriver学习总结(1)
- Android学习-SharedPreferences接口的学习
- Maven配置备忘
- django中使用ckeditor 直接显示html代码的问题
- 工作5年的我,突然之间迷茫了。
- 连载:现代无线电接收机的系统噪声系数分析一 级联接收机的计
- sax解析xml文件出现编码错误问题Invalid byte 1 of 1-byte UTF-8 sequence.
- jdbc连接池
- C#多线程环境下调用 HttpWebRequest 并发连接限制
- Storm使用到的相关技术总结
- Selenium2.0之WebDriver学习总结(2)