当父项目下有多个模块时,如何指示jqassistant不扫描或分析特定模块?这是因为我在执行 jqassistant:scan,analyze with parent pom.xml 时遇到以下错误。但是单独运行时,扫描和分析是成功的。不确定失败的原因。那么有没有办法从 jqassistant scan & analyze 跳过这个模块?
Maven 错误
[错误] 无法在项目 >myXYZProjectIntegrationTests 上执行目标 com.buschmais.jqassistant:jqassistant->maven-plugin:1.3.0:analyze (default-cli):执行目标的默认 cli >com.buschmais.jqassistant:jqassistant- maven-plugin:1.3.0:analyze failed:>为节点[80826]找到多个关系[DECLARES,INCOMING] -> >[Help 1]
Maven调试日志:
[INFO] 应用概念 'customJU:LambdaMethods' 严重性:'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 [{}]
如果任一侧为空,则似乎“合并(方法)-[:DECLARES]->(lambda)”失败。如何在合并之前检查它是否是有效的合并?