|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <artifactId>tools</artifactId> |
| 7 | + <version>1.0.0</version> |
| 8 | + <groupId>dev.playground</groupId> |
| 9 | + |
| 10 | + <properties> |
| 11 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 12 | + <maven.compiler.source>21</maven.compiler.source> |
| 13 | + <maven.compiler.target>21</maven.compiler.target> |
| 14 | + <mainClass>dev.playground.tools.IndexJson</mainClass> |
| 15 | + <junit.version>5.9.2</junit.version> |
| 16 | + </properties> |
| 17 | + |
| 18 | + <dependencies> |
| 19 | + <dependency> |
| 20 | + <groupId>org.junit.jupiter</groupId> |
| 21 | + <artifactId>junit-jupiter</artifactId> |
| 22 | + <version>${junit.version}</version> |
| 23 | + <scope>compile</scope> |
| 24 | + </dependency> |
| 25 | + <dependency> |
| 26 | + <groupId>org.junit.jupiter</groupId> |
| 27 | + <artifactId>junit-jupiter-engine</artifactId> |
| 28 | + <version>${junit.version}</version> |
| 29 | + <scope>compile</scope> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.junit.jupiter</groupId> |
| 33 | + <artifactId>junit-jupiter-api</artifactId> |
| 34 | + <version>${junit.version}</version> |
| 35 | + <scope>compile</scope> |
| 36 | + </dependency> |
| 37 | + </dependencies> |
| 38 | + |
| 39 | + <build> |
| 40 | + <plugins> |
| 41 | + <plugin> |
| 42 | + <artifactId>maven-jar-plugin</artifactId> |
| 43 | + <version>3.0.2</version> |
| 44 | + <configuration> |
| 45 | + <archive> |
| 46 | + <manifest> |
| 47 | + <addClasspath>true</addClasspath> |
| 48 | + <mainClass>${mainClass}</mainClass> |
| 49 | + </manifest> |
| 50 | + </archive> |
| 51 | + </configuration> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-compiler-plugin</artifactId> |
| 56 | + <version>3.11.0</version> |
| 57 | + <configuration> |
| 58 | + <source>${maven.compiler.source}</source> |
| 59 | + <target>${maven.compiler.target}</target> |
| 60 | + </configuration> |
| 61 | + </plugin> |
| 62 | + <plugin> |
| 63 | + <groupId>org.apache.maven.plugins</groupId> |
| 64 | + <artifactId>maven-surefire-plugin</artifactId> |
| 65 | + <version>2.22.1</version> |
| 66 | + </plugin> |
| 67 | + </plugins> |
| 68 | + </build> |
| 69 | +</project> |
0 commit comments