Skip to content

Commit a0645c9

Browse files
committed
Updated some POM items
1 parent 2f9ef32 commit a0645c9

File tree

1 file changed

+17
-31
lines changed

1 file changed

+17
-31
lines changed

pom.xml

Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
<properties>
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
47-
<java.version>16</java.version>
48-
<powermock.version>2.0.2</powermock.version>
47+
<java.version>17</java.version>
48+
<powermock.version>2.0.9</powermock.version>
4949
<!-- More visible way how to change dependency versions -->
5050
<spigot.version>1.17.1-R0.1-SNAPSHOT</spigot.version>
5151
<bentobox.version>1.20.0</bentobox.version>
@@ -54,6 +54,10 @@
5454
<!-- This allows to change between versions and snapshots. -->
5555
<build.version>1.11.0</build.version>
5656
<build.number>-LOCAL</build.number>
57+
<sonar.projectKey>BentoBoxWorld_Boxed</sonar.projectKey>
58+
<sonar.organization>bentobox-world</sonar.organization>
59+
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
60+
5761
</properties>
5862

5963
<profiles>
@@ -94,30 +98,6 @@
9498
<build.number></build.number>
9599
</properties>
96100
</profile>
97-
<profile>
98-
<id>sonar</id>
99-
<properties>
100-
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
101-
<sonar.organization>bentobox-world</sonar.organization>
102-
</properties>
103-
<build>
104-
<plugins>
105-
<plugin>
106-
<groupId>org.sonarsource.scanner.maven</groupId>
107-
<artifactId>sonar-maven-plugin</artifactId>
108-
<version>3.7.0.1746</version>
109-
<executions>
110-
<execution>
111-
<phase>verify</phase>
112-
<goals>
113-
<goal>sonar</goal>
114-
</goals>
115-
</execution>
116-
</executions>
117-
</plugin>
118-
</plugins>
119-
</build>
120-
</profile>
121101
</profiles>
122102

123103
<repositories>
@@ -292,33 +272,39 @@
292272
<artifactId>maven-deploy-plugin</artifactId>
293273
<version>2.8.2</version>
294274
</plugin>
295-
<plugin>
275+
<plugin>
296276
<groupId>org.jacoco</groupId>
297277
<artifactId>jacoco-maven-plugin</artifactId>
298278
<version>0.8.10</version>
299279
<configuration>
300280
<append>true</append>
301281
<excludes>
302-
<!-- This is required to prevent Jacoco from adding synthetic fields
303-
to a JavaBean class (causes errors in testing) -->
282+
<!-- This is required to prevent Jacoco from adding
283+
synthetic fields to a JavaBean class (causes errors in testing) -->
304284
<exclude>**/*Names*</exclude>
305285
</excludes>
306286
</configuration>
307287
<executions>
308288
<execution>
309-
<id>pre-unit-test</id>
289+
<id>prepare-agent</id>
310290
<goals>
311291
<goal>prepare-agent</goal>
312292
</goals>
313293
</execution>
314294
<execution>
315-
<id>post-unit-test</id>
295+
<id>report</id>
316296
<goals>
317297
<goal>report</goal>
318298
</goals>
299+
<configuration>
300+
<formats>
301+
<format>XML</format>
302+
</formats>
303+
</configuration>
319304
</execution>
320305
</executions>
321306
</plugin>
307+
322308
</plugins>
323309
</build>
324310
</project>

0 commit comments

Comments
 (0)