|
271 | 271 | <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
272 | 272 | <revapi-maven-plugin.version>0.11.5</revapi-maven-plugin.version> |
273 | 273 | <scijava-maven-plugin.version>2.0.0</scijava-maven-plugin.version> |
| 274 | + <sonarscanner-maven-plugin.version>3.7.0.1746</sonarscanner-maven-plugin.version> |
274 | 275 |
|
275 | 276 | <!-- Plugin dependencies --> |
276 | 277 | <extra-enforcer-rules.version>1.2</extra-enforcer-rules.version> |
|
281 | 282 |
|
282 | 283 | <!-- Build extensions --> |
283 | 284 | <wagon-webdav-jackrabbit.version>1.0</wagon-webdav-jackrabbit.version> |
| 285 | + |
| 286 | + <!-- SonarQube server instance --> |
| 287 | + <sonar.host.url>https://fiji-qa.mpi-cbg.de/</sonar.host.url> |
284 | 288 | </properties> |
285 | 289 |
|
286 | 290 | <build> |
|
519 | 523 | Sometimes, one needs to pass JVM options to the JVM running the |
520 | 524 | unit tests, such as -verbose:class or -Djava.awt.headless=true. |
521 | 525 |
|
522 | | - Unfortunately, maven-surefire does not expose a command-line |
| 526 | + Unfortunately, maven-surefire does not expose a command-line |
523 | 527 | interface to do so, therefore let's simulate it by using our |
524 | 528 | own property 'scijava.surefire.args' to specify those options. |
525 | 529 | --> |
|
690 | 694 | </executions> |
691 | 695 | </plugin> |
692 | 696 |
|
| 697 | + <!-- |
| 698 | + SonarScanner Maven plugin - |
| 699 | + https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-maven/ |
| 700 | + SonarQube scanner for java projects. |
| 701 | + --> |
| 702 | + <plugin> |
| 703 | + <groupId>org.sonarsource.scanner.maven</groupId> |
| 704 | + <artifactId>sonar-maven-plugin</artifactId> |
| 705 | + <version>${sonarscanner-maven-plugin.version}</version> |
| 706 | + </plugin> |
| 707 | + |
693 | 708 | <!-- |
694 | 709 | JavaFX Maven plugin - |
695 | 710 | https://github.com/javafx-maven-plugin/javafx-maven-plugin |
|
1390 | 1405 | </configuration> |
1391 | 1406 | </execution> |
1392 | 1407 | </executions> |
1393 | | - </plugin> |
| 1408 | + </plugin> |
1394 | 1409 | </plugins> |
1395 | 1410 | </build> |
1396 | 1411 | </profile> |
|
1874 | 1889 | folder. It may catch some undangerous bugs, so it is better to set the |
1875 | 1890 | failOnError variable to false. |
1876 | 1891 | --> |
1877 | | - |
1878 | 1892 | <profile> |
1879 | 1893 | <id>findbugs</id> |
1880 | 1894 | <activation> |
|
0 commit comments