随笔 - 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
阅读全文
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 -...
阅读全文
linux maven环境变量配置
摘要:export MAVEN_HOME=/usr/local/soft/maven export MAVEN_HOME export PATH=$PATH:$MAVEN_HOME/bin
阅读全文
阿里云 maven仓库地址配置
摘要:1. maven 配置文件配置settings.xml中设置mirror节点 2. pom.xml 配置repository节点
阅读全文
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
阅读全文
maven 配置阿里云仓库
摘要:<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url></mirror
阅读全文
maven windows 环境变量
摘要:MAVEN_HOME,内容是解压的maven文件路径 Path中添加 %MAVEN_HOME%\bin 为了测试安装成功,打开命令提示符,输入 mvn -version
阅读全文