Some questions on building Neo4j with Maven

I'm doing a project with neo4j. I need to modify some lines of code because I want it to work differently than usual.

So it's necessary for me to build it with this command:

mvn clean install -DfullBuild

I'm new to Maven. I don't understand some things:

Thanks for any help given!

Upvotes: 3

Views: 114

Answers (1)

Stefan Armbruster
Stefan Armbruster

Reputation: 39905

1) it's downloading all the dependencies (which are a lot). If you have snapshot dependencies they will be redownloaded on a daily basis.

2) add -DskipTests=true to your command line arguments

3) most of the build time is spent running the tests. Neo4j has a strict focus on quality hence a lot of tests. Also building the browser requires couple of steps to compress/package javascript, css and other stuff.

4) yes. If you change something in submodule xyz, just call mvn install -DskipTests=true from within that module.

Upvotes: 2

Related Questions