0
How to include custom library into maven local repository?

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

1 Answer

0
Best answer
0
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 by (151 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...