随笔 - 232  文章 - 1  评论 - 28  阅读 - 60万 

随笔分类 -  maven

maven 使用插件方式编译protobuf3 协议
摘要:<?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:sc 阅读全文
posted @ 2020-04-28 10:02 肖建锋 阅读(1726) 评论(0) 推荐(0) 编辑
MAVEN安装代码到本地库,安装jar, source, javadoc的方式
摘要:cd /d %~dp0mvn install:install-file -Dfile=a.jar -DgroupId=gid -DartifactId=aid -Dversion=0.0.1 -Dpackaging=jar mvn install:install-file -Dfile=a.jar -DgroupId=gid -DartifactId=aid -Dversion=0.0.1 -... 阅读全文
posted @ 2019-07-18 10:05 肖建锋 阅读(691) 评论(0) 推荐(0) 编辑
linux maven环境变量配置
摘要:export MAVEN_HOME=/usr/local/soft/maven export MAVEN_HOME export PATH=$PATH:$MAVEN_HOME/bin 阅读全文
posted @ 2019-06-28 17:03 肖建锋 阅读(1654) 评论(0) 推荐(0) 编辑
阿里云 maven仓库地址配置
摘要:1. maven 配置文件配置settings.xml中设置mirror节点 2. pom.xml 配置repository节点 阅读全文
posted @ 2019-05-09 10:15 肖建锋 阅读(54916) 评论(0) 推荐(0) 编辑
maven centos7 环境变量
摘要:tar -xvf apache-maven-3.3.9-bin.tar.gz mv apache-maven-3.3.9 /usr/local/apache-maven 文件存放好之后,设置环境变量,打开etc/profile,在文件中加入下边的代码: 写入环境变量 vi /etc/profile 阅读全文
posted @ 2018-12-09 21:21 肖建锋 阅读(2207) 评论(0) 推荐(0) 编辑
maven 配置阿里云仓库
摘要:<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror 阅读全文
posted @ 2018-12-09 10:19 肖建锋 阅读(436) 评论(0) 推荐(1) 编辑
maven windows 环境变量
摘要:MAVEN_HOME,内容是解压的maven文件路径 Path中添加 %MAVEN_HOME%\bin 为了测试安装成功,打开命令提示符,输入 mvn -version 阅读全文
posted @ 2018-12-09 10:15 肖建锋 阅读(126) 评论(0) 推荐(0) 编辑
maven 跳过单元测试
摘要:mvn install -DskipTests 阅读全文
posted @ 2017-03-24 09:55 肖建锋 阅读(315) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示