-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
149 lines (138 loc) · 6.16 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.rohit-walia</groupId>
<artifactId>jackson-helper</artifactId>
<version>2.0.8</version>
<packaging>pom</packaging>
<modules>
<module>jacksonhelper</module>
</modules>
<properties>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.version>3.10.1</maven.compiler.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- project properties -->
<skipBuildInfo>true</skipBuildInfo>
<skipTests>false</skipTests>
<skipChecks>false</skipChecks>
<!-- code quality -->
<pmd.version>6.51.0</pmd.version>
<maven-pmd-plugin.version>3.19.0</maven-pmd-plugin.version>
<checkstyle.version>10.4</checkstyle.version>
<maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version>
<spotbugs.version>4.7.3</spotbugs.version>
<!-- plugin versions -->
<maven.surefire.version>3.0.0-M9</maven.surefire.version>
<maven.source.plugin.version>3.3.0</maven.source.plugin.version>
<maven.javadoc.plugin.version>3.6.3</maven.javadoc.plugin.version>
<maven-central-publishing.version>0.4.0</maven-central-publishing.version>
<maven-gpg.version>1.6</maven-gpg.version>
<logback.version>1.5.3</logback.version>
<jackson.version>2.16.1</jackson.version>
<lombok.version>1.18.30</lombok.version>
<junit-jupiter.version>5.10.1</junit-jupiter.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
<configuration>
<skip>${skipChecks}</skip>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<configLocation>../jackson-helper/.codequality/checkstyle.xml</configLocation>
<suppressionsLocation>.codequality/checkstyle-suppressions.xml</suppressionsLocation>
<failOnViolation>true</failOnViolation>
<maxAllowedViolations>0</maxAllowedViolations>
<logViolationsToConsole>true</logViolationsToConsole>
</configuration>
<executions>
<execution>
<id>default-check</id>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Check source problems -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${maven-pmd-plugin.version}</version>
<dependencies>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>${pmd.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>${pmd.version}</version>
</dependency>
</dependencies>
<configuration>
<skip>${skipChecks}</skip>
<linkXRef>false</linkXRef>
<excludeRoots>
<excludeRoot>target/generated-sources/</excludeRoot>
</excludeRoots>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<id>default check</id>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>FullBuild</id>
<properties>
<skipTests>false</skipTests>
<skipChecks>false</skipChecks>
<skipBuildInfo>false</skipBuildInfo>
</properties>
</profile>
<profile>
<id>FastBuild</id>
<properties>
<skipTests>true</skipTests>
<skipChecks>true</skipChecks>
<skipBuildInfo>true</skipBuildInfo>
</properties>
</profile>
</profiles>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/rohit-walia/jackson-helper</url>
</repository>
</distributionManagement>
</project>