![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
maven
maven 学习
勤径苦舟
书山有路勤为径,学海无涯苦作舟。
展开
-
maven--基础--01--安装
在最后面添加以下内容。原创 2022-07-17 15:50:28 · 173 阅读 · 0 评论 -
pom文件解读
一、pom文件解读<?xml version="1.0" encoding="UTF-8"?><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/xsd/ma原创 2021-08-27 11:25:21 · 1079 阅读 · 0 评论 -
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugins
解决办法1删掉如下图的文件夹2.72原创 2018-07-11 12:46:27 · 676 阅读 · 0 评论 -
maven setting文件详解
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation...原创 2018-06-01 18:05:51 · 2630 阅读 · 0 评论 -
eclipse run as 只有 run configuration
截图解决方法原创 2018-06-14 10:46:52 · 11016 阅读 · 1 评论 -
maven常用命令
编译源代码:mvn compile编译测试代码:mvn test-compile运行测试:mvn test产生site:mvn site打包:mvn package(编译,测试,最后打包成一个jar)在本地Repository中安装jar:mvn install例:installing D:\xxx\xx jar to D:\xx\xxxx清除产生...原创 2018-06-04 14:14:29 · 227 阅读 · 0 评论 -
创建一个maven项目
先图片的步骤来2345689原创 2018-06-04 14:13:37 · 209 阅读 · 0 评论 -
[ERROR] Failed to execute goal on project treasure_core_service: Could not resolve dependencies for
[ERROR] Failed to execute goal on project treasure_core_service: Could not resolve dependencies for project com.xiniu:treasure_core_service:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xi...原创 2018-05-21 14:58:40 · 1848 阅读 · 2 评论 -
Non-resolvable parent POM for com.xiniu:treasure_manager:0.0.1-SNAPSHOT: Could not find artifact
WARNING] [WARNING] Some problems were encountered while building the effective settings[WARNING] Unrecognised tag: 'activeProfile' (position: START_TAG seen ...</activeProfiles>\n -->\n<a...原创 2018-05-21 14:32:34 · 5298 阅读 · 0 评论 -
maven的settings.xml,pom.xml配置
1settings.xml <!-- 发布用的用户账号deployment/deployment123 是系统默认的发布账号密码 --> <servers> <server> <id>frame-releases</id> <username>deployment</username> <password>原创 2018-02-25 11:47:35 · 244 阅读 · 0 评论 -
Nexus私服学习1
相当于在我们本地的局域网搭建了一个类似中央仓库的服务器,我们开始将中央仓库的一些资料下载到私服务器上,然后平时我们的maven项目就是直接访问局域网内的私服即可.nunus的安装请看http://blog.csdn.net/zhou920786312/article/details/765464941Nexus仓库nexus的仓库类型分为以下四种: group: 仓库组原创 2018-02-25 11:25:11 · 195 阅读 · 0 评论 -
Failed to import bean definitions from relative location [config/*.xml]
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [config/*.xml]Offending resource: class path r原创 2018-01-13 16:44:15 · 7589 阅读 · 3 评论 -
maven热部署
1修改tomcat的apache-tomcat-7.0.81\conf\tomcat-users.xml文件 <role rolename="manager-gui"/> <role rolename="manager-script"/> <user username="xiniu" password="xiniu" roles="manager-gui,manager-script"/原创 2017-09-21 14:56:42 · 357 阅读 · 0 评论 -
maven 添加activeti包就报错
错误:Publishing failed with multiple errorsError reading file E:\java\apache-maven-3.3.9\repository\org\restlet\jee\org.restlet\2.2.1\org.restlet-2.2.1.jarE:\java\apache-maven-3.3.9\repository\org\rest原创 2017-09-17 13:07:09 · 947 阅读 · 0 评论 -
maven配置setting.xml报Could not read settings.xml
Could not read settings.xml, assuming default values解决 1settings.xml不能有中文 2settings.xml 路径的标识是/原创 2017-08-02 17:05:18 · 11398 阅读 · 1 评论 -
Java Build Path Entries 没有maven怎么办
异常解决办法 右击项目–maven –update project… 这样Java Build Path Entries 就有maven了原创 2017-06-13 23:11:08 · 17574 阅读 · 3 评论