前提: maven已经在eclipse配置好,maven项目已经创建好。
step1. open pom.xml, Click “Add” button, will pop up below screen。
Step2: go to website, search the jar files' maven repository, for example: http://mvnrepository.com/
.
Step3: search the jar what you want, example: resteasy
Step4: Click the jar, will see below information.
Step 5: select the varsion, will see the information for Maven.
Step 6: input the related informatin into the eclipse window.
Step 7: after a while, you will see the jar files were downloaded.
Over.