pom.xml (4002B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <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"> 3 <modelVersion>4.0.0</modelVersion> 4 5 <groupId>fr.kevincorvisier.mtg</groupId> 6 <artifactId>decks-downloader</artifactId> 7 <version>0.2.0-SNAPSHOT</version> 8 9 <properties> 10 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 11 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 12 <maven.compiler.target>17</maven.compiler.target> 13 <maven.compiler.source>17</maven.compiler.source> 14 15 <htmlunit-driver.version>4.13.0</htmlunit-driver.version> 16 <junit.version>5.13.0</junit.version> 17 <logback.version>1.5.18</logback.version> 18 <lombok.version>1.18.38</lombok.version> 19 <sqlite-jdbc.version>3.49.1.0</sqlite-jdbc.version> 20 <spring.version>6.2.7</spring.version> 21 </properties> 22 23 <dependencyManagement> 24 <dependencies> 25 <dependency> 26 <groupId>org.junit</groupId> 27 <artifactId>junit-bom</artifactId> 28 <version>${junit.version}</version> 29 <type>pom</type> 30 <scope>import</scope> 31 </dependency> 32 33 <dependency> 34 <groupId>org.springframework</groupId> 35 <artifactId>spring-framework-bom</artifactId> 36 <version>${spring.version}</version> 37 <type>pom</type> 38 <scope>import</scope> 39 </dependency> 40 </dependencies> 41 </dependencyManagement> 42 43 <dependencies> 44 <dependency> 45 <groupId>fr.kevincorvisier.mtg</groupId> 46 <artifactId>utils</artifactId> 47 <version>0.0.1-SNAPSHOT</version> 48 </dependency> 49 50 <dependency> 51 <groupId>org.springframework</groupId> 52 <artifactId>spring-context</artifactId> 53 </dependency> 54 55 <!--HtmlUnit Driver --> 56 <dependency> 57 <groupId>org.seleniumhq.selenium</groupId> 58 <artifactId>htmlunit-driver</artifactId> 59 <version>${htmlunit-driver.version}</version> 60 </dependency> 61 <dependency> 62 <groupId>jakarta.validation</groupId> 63 <artifactId>jakarta.validation-api</artifactId> 64 <version>3.1.1</version> 65 </dependency> 66 67 <dependency> 68 <groupId>ch.qos.logback</groupId> 69 <artifactId>logback-core</artifactId> 70 <version>${logback.version}</version> 71 </dependency> 72 <dependency> 73 <groupId>ch.qos.logback</groupId> 74 <artifactId>logback-classic</artifactId> 75 <version>${logback.version}</version> 76 </dependency> 77 78 <dependency> 79 <groupId>org.xerial</groupId> 80 <artifactId>sqlite-jdbc</artifactId> 81 <version>${sqlite-jdbc.version}</version> 82 </dependency> 83 84 <!-- Project Lombok --> 85 <dependency> 86 <groupId>org.projectlombok</groupId> 87 <artifactId>lombok</artifactId> 88 <version>${lombok.version}</version> 89 <scope>provided</scope> 90 </dependency> 91 92 <!-- Unit tests --> 93 <dependency> 94 <groupId>org.junit.jupiter</groupId> 95 <artifactId>junit-jupiter-api</artifactId> 96 <scope>test</scope> 97 </dependency> 98 <dependency> 99 <groupId>org.junit.jupiter</groupId> 100 <artifactId>junit-jupiter-engine</artifactId> 101 <scope>test</scope> 102 </dependency> 103 </dependencies> 104 105 <build> 106 <plugins> 107 <plugin> 108 <groupId>org.codehaus.mojo</groupId> 109 <artifactId>build-helper-maven-plugin</artifactId> 110 <version>3.6.0</version> 111 <executions> 112 <execution> 113 <goals> 114 <goal>add-resource</goal> 115 </goals> 116 <configuration> 117 <resources> 118 <resource> 119 <directory>src/main/packaged-resources/cfg</directory> 120 </resource> 121 </resources> 122 </configuration> 123 </execution> 124 </executions> 125 </plugin> 126 127 <plugin> 128 <artifactId>maven-assembly-plugin</artifactId> 129 <configuration> 130 <descriptors> 131 <descriptor>src/assembly/assembly.xml</descriptor> 132 </descriptors> 133 <appendAssemblyId>false</appendAssemblyId> 134 </configuration> 135 <executions> 136 <execution> 137 <phase>package</phase> 138 <goals> 139 <goal>single</goal> 140 </goals> 141 </execution> 142 </executions> 143 </plugin> 144 </plugins> 145 </build> 146 </project>