|
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"> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project |
| 3 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 6 | <modelVersion>4.0.0</modelVersion> |
4 | 7 |
|
5 | 8 | <groupId>org.commoncrawl</groupId> |
|
25 | 28 | <junit.version>5.13.2</junit.version> |
26 | 29 | </properties> |
27 | 30 |
|
28 | | - <build> |
29 | | - <resources> |
30 | | - <resource> |
31 | | - <directory>src/main/resources</directory> |
32 | | - </resource> |
33 | | - </resources> |
34 | | - <plugins> |
35 | | - <plugin> |
36 | | - <artifactId>maven-compiler-plugin</artifactId> |
37 | | - <version>3.14.0</version> |
38 | | - <configuration> |
39 | | - <source>${java.version}</source> |
40 | | - <target>${java.version}</target> |
41 | | - </configuration> |
42 | | - </plugin> |
43 | | - <plugin> |
44 | | - <artifactId>maven-assembly-plugin</artifactId> |
45 | | - <version>3.7.1</version> |
46 | | - <configuration> |
47 | | - <descriptorRefs> |
48 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
49 | | - </descriptorRefs> |
50 | | - <finalName>cc-webgraph-${project.version}</finalName> |
51 | | - </configuration> |
52 | | - <executions> |
53 | | - <execution> |
54 | | - <phase>package</phase> |
55 | | - <goals> |
56 | | - <goal>single</goal> |
57 | | - </goals> |
58 | | - </execution> |
59 | | - </executions> |
60 | | - </plugin> |
61 | | - <plugin> |
62 | | - <artifactId>maven-surefire-plugin</artifactId> |
63 | | - <version>3.5.2</version> |
64 | | - </plugin> |
65 | | - <plugin> |
66 | | - <groupId>org.apache.maven.plugins</groupId> |
67 | | - <artifactId>maven-enforcer-plugin</artifactId> |
68 | | - <version>3.5.0</version> |
69 | | - <executions> |
70 | | - <execution> |
71 | | - <id>enforce-maven</id> |
72 | | - <goals> |
73 | | - <goal>enforce</goal> |
74 | | - </goals> |
75 | | - <configuration> |
76 | | - <rules> |
77 | | - <requireMavenVersion> |
78 | | - <version>3.6.3</version> |
79 | | - </requireMavenVersion> |
80 | | - </rules> |
81 | | - </configuration> |
82 | | - </execution> |
83 | | - </executions> |
84 | | - </plugin> |
85 | | - </plugins> |
86 | | - </build> |
87 | | - |
88 | | - |
89 | | - |
90 | 31 | <dependencyManagement> |
91 | 32 | <dependencies> |
92 | 33 | <dependency> |
|
248 | 189 | </dependency> |
249 | 190 |
|
250 | 191 | </dependencies> |
| 192 | + |
| 193 | + <build> |
| 194 | + <resources> |
| 195 | + <resource> |
| 196 | + <directory>src/main/resources</directory> |
| 197 | + </resource> |
| 198 | + </resources> |
| 199 | + <plugins> |
| 200 | + <plugin> |
| 201 | + <artifactId>maven-compiler-plugin</artifactId> |
| 202 | + <version>3.14.0</version> |
| 203 | + <configuration> |
| 204 | + <source>${java.version}</source> |
| 205 | + <target>${java.version}</target> |
| 206 | + </configuration> |
| 207 | + </plugin> |
| 208 | + <plugin> |
| 209 | + <artifactId>maven-assembly-plugin</artifactId> |
| 210 | + <version>3.7.1</version> |
| 211 | + <configuration> |
| 212 | + <descriptorRefs> |
| 213 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 214 | + </descriptorRefs> |
| 215 | + <finalName>cc-webgraph-${project.version}</finalName> |
| 216 | + </configuration> |
| 217 | + <executions> |
| 218 | + <execution> |
| 219 | + <goals> |
| 220 | + <goal>single</goal> |
| 221 | + </goals> |
| 222 | + <phase>package</phase> |
| 223 | + </execution> |
| 224 | + </executions> |
| 225 | + </plugin> |
| 226 | + <plugin> |
| 227 | + <artifactId>maven-surefire-plugin</artifactId> |
| 228 | + <version>3.5.2</version> |
| 229 | + </plugin> |
| 230 | + <plugin> |
| 231 | + <groupId>org.apache.maven.plugins</groupId> |
| 232 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 233 | + <version>3.5.0</version> |
| 234 | + <executions> |
| 235 | + <execution> |
| 236 | + <id>enforce-maven</id> |
| 237 | + <goals> |
| 238 | + <goal>enforce</goal> |
| 239 | + </goals> |
| 240 | + <configuration> |
| 241 | + <rules> |
| 242 | + <requireMavenVersion> |
| 243 | + <version>3.6.3</version> |
| 244 | + </requireMavenVersion> |
| 245 | + </rules> |
| 246 | + </configuration> |
| 247 | + </execution> |
| 248 | + </executions> |
| 249 | + </plugin> |
| 250 | + <plugin> |
| 251 | + <groupId>com.diffplug.spotless</groupId> |
| 252 | + <artifactId>spotless-maven-plugin</artifactId> |
| 253 | + <version>2.46.1</version> |
| 254 | + <configuration> |
| 255 | + <pom> |
| 256 | + <!-- These are the defaults, you can override if you want --> |
| 257 | + <includes> |
| 258 | + <include>pom.xml</include> |
| 259 | + </includes> |
| 260 | + <sortPom> |
| 261 | + <indentAttribute>all</indentAttribute> |
| 262 | + <keepBlankLines>true</keepBlankLines> |
| 263 | + <expandEmptyElements>false</expandEmptyElements> |
| 264 | + <nrOfIndentSpace>-1</nrOfIndentSpace> |
| 265 | + <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> |
| 266 | + </sortPom> |
| 267 | + </pom> |
| 268 | + <java> |
| 269 | + <eclipse> |
| 270 | + <file>${project.basedir}/eclipse-formatter.xml</file> |
| 271 | + </eclipse> |
| 272 | + </java> |
| 273 | + </configuration> |
| 274 | + </plugin> |
| 275 | + </plugins> |
| 276 | + </build> |
251 | 277 | </project> |
0 commit comments