Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.7
-
Fix Version/s: None
-
Component/s: Maven Plugin
-
Labels:None
Description
Sonar can't cope with pom.xml using maven-shade-plugin.
Sonar can't even filter them with parameter sonar.skippedModules
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
stacktrace if xxx-configuration-batch declare maven-shade-plugin
[INFO] task-segment: [org.codehaus.sonar:sonar-maven-plugin:1.7:sonar] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [sonar:sonar]
[INFO] Filtering projects: xxx-ear
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to find module xxx-batch pom.xml
Issue Links
- relates to
-
SONAR-594
Sonar FindBugs plugin fails on EAR projects with sources
-
François, we need more information on your context to help you figure out what happens. Could you attach to this ticket a simple Maven project with its modules to allow us to locally replay the error ?
Thanks,
Freddy