Building Utils {{Ant+ivy}, {maven}} How to manually add the downloaded JAR package to maven, Ivy's local repository

Source: Internet
Author: User

Install:install-file
-dartifactid= above the artifactid-dversion= above the Version-dpackaging=jar

So, what about Ivy's local repository and how to add a jar package?

In the online search for information, I tried the steps to:

    1. When Ant builds project, Ivy prompts for the missing packages after the failure;
    2. These jar packages for hints {preferably build source code, download} are obtained and placed in the Ivy warehouse corresponding location :
    3. Personal localposition:
      /root/.ivy2/Cache #一级/root/.ivy2/cache/org.kitesdk/kite-morphlines-core #jar包对应 project directory /root/ . ivy2/cache/org.kitesdk/kite-morphlines-core/jars/#具体path, the jar package is placed in this directory

      More stupid, but can solve the problem, of the cause welcome everyone exchange, so I can learn to better solve solution for this situation.

    4. Thank for Reading & watching

Building Utils {{Ant+ivy}, {maven}} How to manually add the downloaded JAR package to maven, Ivy's local repository

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.