|
1 | | -<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"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | 4 |
|
4 | 5 | <parent> |
|
14 | 15 |
|
15 | 16 | <name>openapi-diff</name> |
16 | 17 | <description>Utility for comparing two OpenAPI specifications.</description> |
17 | | - <url>http://maven.apache.org</url> |
18 | 18 |
|
19 | 19 | <licenses> |
20 | 20 | <license> |
|
51 | 51 | </distributionManagement> |
52 | 52 |
|
53 | 53 | <properties> |
| 54 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 55 | + <maven.compiler.target>1.8</maven.compiler.target> |
54 | 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 57 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
55 | 58 | <project.scm.id>github</project.scm.id> |
56 | | - <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> |
57 | | - <junit.jupiter.version>5.6.2</junit.jupiter.version> |
58 | | - <junit.platform.version>1.3.2</junit.platform.version> |
59 | | - <assertj-core.version>3.15.0</assertj-core.version> |
| 59 | + |
60 | 60 | <swagger-parser.version>2.0.17</swagger-parser.version> |
| 61 | + <slf4j.version>1.7.30</slf4j.version> |
61 | 62 | </properties> |
62 | 63 |
|
| 64 | + <dependencyManagement> |
| 65 | + <dependencies> |
| 66 | + <dependency> |
| 67 | + <groupId>org.junit</groupId> |
| 68 | + <artifactId>junit-bom</artifactId> |
| 69 | + <version>5.6.2</version> |
| 70 | + <type>pom</type> |
| 71 | + <scope>import</scope> |
| 72 | + </dependency> |
| 73 | + </dependencies> |
| 74 | + </dependencyManagement> |
| 75 | + |
63 | 76 | <dependencies> |
64 | 77 | <dependency> |
65 | 78 | <groupId>io.swagger.parser.v3</groupId> |
|
83 | 96 | </dependency> |
84 | 97 | <dependency> |
85 | 98 | <groupId>org.junit.jupiter</groupId> |
86 | | - <artifactId>junit-jupiter-engine</artifactId> |
87 | | - <version>${junit.jupiter.version}</version> |
88 | | - <scope>test</scope> |
89 | | - </dependency> |
90 | | - <dependency> |
91 | | - <groupId>org.junit.jupiter</groupId> |
92 | | - <artifactId>junit-jupiter-api</artifactId> |
93 | | - <version>${junit.jupiter.version}</version> |
94 | | - <scope>test</scope> |
95 | | - </dependency> |
96 | | - <dependency> |
97 | | - <groupId>org.junit.platform</groupId> |
98 | | - <artifactId>junit-platform-runner</artifactId> |
99 | | - <version>${junit.platform.version}</version> |
100 | | - <scope>test</scope> |
101 | | - </dependency> |
102 | | - <dependency> |
103 | | - <groupId>org.junit.platform</groupId> |
104 | | - <artifactId>junit-platform-launcher</artifactId> |
105 | | - <version>${junit.platform.version}</version> |
| 99 | + <artifactId>junit-jupiter</artifactId> |
106 | 100 | <scope>test</scope> |
107 | 101 | </dependency> |
108 | 102 | <dependency> |
109 | 103 | <groupId>org.assertj</groupId> |
110 | 104 | <artifactId>assertj-core</artifactId> |
111 | | - <version>${assertj-core.version}</version> |
| 105 | + <version>3.15.0</version> |
112 | 106 | <scope>test</scope> |
113 | 107 | </dependency> |
114 | 108 | <dependency> |
|
124 | 118 | <dependency> |
125 | 119 | <groupId>org.slf4j</groupId> |
126 | 120 | <artifactId>slf4j-api</artifactId> |
127 | | - <version>1.7.30</version> |
| 121 | + <version>${slf4j.version}</version> |
128 | 122 | </dependency> |
129 | 123 | <dependency> |
130 | 124 | <groupId>org.slf4j</groupId> |
131 | 125 | <artifactId>slf4j-log4j12</artifactId> |
132 | | - <version>1.7.30</version> |
| 126 | + <version>${slf4j.version}</version> |
133 | 127 | </dependency> |
134 | 128 | <dependency> |
135 | 129 | <groupId>commons-httpclient</groupId> |
|
140 | 134 | <groupId>org.projectlombok</groupId> |
141 | 135 | <artifactId>lombok</artifactId> |
142 | 136 | <version>1.18.12</version> |
| 137 | + <scope>provided</scope> |
143 | 138 | </dependency> |
144 | 139 | </dependencies> |
145 | 140 |
|
|
159 | 154 | <artifactId>maven-gpg-plugin</artifactId> |
160 | 155 | <version>1.6</version> |
161 | 156 | <configuration> |
162 | | - <configuration> |
163 | | - <gpgArguments> |
164 | | - <arg>--pinentry-mode</arg> |
165 | | - <arg>loopback</arg> |
166 | | - </gpgArguments> |
167 | | - </configuration> |
| 157 | + <gpgArguments> |
| 158 | + <arg>--pinentry-mode</arg> |
| 159 | + <arg>loopback</arg> |
| 160 | + </gpgArguments> |
168 | 161 | </configuration> |
169 | 162 | <executions> |
170 | 163 | <execution> |
|
183 | 176 | <build> |
184 | 177 | <plugins> |
185 | 178 | <plugin> |
| 179 | + <groupId>org.apache.maven.plugins</groupId> |
186 | 180 | <artifactId>maven-compiler-plugin</artifactId> |
187 | | - <configuration> |
188 | | - <source>1.8</source> |
189 | | - <target>1.8</target> |
190 | | - <encoding>UTF-8</encoding> |
191 | | - </configuration> |
192 | 181 | <version>3.8.1</version> |
193 | 182 | </plugin> |
194 | 183 | <plugin> |
|
209 | 198 | <artifactId>maven-release-plugin</artifactId> |
210 | 199 | <version>2.5.3</version> |
211 | 200 | <configuration> |
212 | | - <!--<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>--> |
213 | 201 | <tagNameFormat>@{project.version}</tagNameFormat> |
214 | 202 | <autoVersionSubmodules>true</autoVersionSubmodules> |
215 | 203 | <releaseProfiles>releases</releaseProfiles> |
216 | | - <!--<localCheckout>true</localCheckout>--> |
217 | | - <!--<pushChanges>false</pushChanges>--> |
218 | 204 | </configuration> |
219 | 205 | </plugin> |
220 | 206 | <!-- Javadoc --> |
|
239 | 225 | </executions> |
240 | 226 | </plugin> |
241 | 227 | <plugin> |
| 228 | + <groupId>org.apache.maven.plugins</groupId> |
242 | 229 | <artifactId>maven-assembly-plugin</artifactId> |
243 | 230 | <configuration> |
244 | 231 | <archive> |
|
263 | 250 | <plugin> |
264 | 251 | <groupId>org.apache.maven.plugins</groupId> |
265 | 252 | <artifactId>maven-surefire-plugin</artifactId> |
266 | | - <version>${maven-surefire-plugin.version}</version> |
267 | | - <configuration> |
268 | | - <includes> |
269 | | - <include>**/Test*.java</include> |
270 | | - <include>**/*Test.java</include> |
271 | | - <include>**/*Tests.java</include> |
272 | | - <include>**/*TestCase.java</include> |
273 | | - </includes> |
274 | | - <useSystemClassLoader>false</useSystemClassLoader> |
275 | | - </configuration> |
276 | | - <dependencies> |
277 | | - <dependency> |
278 | | - <groupId>org.junit.platform</groupId> |
279 | | - <artifactId>junit-platform-surefire-provider</artifactId> |
280 | | - <version>${junit.platform.version}</version> |
281 | | - </dependency> |
282 | | - <dependency> |
283 | | - <groupId>org.junit.jupiter</groupId> |
284 | | - <artifactId>junit-jupiter-engine</artifactId> |
285 | | - <version>${junit.jupiter.version}</version> |
286 | | - </dependency> |
287 | | - </dependencies> |
| 253 | + <version>2.22.2</version> |
288 | 254 | </plugin> |
289 | 255 | <plugin> |
290 | 256 | <groupId>com.coveo</groupId> |
|
0 commit comments