# auto-detect-version
**Repository Path**: wueasy/auto-detect-version
## Basic Information
- **Project Name**: auto-detect-version
- **Description**: auto-detect-version 是一个用于自定检测pom文件中所依赖jar包最新版本的工具,用于快速检测版本中maven中心仓库中的最新版本,简化在maven中心仓库手动搜索。
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 1
- **Created**: 2020-06-08
- **Last Updated**: 2022-08-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# auto-detect-version
`auto-detect-version` 是一个用于自定检测pom文件中所依赖jar包最新版本的工具,用于快速检测版本中maven中心仓库中的最新版本,简化在maven中心仓库手动搜索。
当发现pom文件中的版本号和maven中心长裤不一致时,输出最新的相关信息。
## 特性
* 检测最新版本
* 检测大版本下的最新版本
## 使用教程
直接启用服务,通过sheel命令行方式启动。
`check E:\\git\\aliyun\\wueasy\\pom.xml`
* `check` 命名
* `E:\\git\\aliyun\\wueasy\\pom.xml` 为参数,可以是本地的pom文件绝对路径,或者http地址
## 执行效果
* `latest`:最新版本
* `largeLatest`:大版本下的最新版本
```
shell:>check E:\\git\\aliyun\\wueasy\\pom.xml
mysql
mysql-connector-java
5.1.49
8.0.20
5.1.49
org.apache.curator
curator-framework
4.3.0
5.0.0
4.3.0
org.apache.curator
curator-client
4.3.0
5.0.0
4.3.0
org.apache.curator
curator-recipes
4.3.0
5.0.0
4.3.0
com.squareup.okhttp3
okhttp
3.14.9
4.7.2
3.14.9
org.apache.zookeeper
zookeeper
3.5.8
3.6.1
3.6.1
com.aliyun.oss
aliyun-sdk-oss
3.9.1
3.10.0
3.10.0
com.huaweicloud
esdk-obs-java
3.19.7
3.20.4.2
3.20.4.2
检测成功!
shell:>
```
## License
```java
/*
* auto-detect-version - Tools for automatically detecting the latest version of dependent packages in POM files.
* Copyright (C) 2017-2020 wueasy.com , All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
```