Install Local Dependency to Local Repo
Example
# Install the graphml4j into maven dependency.
mvn install:install-file \
-Dfile=/usr/local/workplace/graphml4j/build/libs/graphml4j-1.0-SNAPSHOT.jar \
-DgroupId=com.glassthought.graphml4j \
-DartifactId=Graphml4J \
-Dversion=1.0-SNAPSHOT \
-Dpackaging=jar
Use as regular dependency
<dependency>
<groupId>com.github.fritaly.graphml4j</groupId>
<artifactId>Graphml4J</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- <scope>system</scope>-->
<!-- <systemPath>${project.basedir}/../graphml4j/build/libs/graphml4j-1.0-SNAPSHOT.jar</systemPath>-->
</dependency>
mvn install:install-file \ -Dfile=/Users/vintrin/yed-jar-raw/yed.jar \ -DgroupId=com.yed \ -DartifactId=yed \ -Dversion=1.0 \ -Dpackaging=jar