タイトルが示すように、私は Maven で jqassistant を使用しています。これまでのところ、小規模なプロジェクトではうまくいきました。現在、複数の poms を持つプロジェクトを使用しています。ガイドが示すように ( http://buschmais.github.io/jqassistant/doc/1.2.0/#_maven_plugin ) 私は現在 root-pom にこのプロファイルしか持っていません:
<profiles>
<profile>
<id>jqassistant</id>
<build>
<plugins>
<plugin>
<groupId>com.buschmais.jqassistant</groupId>
<artifactId>jqassistant-maven-plugin</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<goals>
<goal>scan</goal>
<goal>analyze</goal>
</goals>
<configuration>
<failOnViolations>true</failOnViolations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>com.buschmais.jqassistant</groupId>
<artifactId>jqassistant-maven-plugin</artifactId>
<version>1.2.0</version>
<reportSets>
<reportSet>
<reports>
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
コマンド useExecutionRootAsProjectRoot も使用してみましたが、ビルドがプロジェクト全体をスキャンすることはありません。サブポンには他のプロファイルがあります。すべての pom でプロファイルが必要ですか? jQA への依存関係を宣言する必要がありますか? どこで - 親ポンだけですか?