通过Jar包生成POM dependency
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.5</version>
</dependency>
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.68</version>
</dependency>
jdk1.7.0_80
apache-maven-3.5.0
IntelliJ IDEA Community Edition
喜欢的话,随手点个star。多谢 https://github.com/JiaXiaohei/jar2pom