|
36 | 36 | </developer> |
37 | 37 | </developers> |
38 | 38 |
|
| 39 | + <scm> |
| 40 | + <connection>scm:git:git://github.com/ModelEngine-Group/fit-framework.git</connection> |
| 41 | + <developerConnection>scm:git:ssh://github.com/ModelEngine-Group/fit-framework.git</developerConnection> |
| 42 | + <url>https://github.com/ModelEngine-Group/fit-framework</url> |
| 43 | + </scm> |
| 44 | + |
39 | 45 | <properties> |
40 | 46 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
41 | 47 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
56 | 62 | <junit5.version>5.11.4</junit5.version> |
57 | 63 | <mockito.version>5.15.2</mockito.version> |
58 | 64 |
|
59 | | - <maven.compiler.version>3.11.0</maven.compiler.version> |
60 | | - <maven.surefire.version>3.1.2</maven.surefire.version> |
61 | | - <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version> |
| 65 | + <!-- Jacoco version --> |
| 66 | + <jacoco.version>0.8.10</jacoco.version> |
| 67 | + |
| 68 | + <!-- Maven plugin versions --> |
| 69 | + <maven.antrun.version>3.1.0</maven.antrun.version> |
| 70 | + <maven.compiler.version>3.14.0</maven.compiler.version> |
| 71 | + <maven.dependency.version>3.6.1</maven.dependency.version> |
| 72 | + <maven.jar.version>3.3.0</maven.jar.version> |
| 73 | + <maven.javadoc.version>3.11.2</maven.javadoc.version> |
| 74 | + <maven.surefire.version>3.2.5</maven.surefire.version> |
| 75 | + <maven.source.version>3.3.0</maven.source.version> |
62 | 76 | </properties> |
63 | 77 |
|
64 | 78 | <dependencies> |
|
178 | 192 | <artifactId>maven-compiler-plugin</artifactId> |
179 | 193 | <version>${maven.compiler.version}</version> |
180 | 194 | <configuration> |
181 | | - <source>1.8</source> |
182 | | - <target>1.8</target> |
| 195 | + <source>${java.version}</source> |
| 196 | + <target>${java.version}</target> |
| 197 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 198 | + <showWarnings>true</showWarnings> |
| 199 | + <showDeprecation>true</showDeprecation> |
183 | 200 | <compilerArgs> |
184 | 201 | <arg>-parameters</arg> |
185 | 202 | </compilerArgs> |
186 | 203 | </configuration> |
187 | 204 | </plugin> |
| 205 | + <plugin> |
| 206 | + <groupId>org.apache.maven.plugins</groupId> |
| 207 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 208 | + <version>${maven.javadoc.version}</version> |
| 209 | + <executions> |
| 210 | + <execution> |
| 211 | + <id>attach-javadocs</id> |
| 212 | + <goals> |
| 213 | + <goal>jar</goal> |
| 214 | + </goals> |
| 215 | + </execution> |
| 216 | + </executions> |
| 217 | + </plugin> |
| 218 | + <plugin> |
| 219 | + <groupId>org.apache.maven.plugins</groupId> |
| 220 | + <artifactId>maven-source-plugin</artifactId> |
| 221 | + <version>${maven.source.version}</version> |
| 222 | + <executions> |
| 223 | + <execution> |
| 224 | + <id>attach-sources</id> |
| 225 | + <goals> |
| 226 | + <goal>jar-no-fork</goal> |
| 227 | + </goals> |
| 228 | + </execution> |
| 229 | + </executions> |
| 230 | + </plugin> |
188 | 231 | <plugin> |
189 | 232 | <groupId>org.apache.maven.plugins</groupId> |
190 | 233 | <artifactId>maven-surefire-plugin</artifactId> |
|
193 | 236 | <plugin> |
194 | 237 | <groupId>org.jacoco</groupId> |
195 | 238 | <artifactId>jacoco-maven-plugin</artifactId> |
196 | | - <version>${jacoco-maven-plugin.version}</version> |
| 239 | + <version>${jacoco.version}</version> |
197 | 240 | <configuration> |
198 | 241 | <destFile>target/coverage-reports/jacoco-unit.exec</destFile> |
199 | 242 | <dataFile>target/coverage-reports/jacoco-unit.exec</dataFile> |
|
214 | 257 | </execution> |
215 | 258 | </executions> |
216 | 259 | </plugin> |
| 260 | + <plugin> |
| 261 | + <groupId>org.apache.maven.plugins</groupId> |
| 262 | + <artifactId>maven-gpg-plugin</artifactId> |
| 263 | + <version>3.0.1</version> |
| 264 | + <executions> |
| 265 | + <execution> |
| 266 | + <id>sign-artifacts</id> |
| 267 | + <phase>deploy</phase> |
| 268 | + <goals> |
| 269 | + <goal>sign</goal> |
| 270 | + </goals> |
| 271 | + </execution> |
| 272 | + </executions> |
| 273 | + </plugin> |
| 274 | + <plugin> |
| 275 | + <groupId>org.sonatype.central</groupId> |
| 276 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 277 | + <version>0.7.0</version> |
| 278 | + <extensions>true</extensions> |
| 279 | + <configuration> |
| 280 | + <publishingServerId>central</publishingServerId> |
| 281 | + </configuration> |
| 282 | + </plugin> |
217 | 283 | </plugins> |
218 | 284 | </build> |
219 | 285 | </project> |
0 commit comments