Adding dependencies to target 'install'


tfin...@...
 

Hi Folks,

Forgive me for the simple question, but I've got:
# git clone https://github.com/JanusGraph/janusgraph.git
# mvn clean install -DskipTests

This all works fine. But I want to add a new JAR to the classpath, Specifically I'd like to use Univocity-parsers.

I tried adding:
<dependency>
	<groupId>com.univocity</groupId>
	<artifactId>univocity-parsers</artifactId>
	<version>2.4.1</version>
	<type>jar</type>
</dependency>

to the main pom, but the JAR doesn't get added to the lib folder and thus its not available at run time. Sure, I could just copy the built JAR in there, but I'd like a semi-automated build if I can.

Where is the right place to add the dependency for maven to add the JAR to the 'install' target ?

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.