Created
February 25, 2017 07:19
-
-
Save mskoroglu/bb5e35cae7e43e2d9c58c718862ddde1 to your computer and use it in GitHub Desktop.
Adding unmanaged dependencies to a Maven project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
project structure | |
============================================= | |
- libs | |
- com.example | |
- 1.1 | |
- test-1.1.jar | |
- org.example | |
- 3.4 | |
- test-3-4.jar | |
- src | |
- pom.xml | |
pom.xml | |
============================================= | |
--> | |
<repositories> | |
<repository> | |
<id>repo-id</id> | |
<name>repo-name</name> | |
<url>file://${project.basedir}/libs</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>com.example</groupId> | |
<artifactId>test</artifactId> | |
<version>1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.example</groupId> | |
<artifactId>test</artifactId> | |
<version>3.4</version> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment