Why do I keep getting this error when trying to run sonar via ant - Two modules have the same id: ''. Each module must have a unique id.
I am on sonarqube 7.0 and java 8. I have gone through all settings and I just dont know why this error keeps popping up when I run 'ant sonar' as my command
[sonar:sonar] Apache Ant(TM) version 1.9.3 compiled on April 8 2014
[sonar:sonar] SonarQube Ant Task version: 2.5
[sonar:sonar] Loaded from: file:/usr/share/ant/lib/sonarqube-ant-task-2.5.jar
[sonar:sonar] User cache: /home/.sonar/cache
[sonar:sonar] SLF4J: Class path contains multiple SLF4J bindings.
[sonar:sonar] SLF4J: Found binding in [jar:file:/home/.sonar/cache/66049c6958872fd6ceed2035f213a9ae/sonar-plugin-api-deps.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[sonar:sonar] SLF4J: Found binding in [jar:file:/home/.sonar/cache/826fe2e423aa6b6e7a797b6f2722c7ac/sonar-scanner-engine-shaded-7.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[sonar:sonar] SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
[sonar:sonar] Publish mode
[sonar:sonar] Load global settings
[sonar:sonar] Load global settings (done) | time=119ms
[sonar:sonar] Server id: AWH33petlhztxaryDbQp
[sonar:sonar] User cache: /home/.sonar/cache
[sonar:sonar] Load plugins index
[sonar:sonar] Load plugins index (done) | time=106ms
[sonar:sonar] Load/download plugins
[sonar:sonar] Load/download plugins (done) | time=26ms
[sonar:sonar] Default locale: "en_US", source code encoding: "UTF-8"
[sonar:sonar] Process project properties
BUILD FAILED
/opt/hybris-commerce/hybris-suite/hybris/bin/platform/build.xml:82: The following error occurred while executing this line:
/opt/hybris-commerce/hybris-suite/hybris/bin/platform/resources/ant/sonar.xml:89: Two modules have the same id: ''. Each module must have a unique id.