|
13 | 13 | <url>https://github.com/DevLab-umontp/API-JAVA-EDT</url> |
14 | 14 |
|
15 | 15 | <properties> |
| 16 | + <!-- base --> |
| 17 | + <project.java.version>11</project.java.version> |
| 18 | + <junit.jupiter.version>5.4.0-M1</junit.jupiter.version> |
16 | 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
17 | | - <maven.compiler.source>11</maven.compiler.source> |
18 | | - <maven.compiler.target>11</maven.compiler.target> |
| 20 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 21 | + |
| 22 | + <!-- https://sonarcloud.io --> |
19 | 23 | <sonar.projectKey>DevLab-umontp_API-JAVA-EDT</sonar.projectKey> |
20 | 24 | <sonar.organization>devlab-umontp</sonar.organization> |
21 | 25 | <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
| 26 | + <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../target/site/jacoco/jacoco.xml |
| 27 | + </sonar.coverage.jacoco.xmlReportPaths> |
22 | 28 | </properties> |
23 | 29 |
|
24 | 30 | <dependencies> |
25 | 31 | <dependency> |
26 | 32 | <groupId>org.junit.jupiter</groupId> |
27 | 33 | <artifactId>junit-jupiter-api</artifactId> |
28 | | - <version>5.4.0-M1</version> |
| 34 | + <version>${junit.jupiter.version}</version> |
| 35 | + <scope>test</scope> |
29 | 36 | </dependency> |
30 | 37 | <dependency> |
31 | 38 | <groupId>org.junit.jupiter</groupId> |
32 | 39 | <artifactId>junit-jupiter-engine</artifactId> |
33 | | - <version>5.4.0-M1</version> |
| 40 | + <version>${junit.jupiter.version}</version> |
34 | 41 | <scope>test</scope> |
35 | 42 | </dependency> |
36 | 43 | <dependency> |
37 | 44 | <groupId>org.junit.jupiter</groupId> |
38 | 45 | <artifactId>junit-jupiter-params</artifactId> |
39 | | - <version>5.4.0-M1</version> |
| 46 | + <version>${junit.jupiter.version}</version> |
40 | 47 | <scope>test</scope> |
41 | 48 | </dependency> |
42 | 49 | <dependency> |
|
154 | 161 | <artifactId>maven-compiler-plugin</artifactId> |
155 | 162 | <version>3.8.1</version> |
156 | 163 | <configuration> |
157 | | - <source>11</source> |
158 | | - <target>11</target> |
| 164 | + <source>${project.java.version}</source> |
| 165 | + <target>${project.java.version}</target> |
| 166 | + <encoding>${project.build.sourceEncoding}</encoding> |
159 | 167 | </configuration> |
160 | 168 | </plugin> |
161 | 169 | <plugin> |
|
175 | 183 | <version>0.8.6</version> |
176 | 184 | <executions> |
177 | 185 | <execution> |
178 | | - <id>default-prepare-agent</id> |
| 186 | + <id>prepare-agent</id> |
179 | 187 | <goals> |
180 | 188 | <goal>prepare-agent</goal> |
181 | 189 | </goals> |
182 | 190 | </execution> |
183 | 191 | <execution> |
184 | | - <id>default-report</id> |
185 | | - <phase>prepare-package</phase> |
| 192 | + <id>report</id> |
| 193 | + <phase>test</phase> |
186 | 194 | <goals> |
187 | 195 | <goal>report</goal> |
188 | 196 | </goals> |
|
0 commit comments