|
8 | 8 | <name>Dropwizard Hello World application</name>
|
9 | 9 |
|
10 | 10 | <properties>
|
11 |
| - <dropwizard.version>2.1.0</dropwizard.version> |
12 |
| - <junit.version>5.8.2</junit.version> |
| 11 | + <junit.version>5.10.2</junit.version> |
13 | 12 | <logback.version>1.2.11</logback.version>
|
14 | 13 | <slf4j.version>1.7.36</slf4j.version>
|
15 | 14 | <skip.tests>false</skip.tests>
|
16 | 15 | <main.class>com.github.sullis.dropwizard.helloworld.HelloWorldApplication</main.class>
|
17 | 16 | </properties>
|
18 | 17 |
|
| 18 | + <dependencyManagement> |
| 19 | + <dependencies> |
| 20 | + <dependency> |
| 21 | + <groupId>io.dropwizard</groupId> |
| 22 | + <artifactId>dropwizard-bom</artifactId> |
| 23 | + <version>4.0.7</version> |
| 24 | + <type>pom</type> |
| 25 | + <scope>import</scope> |
| 26 | + </dependency> |
| 27 | + </dependencies> |
| 28 | + </dependencyManagement> |
19 | 29 | <dependencies>
|
20 | 30 | <dependency>
|
21 | 31 | <groupId>io.dropwizard</groupId>
|
22 | 32 | <artifactId>dropwizard-core</artifactId>
|
23 |
| - <version>${dropwizard.version}</version> |
24 | 33 | </dependency>
|
25 | 34 | <dependency>
|
26 | 35 | <groupId>io.dropwizard</groupId>
|
27 | 36 | <artifactId>dropwizard-jackson</artifactId>
|
28 |
| - <version>${dropwizard.version}</version> |
29 | 37 | </dependency>
|
30 | 38 | <dependency>
|
31 | 39 | <groupId>io.dropwizard</groupId>
|
32 | 40 | <artifactId>dropwizard-testing</artifactId>
|
33 |
| - <version>${dropwizard.version}</version> |
34 | 41 | <scope>test</scope>
|
35 | 42 | </dependency>
|
36 | 43 | <dependency>
|
|
54 | 61 | <dependency>
|
55 | 62 | <groupId>org.mockito</groupId>
|
56 | 63 | <artifactId>mockito-core</artifactId>
|
57 |
| - <version>4.6.1</version> |
| 64 | + <version>5.12.0</version> |
58 | 65 | <scope>test</scope>
|
59 | 66 | </dependency>
|
60 | 67 | <dependency>
|
61 | 68 | <groupId>org.assertj</groupId>
|
62 | 69 | <artifactId>assertj-core</artifactId>
|
63 |
| - <version>3.23.1</version> |
| 70 | + <version>3.26.0</version> |
64 | 71 | <scope>test</scope>
|
65 | 72 | </dependency>
|
66 | 73 | </dependencies>
|
|
70 | 77 | <plugin>
|
71 | 78 | <groupId>org.apache.maven.plugins</groupId>
|
72 | 79 | <artifactId>maven-compiler-plugin</artifactId>
|
73 |
| - <version>3.10.1</version> |
| 80 | + <version>3.13.0</version> |
74 | 81 | <configuration>
|
75 |
| - <source>8</source> |
76 |
| - <target>8</target> |
| 82 | + <source>17</source> |
| 83 | + <target>17</target> |
77 | 84 | <encoding>UTF-8</encoding>
|
78 | 85 | <compilerArgs>
|
79 | 86 | <arg>-Werror</arg>
|
80 | 87 | <arg>-Xlint:all</arg>
|
81 | 88 | </compilerArgs>
|
82 | 89 | </configuration>
|
83 | 90 | </plugin>
|
84 |
| - <plugin> |
85 |
| - <groupId>org.gaul</groupId> |
86 |
| - <artifactId>modernizer-maven-plugin</artifactId> |
87 |
| - <version>2.4.0</version> |
88 |
| - <configuration> |
89 |
| - <javaVersion>17</javaVersion> |
90 |
| - <failOnViolations>true</failOnViolations> |
91 |
| - <includeTestClasses>true</includeTestClasses> |
92 |
| - </configuration> |
93 |
| - <executions> |
94 |
| - <execution> |
95 |
| - <id>modernizer</id> |
96 |
| - <phase>verify</phase> |
97 |
| - <goals> |
98 |
| - <goal>modernizer</goal> |
99 |
| - </goals> |
100 |
| - </execution> |
101 |
| - </executions> |
102 |
| - </plugin> |
103 | 91 | <plugin>
|
104 | 92 | <groupId>org.apache.maven.plugins</groupId>
|
105 | 93 | <artifactId>maven-shade-plugin</artifactId>
|
|
0 commit comments