pom.xml (2426B)
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 <groupId>com.wimdupont</groupId> 7 <artifactId>WordStudent</artifactId> 8 <version>1.0-SNAPSHOT</version> 9 10 <properties> 11 <maven.compiler.source>21</maven.compiler.source> 12 <maven.compiler.target>21</maven.compiler.target> 13 </properties> 14 15 <dependencies> 16 <dependency> 17 <groupId>com.fasterxml.jackson.core</groupId> 18 <artifactId>jackson-databind</artifactId> 19 <version>2.17.1</version> 20 </dependency> 21 </dependencies> 22 <build> 23 <plugins> 24 <plugin> 25 <groupId>org.apache.maven.plugins</groupId> 26 <artifactId>maven-dependency-plugin</artifactId> 27 <executions> 28 <execution> 29 <id>copy-dependencies</id> 30 <phase>prepare-package</phase> 31 <goals> 32 <goal>copy-dependencies</goal> 33 </goals> 34 <configuration> 35 <outputDirectory>${project.build.directory}/lib</outputDirectory> 36 <overWriteReleases>false</overWriteReleases> 37 <overWriteSnapshots>false</overWriteSnapshots> 38 <overWriteIfNewer>true</overWriteIfNewer> 39 </configuration> 40 </execution> 41 </executions> 42 </plugin> 43 <plugin> 44 <groupId>org.apache.maven.plugins</groupId> 45 <artifactId>maven-jar-plugin</artifactId> 46 <configuration> 47 <archive> 48 <manifest> 49 <addClasspath>true</addClasspath> 50 <classpathPrefix>lib/</classpathPrefix> 51 <mainClass> 52 com.wimdupont.WordStudentApplication 53 </mainClass> 54 </manifest> 55 </archive> 56 </configuration> 57 </plugin> 58 </plugins> 59 </build> 60 </project>