Re: Adding dependencies to target 'install'


Jason Plurad <plu...@...>
 

I think you're looking for janusgraph-core/pom.xml. All of these dependencies end up in the distribution zip.


On Wednesday, May 10, 2017 at 6:31:18 PM UTC-7, Timothy Findlay wrote:
Hi Folks,

Forgive me for the simple question, but I've got:
# 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.