Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-01-2020 08:26 AM
Hi All,
i'd like to include the apoc library as a maven dependency in my pom.xml
like so.
<dependency>
<groupId>org.neo4j.procedure</groupId>
<artifactId>apoc</artifactId>
<version>4.1.0.2</version>
</dependency>
But this does not work when i import apoc classes into my classes,
mvn clean package
complains with
package apoc does not exist
downloading manualy apoc and putting it as local jar file works.
<dependency>
<groupId>org.neo4j.procedure</groupId>
<artifactId>apoc</artifactId>
<version>4.1.0.2</version>
<systemPath>${basedir}/apoc-4.1.0.2-all.jar</systemPath>
<scope>system</scope>
</dependency>
what do i wrong? actually i would like to use latest so i am sure to build on the latest apoc version and hence do not get outdated over time.
12-03-2020 09:12 AM
I think you can add the classifier to pull the correct apoc JAR:
<dependency>
<groupId>org.neo4j.procedure</groupId>
<artifactId>apoc</artifactId>
<version>4.2.0.0</version>
<classifier>all</classifier>
</dependency>
12-22-2020 06:49 AM
Hi Gary,
thank you for the reply . I'll check that.
regards
Thomas
All the sessions of the conference are now available online