Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: 2.9
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Unix
-
Number of attachments :
Description
I use jenkins for CI. When jenkins launches something like mvn -B -f /cis/jenkins/jobs/develplugin/workspace/pom.xml clean sonar:sonar package javadoc:javadoc org.sonar.api.resources.DuplicatedSourceException occurs.
The reason seems to be that we have a link under "/cis/jenkins/jobs", pointing to a directory called "/jrepos", and sonar-pom.xml fills with the following entry: "<sonar.sources>,/cis/jenkins/jobs/develplugin/workspace/src/main/java,/jrepos/develplugin/workspace/src/main/java,/jrepos/develplugin/work
space/src/main/resources</sonar.sources>", I mean, two entries are duplicated and DuplicatedSourceException is raised.
Hi David, I don't understand what you expect from Sonar as there really seems to be a duplication of the source directories ?