Skip to content

Commit

Permalink
发布博客,时间:2024/10/24 16:37:14
Browse files Browse the repository at this point in the history
  • Loading branch information
whp98 committed Oct 24, 2024
1 parent d377cbe commit b4f9c03
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/后端开发/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 后端开发
- [maven](./maven/)
- [开源数据中国行政区划](./开源数据中国行政区划.md)
- [Spring](./Spring/)
- [maven](./maven/)
- [存储100亿密码rockyou2024](./存储100亿密码rockyou2024.md)
- [Nginx](./Nginx/)
- [j2ee](./j2ee/)
Expand Down
1 change: 1 addition & 0 deletions docs/后端开发/maven/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# maven
- [maven-linux安装配置环境变量并查看版本信息](./maven-linux安装环境变量.md)
- [maven打包命令](./maven打包命令.md)
- [maven高版本使用http协议仓库](./maven高版本使用http协议仓库.md)
- [使用Maven下载源代码](./use-maven-dl-src.md)
25 changes: 25 additions & 0 deletions docs/后端开发/maven/maven-linux安装环境变量.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# maven-linux安装配置环境变量并查看版本信息

## 编辑`vim ~/.bashrc`

```shell
vim ~/.bashrc
# 输入以下内容
export MAVEN_HOME=/opt/apache-maven-3.6.3
export PATH=$PATH:$MAVEN_HOME/bin
source ~/.bashrc
## 查看路径
which mvn
```

## 查看版本信息

```shell
mvn -v
```

## 查看生效的设置

```shell
mvn help:effective-settings
```

0 comments on commit b4f9c03

Please sign in to comment.