Skip to content

Commit

Permalink
refactor: configurações maven #64
Browse files Browse the repository at this point in the history
  • Loading branch information
tacianosilva committed Oct 6, 2022
1 parent 48f4e05 commit c5f8424
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ nbdist/
/test-output/
/.externalToolBuilders/
/.vscode/
.scannerwork/
7 changes: 5 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<java.version>11</java.version>
<sonar.organization>tacianosilva-github</sonar.organization>
<sonar.language>java</sonar.language>
<sonar.java.source>java</sonar.java.source>
<sonar.exclusions>**/*.properties,**/*.xml</sonar.exclusions>
<!-- The main class to start by executing "java -jar" -->
<start-class>br.ufrn.dct.apf.APFApplication</start-class>
Expand Down Expand Up @@ -154,8 +155,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>11</source>
<target>11</target>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -283,11 +284,13 @@
<artifactId>maven-pmd-plugin</artifactId>
<version>3.10.0</version>
</plugin>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
</plugin>
-->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand Down
21 changes: 21 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
sonar.host.url=http://labens.dct.ufrn.br/sonarqube
sonar.projectKey=apf-bsi
sonar.projectName=Analisador de Contagem por Pontos de Função do BSI/UFRN
sonar.projectVersion=0.5.0
sonar.sources=src/main
sonar.tests=src/test
sonar.coverage.jacoco.xmlReportPaths=target/test-reports
sonar.coverage.exclusions=
sonar.exclusions=**/main/resources/db/**, **/main/resources/static/**
sonar.java.coveragePlugin=jacoco
sonar.java.binaries=target/classes
sonar.java.libraries=
sonar.sourceEncoding=UTF-8
sonar.java.source=17
sonar.issuesReport.html.enable=true


sonar.links.homepage=https://github.com/labens-ufrn/apf-bsi
sonar.links.ci=https://github.com/labens-ufrn/apf-bsi
sonar.links.scm=https://github.com/labens-ufrn/apf-bsi
sonar.links.issue=https://github.com/labens-ufrn/apf-bsi/issues

0 comments on commit c5f8424

Please sign in to comment.