|
2 | 2 | <modelVersion>4.0.0</modelVersion>
|
3 | 3 | <groupId>org.swisspush</groupId>
|
4 | 4 | <artifactId>cluster-watchdog</artifactId>
|
5 |
| - <version>3.0.2-SNAPSHOT</version> |
| 5 | + <version>3.1.0-SNAPSHOT</version> |
6 | 6 | <name>cluster-watchdog</name>
|
7 | 7 | <packaging>jar</packaging>
|
8 | 8 | <description>
|
|
54 | 54 | <dependency>
|
55 | 55 | <groupId>commons-io</groupId>
|
56 | 56 | <artifactId>commons-io</artifactId>
|
57 |
| - <version>2.4</version> |
| 57 | + <version>${commons-io.version}</version> |
58 | 58 | <scope>compile</scope>
|
59 | 59 | </dependency>
|
60 | 60 | <dependency>
|
61 | 61 | <groupId>commons-lang</groupId>
|
62 | 62 | <artifactId>commons-lang</artifactId>
|
63 |
| - <version>2.4</version> |
| 63 | + <version>${commons-lang.version}</version> |
64 | 64 | <scope>compile</scope>
|
65 | 65 | </dependency>
|
66 | 66 | <dependency>
|
67 | 67 | <groupId>org.apache.commons</groupId>
|
68 | 68 | <artifactId>commons-collections4</artifactId>
|
69 |
| - <version>4.1</version> |
| 69 | + <version>${commons-collections4.version}</version> |
70 | 70 | <scope>compile</scope>
|
71 | 71 | </dependency>
|
72 | 72 | <dependency>
|
|
83 | 83 | <dependency>
|
84 | 84 | <groupId>junit</groupId>
|
85 | 85 | <artifactId>junit</artifactId>
|
86 |
| - <version>4.13.2</version> |
| 86 | + <version>${junit.version}</version> |
87 | 87 | <scope>test</scope>
|
88 | 88 | </dependency>
|
89 | 89 | <dependency>
|
|
98 | 98 | <plugins>
|
99 | 99 | <plugin>
|
100 | 100 | <artifactId>maven-surefire-plugin</artifactId>
|
101 |
| - <version>3.0.0-M5</version> |
| 101 | + <version>3.0.0</version> |
102 | 102 | </plugin>
|
103 | 103 | <plugin>
|
104 | 104 | <groupId>org.jacoco</groupId>
|
105 | 105 | <artifactId>jacoco-maven-plugin</artifactId>
|
106 |
| - <version>0.8.7</version> |
| 106 | + <version>0.8.9</version> |
107 | 107 | </plugin>
|
108 | 108 | <plugin>
|
109 | 109 | <groupId>org.apache.maven.plugins</groupId>
|
|
157 | 157 | </plugins>
|
158 | 158 | </pluginManagement>
|
159 | 159 | <plugins>
|
| 160 | + <plugin> |
| 161 | + <artifactId>maven-surefire-plugin</artifactId> |
| 162 | + <configuration> |
| 163 | + <!-- Sets the VM argument line used when unit tests are run. --> |
| 164 | + <argLine>${surefireArgLine}</argLine> |
| 165 | + </configuration> |
| 166 | + </plugin> |
| 167 | + <plugin> |
| 168 | + <groupId>org.jacoco</groupId> |
| 169 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 170 | + <executions> |
| 171 | + <execution> |
| 172 | + <id>pre-unit-test</id> |
| 173 | + <goals> |
| 174 | + <goal>prepare-agent</goal> |
| 175 | + </goals> |
| 176 | + <configuration> |
| 177 | + <!-- Sets the path to the file which contains the execution data. --> |
| 178 | + <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
| 179 | + <!-- |
| 180 | + Sets the name of the property containing the settings |
| 181 | + for JaCoCo runtime agent. |
| 182 | + --> |
| 183 | + <propertyName>surefireArgLine</propertyName> |
| 184 | + </configuration> |
| 185 | + </execution> |
| 186 | + <!-- |
| 187 | + Ensures that the code coverage report for unit tests is created after |
| 188 | + unit tests have been run. |
| 189 | + --> |
| 190 | + <execution> |
| 191 | + <id>post-unit-test</id> |
| 192 | + <phase>test</phase> |
| 193 | + <goals> |
| 194 | + <goal>report</goal> |
| 195 | + </goals> |
| 196 | + <configuration> |
| 197 | + <!-- Sets the path to the file which contains the execution data. --> |
| 198 | + <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| 199 | + <!-- Sets the output directory for the code coverage report. --> |
| 200 | + <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 201 | + </configuration> |
| 202 | + </execution> |
| 203 | + </executions> |
| 204 | + </plugin> |
160 | 205 | <plugin>
|
161 | 206 | <groupId>external.atlassian.jgitflow</groupId>
|
162 | 207 | <artifactId>jgitflow-maven-plugin</artifactId>
|
|
352 | 397 | </profile>
|
353 | 398 | </profiles>
|
354 | 399 | <properties>
|
355 |
| - <vertx.version>4.2.1</vertx.version> |
356 |
| - <slf4j.version>1.7.36</slf4j.version> |
| 400 | + <vertx.version>4.5.1</vertx.version> |
| 401 | + <slf4j.version>2.0.10</slf4j.version> |
| 402 | + <commons-lang.version>2.6</commons-lang.version> |
| 403 | + <commons-io.version>2.15.1</commons-io.version> |
| 404 | + <commons-collections4.version>4.4</commons-collections4.version> |
| 405 | + <junit.version>4.13.2</junit.version> |
357 | 406 | <project.build.sourceEncoding>UTF8</project.build.sourceEncoding>
|
358 | 407 | <sonatypeOssDistMgmtSnapshotsUrl>
|
359 | 408 | https://oss.sonatype.org/content/repositories/snapshots/
|
|
0 commit comments