|
6 | 6 |
|
7 | 7 | <groupId>io.github.officiallysingh</groupId>
|
8 | 8 | <artifactId>spring-boot-problem-handler</artifactId>
|
9 |
| - <version>1.3</version> |
| 9 | + <version>1.4</version> |
10 | 10 | <name>spring-boot-problem-handler</name>
|
11 | 11 | <description>Commons exception handler library</description>
|
12 | 12 | <url>https://github.com/officiallysingh/spring-boot-problem-handler</url>
|
|
42 | 42 | <failsafe.version>2.4.4</failsafe.version>
|
43 | 43 | <junit.jupiter.version>5.9.1</junit.jupiter.version>
|
44 | 44 |
|
| 45 | + <scm.connection>scm:git:git@github.com:officiallysingh/spring-boot-problem-handler.git</scm.connection> |
45 | 46 | <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
|
46 | 47 | <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
47 | 48 | <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
|
48 | 49 | <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
|
49 | 50 | <maven-release-plugin.version>3.0.0-M1</maven-release-plugin.version>
|
50 | 51 | <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
|
51 |
| - <scm.connection>scm:git:git@github.com:officiallysingh/spring-boot-problem-handler.git</scm.connection> |
| 52 | + <maven-checkstyle-plugin.version>3.3.0</maven-checkstyle-plugin.version> |
| 53 | + <formatter-maven-plugin.version>2.23.0</formatter-maven-plugin.version> |
52 | 54 |
|
53 | 55 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
54 |
| - <maven.compiler.source>17</maven.compiler.source> |
55 |
| - <maven.compiler.target>17</maven.compiler.target> |
| 56 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 57 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
56 | 58 | </properties>
|
57 | 59 |
|
58 | 60 | <dependencyManagement>
|
|
169 | 171 |
|
170 | 172 | <build>
|
171 | 173 | <plugins>
|
| 174 | + <!-- Format code --> |
| 175 | + <plugin> |
| 176 | + <groupId>net.revelc.code.formatter</groupId> |
| 177 | + <artifactId>formatter-maven-plugin</artifactId> |
| 178 | + <version>${formatter-maven-plugin.version}</version> |
| 179 | + <configuration> |
| 180 | + <configFile> |
| 181 | + ${project.basedir}/tooling/eclipse-code-formatter.xml</configFile> |
| 182 | + <includes> |
| 183 | + <include>**/*.java</include> |
| 184 | + <include>pom.xml</include> |
| 185 | + </includes> |
| 186 | + <!-- <excludes>--> |
| 187 | + <!-- <exclude>**/*Test.java</exclude>--> |
| 188 | + <!-- </excludes>--> |
| 189 | + </configuration> |
| 190 | + <executions> |
| 191 | + <execution> |
| 192 | + <goals> |
| 193 | + <goal>format</goal> |
| 194 | + </goals> |
| 195 | + </execution> |
| 196 | + </executions> |
| 197 | + </plugin> |
| 198 | + |
| 199 | + <!-- Apply checkstyle --> |
| 200 | + <!-- <plugin>--> |
| 201 | + <!-- <groupId>org.apache.maven.plugins</groupId>--> |
| 202 | + <!-- <artifactId>maven-checkstyle-plugin</artifactId>--> |
| 203 | + <!-- <version>${maven-checkstyle-plugin.version}</version>--> |
| 204 | + <!-- <configuration>--> |
| 205 | + <!-- <configLocation>${project.basedir}/tooling/checkstyle.xml</configLocation>--> |
| 206 | + <!-- <suppressionsLocation>--> |
| 207 | + <!-- ${project.basedir}/tooling/checkstyle-suppressions.xml</suppressionsLocation>--> |
| 208 | + <!-- <excludes>**/package-info.java</excludes>--> |
| 209 | + <!-- <includeTestSourceDirectory>true</includeTestSourceDirectory>--> |
| 210 | + <!-- <skip>true</skip>--> |
| 211 | + <!-- </configuration>--> |
| 212 | + <!-- <executions>--> |
| 213 | + <!-- <execution>--> |
| 214 | + <!-- <goals>--> |
| 215 | + <!-- <goal>check</goal>--> |
| 216 | + <!-- </goals>--> |
| 217 | + <!-- </execution>--> |
| 218 | + <!-- </executions>--> |
| 219 | + <!-- </plugin>--> |
| 220 | + |
172 | 221 | <plugin>
|
173 | 222 | <groupId>org.apache.maven.plugins</groupId>
|
174 | 223 | <artifactId>maven-release-plugin</artifactId>
|
|
0 commit comments