When there are multiple modules under a parent project, how to indicate jqassistant not to scan or analyze a particular module ? This is because I get below error while executing the jqassistant:scan,analyze with parent pom.xml. But when run individually, the scan & analyze are successful. Not sure about the cause of failure. So is there a way to skip this module from jqassistant scan & analyze ?
Maven Error
[ERROR] Failed to execute goal com.buschmais.jqassistant:jqassistant->maven-plugin:1.3.0:analyze (default-cli) on project >myXYZProjectIntegrationTests: Execution default-cli of goal >com.buschmais.jqassistant:jqassistant-maven-plugin:1.3.0:analyze failed: >More than one relationship[DECLARES, INCOMING] found for Node[80826] -> >[Help 1]
Maven Debug log :
[INFO] Applying concept 'customJU:LambdaMethods' with severity: 'MINOR'.
[DEBUG] Executing query '
MATCH
(type:Type)-[:DECLARES]->(lambda:Method)
WHERE
exists(lambda.synthetic)
and exists(lambda.static)
and lambda.name starts with("lambda$")
SET
lambda:Lambda
WITH
type, lambda
MATCH
(type)-[:DECLARES]->(method:Method)
WHERE
method <> lambda
and method.firstLineNumber <= lambda.firstLineNumber
and method.lastLineNumber >= lambda.lastLineNumber
MERGE
(method)-[:DECLARES]->(lambda)
RETURN
method as lambdaMethod
' with parameters [{}]
Seems like "MERGE (method)-[:DECLARES]->(lambda)" fails if either side is empty. How to check if its a valid merge before merging?