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:
- When Ant builds project, Ivy prompts for the missing packages after the failure;
- These jar packages for hints {preferably build source code, download} are obtained and placed in the Ivy warehouse corresponding location :
- 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.
- Thank for Reading & watching
Building Utils {{Ant+ivy}, {maven}} How to manually add the downloaded JAR package to maven, Ivy's local repository