
14_Maven
dulildx
这个作者很懒,什么都没留下…
展开
-
Maven命令 导入jar包
导入本地jar包mvn install:install-file-DgroupId=包名-DartifactId=项目名-Dversion=版本号-Dpackaging=jar-Dfile=jar文件所在路径mvn install:install-file -Dfile=D:\DEV\work\erp_server_v4\src\web\WEB-INF\lib\prox原创 2015-01-26 11:03:44 · 754 阅读 · 0 评论 -
The goal you specified requires a project to execute but there is no POM in 错误
maven导入jar包。报错如下: The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\duli). Please verify you invoked Maven from the correct directory. -> [Help 1]原创 2015-01-28 10:38:48 · 19325 阅读 · 6 评论 -
Maven安装配置
1、下载apache-maven-3.2.5-bin.ziphttp://maven.apache.org/download.html2、配置环境变量 1)添加新的系统环境变量MAVEN_HOME,并设置其值为你安装的目录 MAVEN_HOME= D:\soft\apache-maven-3.2.5 2)更新系统PATH 变量, 添加原创 2015-01-14 16:08:48 · 518 阅读 · 0 评论 -
创建Maven项目(web骨架)
1、使用maven创建web项目1.1、选择new->project->筛选maven项目->Maven Project1.2、选择Web项目骨架1.3、填写Group Id 、Artifact Id2、修改项目目录为maven规定目录原创 2015-02-06 14:32:34 · 1833 阅读 · 0 评论 -
Pom.xml文件配置
Pom.xml文件配置<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/mav原创 2015-02-06 14:38:18 · 617 阅读 · 0 评论 -
maven项目上有小红叉
问题如下解决方式右键项目 ----> maven ----> update project offline 勾选原创 2015-01-21 11:48:00 · 506 阅读 · 0 评论 -
maven tomcat plugin 热部署
1、拷贝文件 settings.xml 从 D:\soft\apache-maven-3.2.5\conf 到 D:\Documents and Settings\duli\.m22、配置window->preferences->maven->installations(user setting) 配置信息3、添加plugin,tomcat7-maven-plugin.ja原创 2015-02-09 16:40:37 · 844 阅读 · 0 评论