Answers for "HOW TO CONFIGURE MAVEN TO TAKE LOCAL JAR FILE WHILE JAR BUILDING"

0

using local jar in maven

Create a new folder, let's say local-maven-repo at the root of your Maven project.

Just add a local repo inside your <project> of your pom.xml:


<repositories>
    <repository>
        <id>local-maven-repo</id>
        <url>file:///${project.basedir}/local-maven-repo</url>
    </repository>
</repositories>
Posted by: Guest on April-16-2021

Browse Popular Code Answers by Language