|
27 | 27 |
|
28 | 28 | <properties> |
29 | 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 30 | + <jdk.version>17</jdk.version> |
| 31 | + |
| 32 | + <slf4j.version>2.0.16</slf4j.version> |
| 33 | + <jetbrains-annotation.version>26.0.1</jetbrains-annotation.version> |
| 34 | + |
| 35 | + <!-- Test dependencies --> |
| 36 | + <junit.version>5.11.4</junit.version> |
| 37 | + <mockito.version>5.15.2</mockito.version> |
| 38 | + |
| 39 | + <!-- Build dependencies --> |
| 40 | + <mvn-compiler.version>3.13.0</mvn-compiler.version> |
| 41 | + <mvn-source.version>3.3.1</mvn-source.version> |
| 42 | + <mvn-surefire.version>3.5.2</mvn-surefire.version> |
| 43 | + <mvn-javadoc.version>3.11.2</mvn-javadoc.version> |
| 44 | + <mvn-gpg.version>3.2.7</mvn-gpg.version> |
| 45 | + <nexus-staging.version>1.7.0</nexus-staging.version> |
30 | 46 | </properties> |
31 | 47 |
|
32 | 48 | <licenses> |
|
41 | 57 | <dependency> |
42 | 58 | <groupId>org.slf4j</groupId> |
43 | 59 | <artifactId>slf4j-api</artifactId> |
44 | | - <version>2.0.16</version> |
| 60 | + <version>${slf4j.version}</version> |
45 | 61 | </dependency> |
46 | 62 |
|
47 | 63 | <dependency> |
48 | 64 | <groupId>org.jetbrains</groupId> |
49 | 65 | <artifactId>annotations</artifactId> |
50 | | - <version>26.0.1</version> |
| 66 | + <version>${jetbrains-annotation.version}</version> |
51 | 67 | <scope>provided</scope> |
52 | 68 | </dependency> |
53 | 69 | <dependency> |
54 | 70 | <groupId>org.slf4j</groupId> |
55 | 71 | <artifactId>slf4j-simple</artifactId> |
56 | | - <version>2.0.16</version> |
| 72 | + <version>${slf4j.version}</version> |
57 | 73 | <scope>test</scope> |
58 | 74 | </dependency> |
59 | 75 | <dependency> |
60 | 76 | <groupId>org.junit.jupiter</groupId> |
61 | 77 | <artifactId>junit-jupiter</artifactId> |
62 | | - <version>5.11.4</version> |
| 78 | + <version>${junit.version}</version> |
63 | 79 | <scope>test</scope> |
64 | 80 | </dependency> |
65 | 81 | <dependency> |
66 | 82 | <groupId>org.mockito</groupId> |
67 | 83 | <artifactId>mockito-core</artifactId> |
68 | | - <version>5.15.2</version> |
| 84 | + <version>${mockito.version}</version> |
69 | 85 | <scope>test</scope> |
70 | 86 | </dependency> |
71 | 87 | </dependencies> |
|
75 | 91 | <plugin> |
76 | 92 | <groupId>org.apache.maven.plugins</groupId> |
77 | 93 | <artifactId>maven-compiler-plugin</artifactId> |
78 | | - <version>3.13.0</version> |
| 94 | + <version>${mvn-compiler.version}</version> |
79 | 95 | <configuration> |
80 | | - <release>17</release> |
| 96 | + <release>${jdk.version}</release> |
81 | 97 | </configuration> |
82 | 98 | </plugin> |
83 | 99 | <plugin> |
84 | 100 | <artifactId>maven-source-plugin</artifactId> |
85 | | - <version>3.3.1</version> |
| 101 | + <version>${mvn-source.version}</version> |
86 | 102 | <executions> |
87 | 103 | <execution> |
88 | 104 | <id>attach-sources</id> |
|
95 | 111 | <plugin> |
96 | 112 | <groupId>org.apache.maven.plugins</groupId> |
97 | 113 | <artifactId>maven-surefire-plugin</artifactId> |
98 | | - <version>3.5.2</version> |
| 114 | + <version>${mvn-surefire.version}</version> |
99 | 115 | </plugin> |
100 | 116 | <plugin> |
101 | 117 | <artifactId>maven-javadoc-plugin</artifactId> |
102 | | - <version>3.11.2</version> |
| 118 | + <version>${mvn-javadoc.version}</version> |
103 | 119 | <executions> |
104 | 120 | <execution> |
105 | 121 | <id>attach-javadocs</id> |
|
162 | 178 | <plugins> |
163 | 179 | <plugin> |
164 | 180 | <artifactId>maven-gpg-plugin</artifactId> |
165 | | - <version>3.2.7</version> |
| 181 | + <version>${mvn-gpg.version}</version> |
166 | 182 | <executions> |
167 | 183 | <execution> |
168 | 184 | <id>sign-artifacts</id> |
|
194 | 210 | <plugin> |
195 | 211 | <groupId>org.sonatype.plugins</groupId> |
196 | 212 | <artifactId>nexus-staging-maven-plugin</artifactId> |
197 | | - <version>1.7.0</version> |
| 213 | + <version>${nexus-staging.version}</version> |
198 | 214 | <extensions>true</extensions> |
199 | 215 | <configuration> |
200 | 216 | <serverId>ossrh</serverId> |
|
0 commit comments