From e309ebc138529ebe502bf5b2d4d9e83a0fe0e716 Mon Sep 17 00:00:00 2001 From: Ignishky Date: Thu, 8 Jun 2017 11:29:57 +0200 Subject: [PATCH] [Maven] Do not install third party jar in local repo but use system scope instand. --- README.md | 8 -------- pom.xml | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0660283..274095a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,5 @@ # How to install -## Add third party libs to in the local maven repo - -In order, for the project to build, run this command in the project root directory : - -```bash -mvn install:install-file -Dfile=./libs/osmonaut-1.0.2.4.jar -DgroupId=net.morbz -DartifactId=osmonaut -Dversion=1.0.2.4 -Dpackaging=jar -``` - ## Compile source code This project use maven in order to compile source file : diff --git a/pom.xml b/pom.xml index c3ae20a..9fa27cc 100644 --- a/pom.xml +++ b/pom.xml @@ -161,6 +161,8 @@ net.morbz osmonaut 1.0.2.4 + system + ${project.basedir}/libs/osmonaut-1.0.2.4.jar org.geotools