Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 2df783fe authored by Catalin-Emanuel ENACHE's avatar Catalin-Emanuel ENACHE
Browse files

[EDELIVERY-3114] downgraded sonar maven plugin + refactoring

parent 11351561
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
<sonar.exclusions>**/smp/data/model/*, **/smp/exceptions/*, **/to_be_removed/*</sonar.exclusions>
<sonar.ws.timeout>300</sonar.ws.timeout>
<!--<sonar.login>1659ebb88e2d1a896bfd56e835358c06418219c3</sonar.login>-->
<sonar.login>1659ebb88e2d1a896bfd56e835358c06418219c3</sonar.login>
<sonar.jacoco.remotePort>${jacocoRemotePort}</sonar.jacoco.remotePort>
<sonar.jacoco.remoteAddress>${jacocoRemoteAddress}</sonar.jacoco.remoteAddress>
<jacoco.maven.plugin.version>0.7.9</jacoco.maven.plugin.version>
......@@ -128,11 +128,10 @@
<build>
<plugins>
<!-- sonar maven plugin (for 5.6 sonarqube) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.3.0.603</version>
<version>3.2</version>
</plugin>
</plugins>
</build>
......
......@@ -98,7 +98,7 @@
<sonar.jacoco.itReportPath>${maven.multiModuleProjectDirectory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
<jacoco.maven.plugin.version>0.7.9</jacoco.maven.plugin.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<!--<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>-->
<sonar.language>java</sonar.language>
</properties>
......@@ -650,7 +650,8 @@
<execution>
<id>default-test</id>
<configuration>
<argLine>-Duser.language=en -Xms512m -Xmx1024m ${surefire.argline} </argLine>
<argLine>-server -ea -Duser.language=en -Xms512m -Xmx1024m ${surefire.argline}
</argLine>
<includes>
<include>**/*Test.java</include>
</includes>
......@@ -680,7 +681,9 @@
</goals>
<configuration>
<!-- Sets the VM argument line used when integration tests are run. -->
<argLine>-Duser.language=en -Xms512m -Xmx1024m ${failsafe.argline}</argLine>
<argLine>-server -ea -Xms512m -Xmx1024m -Duser.language=en ${failsafe.argline}
</argLine>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment