I'm running jQAssistant with an external Neo4J database. I want to collect the data of our projects and keep them externally for queries.
To do that, I reset the store just before scanning the projects.
However, since a couple of days, I'm getting this error:
[INFO] --- jqassistant-maven-plugin:1.10.0:reset (reset-store) @ foobar ---
[INFO] Scanning for jQAssistant plugins...
[INFO] [Asciidoc Report, CDI, Common, Core Analysis, Core Report, EJB3, GraphML, GraphQL, JAX-RS, JSON,
JUnit, Java, Java EE 6, Maven 2 Repository, Maven 3, OSGi, RDBMS, Spring, TestNG, Tycho, XML, YAML,
jQAssistant JPA 2 Plugin].
[INFO] Connecting to store at 'bolt://myserver:7687' (username=neo4j)
Aug 29, 2021 5:45:11 PM org.neo4j.driver.internal.logging.JULogger info
INFORMATION: Direct driver instance 1436136891 created for server address myserver:7687
[INFO] Resetting store.
[INFO] Resetting store.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54:07 min
[INFO] Finished at: 2021-08-29T18:39:13+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.buschmais.jqassistant:jqassistant-maven-plugin:1.10.0:reset (reset-store)
on project foobar: Execution reset-store of goal
com.buschmais.jqassistant:jqassistant-maven-plugin:1.10.0:reset failed:
Cannot delete node<11994142>, because it still has relationships.
To delete this node, you must first delete its relationships. -> [Help 1]
Is there anything I can do about that? Or should I just reinstall Neo4J?
See the comments which led to a Jenkins pipeline. Otherwise cleaning (in my case) can overlap with scanning.