Install a jar dependency in your local maven repository
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=jar
Example:
mvn install:install-file -Dfile=bugsense3.0.8.jar -DgroupId=com.bugsense -DartifactId=bugsense -Dversion=3.0.8 -Dpackaging=jar
Add the dependency to your pom.xml
<dependency>
<groupId>com.bugsense</groupId>
<artifactId>bugsense</artifactId>
<version>3.0.8</version>
</dependency>
Written by Hélder Vasconcelos
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Java
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#