Maven: Including jar not found in public repository

前端 未结 6 1383
暖寄归人
暖寄归人 2020-12-02 07:23

If I was to use a 3rd party library that was not in the maven public repository, what is the best way to include it as dependency for my project so that when someone else ch

6条回答
  •  无人及你
    2020-12-02 07:59

    If you are using groovy/grail tool suite (GGTS) then you can directly import that third party dependency (but be sure you have that third party dependency in your local repository) using below steps :

    1. Go to the Project Explorer and right click on project.
    2. Click on import option.
    3. Expend the maven option and select Install or deploy an artifact to a maven repository and click next.
    4. Brows and select that third party dependency using Artifact File option and enter the detail of Group Id, Artifact Id and Version using POM.xml file and click on finish

    Wait some moment and possibly error would have gone for that problem.

提交回复
热议问题