0
How to include custom library into maven local repository?

Solved 1 Answers 18 Views Others
I have few custom Jar files. How to include custom library into maven local repository?

1 Answer

0
Best answer
This is what you should be doing inside dependencies section.

 

<dependency>
            <groupId>com.company</groupId>
            <artifactId>package</artifactId>
            <version>1.0.0</version>
            <scope>system</scope>
            <systemPath>${basedir}/path/to/jarfile.jar</systemPath>
        </dependency>

Hope it helps.
answered Apr 15, 2016 by stbadmin (4,970 points)
selected Mar 7 by stbadmin
...