|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- ~ Copyright (C) open knowledge GmbH. ~ ~ Licensed under the Apache License, |
| 3 | + Version 2.0 (the "License"); you may not use this file except in compliance |
| 4 | + with ~ the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 5 | + ~ ~ Unless required by applicable law or agreed to in writing, software distributed |
| 6 | + under the License is distributed on ~ an "AS IS" BASIS, WITHOUT WARRANTIES |
| 7 | + OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
| 8 | + the ~ specific language governing permissions and limitations under the License. --> |
| 9 | + |
| 10 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 11 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 12 | + <modelVersion>4.0.0</modelVersion> |
| 13 | + |
| 14 | + <groupId>de.openkonwledge.sample.shop</groupId> |
| 15 | + <artifactId>checkout-service</artifactId> |
| 16 | + <version>1.0.0-SNAPSHOT</version> |
| 17 | + <packaging>war</packaging> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <service.name>online-shop</service.name> |
| 21 | + <maven.compiler.source>17</maven.compiler.source> |
| 22 | + <maven.compiler.target>17</maven.compiler.target> |
| 23 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 24 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 25 | + <meecrowave.version>1.2.13</meecrowave.version> |
| 26 | + <junit.version>5.8.2</junit.version> |
| 27 | + </properties> |
| 28 | + |
| 29 | + <dependencies> |
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>org.apache.meecrowave</groupId> |
| 33 | + <artifactId>meecrowave-specs-api</artifactId> |
| 34 | + <version>${meecrowave.version}</version> |
| 35 | + <scope>provided</scope> |
| 36 | + </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>org.apache.meecrowave</groupId> |
| 39 | + <artifactId>meecrowave-core</artifactId> |
| 40 | + <version>${meecrowave.version}</version> |
| 41 | + <scope>provided</scope> |
| 42 | + </dependency> |
| 43 | + <dependency> |
| 44 | + <groupId>org.thymeleaf</groupId> |
| 45 | + <artifactId>thymeleaf</artifactId> |
| 46 | + <version>3.0.14.RELEASE</version> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.apache.geronimo.specs</groupId> |
| 50 | + <artifactId>geronimo-validation_2.0_spec</artifactId> |
| 51 | + <version>1.0</version> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>org.apache.bval</groupId> |
| 55 | + <artifactId>bval-jsr</artifactId> |
| 56 | + <version>2.0.6</version> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.eclipse.microprofile.config</groupId> |
| 60 | + <artifactId>microprofile-config-api</artifactId> |
| 61 | + <version>1.3</version> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>org.apache.geronimo.config</groupId> |
| 65 | + <artifactId>geronimo-config-impl</artifactId> |
| 66 | + <version>1.2.2</version> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.eclipse.microprofile.openapi</groupId> |
| 70 | + <artifactId>microprofile-openapi-api</artifactId> |
| 71 | + <version>1.1.2</version> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>org.apache.geronimo</groupId> |
| 75 | + <artifactId>geronimo-openapi-impl</artifactId> |
| 76 | + <version>1.0.12</version> |
| 77 | + <scope>runtime</scope> |
| 78 | + </dependency> |
| 79 | + <dependency> |
| 80 | + <groupId>org.webjars</groupId> |
| 81 | + <artifactId>swagger-ui</artifactId> |
| 82 | + <version>5.4.2</version> |
| 83 | + <scope>runtime</scope> |
| 84 | + </dependency> |
| 85 | + |
| 86 | + <dependency> |
| 87 | + <groupId>org.apache.commons</groupId> |
| 88 | + <artifactId>commons-lang3</artifactId> |
| 89 | + <version>3.9</version> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>org.apache.commons</groupId> |
| 93 | + <artifactId>commons-io</artifactId> |
| 94 | + <version>1.3.2</version> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>org.hibernate.orm</groupId> |
| 98 | + <artifactId>hibernate-core</artifactId> |
| 99 | + <version>6.4.0.Final</version> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>org.slf4j</groupId> |
| 103 | + <artifactId>slf4j-simple</artifactId> |
| 104 | + <version>1.7.25</version> |
| 105 | + </dependency> |
| 106 | + <dependency> |
| 107 | + <groupId>org.postgresql</groupId> |
| 108 | + <artifactId>postgresql</artifactId> |
| 109 | + <version>42.7.0</version> |
| 110 | + </dependency> |
| 111 | + |
| 112 | + <dependency> |
| 113 | + <groupId>org.junit.jupiter</groupId> |
| 114 | + <artifactId>junit-jupiter-api</artifactId> |
| 115 | + <version>${junit.version}</version> |
| 116 | + <scope>test</scope> |
| 117 | + </dependency> |
| 118 | + <dependency> |
| 119 | + <groupId>org.junit.jupiter</groupId> |
| 120 | + <artifactId>junit-jupiter-engine</artifactId> |
| 121 | + <version>${junit.version}</version> |
| 122 | + <scope>test</scope> |
| 123 | + </dependency> |
| 124 | + <dependency> |
| 125 | + <groupId>org.assertj</groupId> |
| 126 | + <artifactId>assertj-core</artifactId> |
| 127 | + <version>3.22.0</version> |
| 128 | + <scope>test</scope> |
| 129 | + </dependency> |
| 130 | + <dependency> |
| 131 | + <groupId>org.apache.meecrowave</groupId> |
| 132 | + <artifactId>meecrowave-junit</artifactId> |
| 133 | + <version>${meecrowave.version}</version> |
| 134 | + <scope>test</scope> |
| 135 | + </dependency> |
| 136 | + <dependency> |
| 137 | + <groupId>org.testcontainers</groupId> |
| 138 | + <artifactId>junit-jupiter</artifactId> |
| 139 | + <version>1.19.3</version> |
| 140 | + <scope>test</scope> |
| 141 | + </dependency> |
| 142 | + <dependency> |
| 143 | + <groupId>org.testcontainers</groupId> |
| 144 | + <artifactId>postgresql</artifactId> |
| 145 | + <version>1.19.3</version> |
| 146 | + <scope>test</scope> |
| 147 | + </dependency> |
| 148 | + <dependency> |
| 149 | + <groupId>org.flywaydb</groupId> |
| 150 | + <artifactId>flyway-core</artifactId> |
| 151 | + <version>9.21.0</version> |
| 152 | + <scope>test</scope> |
| 153 | + </dependency> |
| 154 | + <dependency> |
| 155 | + <groupId>au.com.dius.pact.consumer</groupId> |
| 156 | + <artifactId>junit5</artifactId> |
| 157 | + <version>4.3.15</version> |
| 158 | + <scope>test</scope> |
| 159 | + </dependency> |
| 160 | + <dependency> |
| 161 | + <groupId>au.com.dius.pact.provider</groupId> |
| 162 | + <artifactId>junit5</artifactId> |
| 163 | + <version>4.3.15</version> |
| 164 | + <scope>test</scope> |
| 165 | + </dependency> |
| 166 | + </dependencies> |
| 167 | + <build> |
| 168 | + <finalName>${project.artifactId}</finalName> |
| 169 | + <plugins> |
| 170 | + <plugin> |
| 171 | + <groupId>org.apache.maven.plugins</groupId> |
| 172 | + <artifactId>maven-surefire-plugin</artifactId> |
| 173 | + <version>3.1.2</version> |
| 174 | + <configuration> |
| 175 | + <systemPropertyVariables> |
| 176 | + <org.apache.geronimo.config.configsource.SystemPropertyConfigSource.copy>false</org.apache.geronimo.config.configsource.SystemPropertyConfigSource.copy> |
| 177 | + </systemPropertyVariables> |
| 178 | + </configuration> |
| 179 | + </plugin> |
| 180 | + <plugin> |
| 181 | + <groupId>org.apache.maven.plugins</groupId> |
| 182 | + <artifactId>maven-war-plugin</artifactId> |
| 183 | + <version>3.4.0</version> |
| 184 | + </plugin> |
| 185 | + <plugin> |
| 186 | + <groupId>org.apache.maven.plugins</groupId> |
| 187 | + <artifactId>maven-dependency-plugin</artifactId> |
| 188 | + <version>3.6.1</version> |
| 189 | + <executions> |
| 190 | + <execution> |
| 191 | + <id>copy-runner</id> |
| 192 | + <phase>package</phase> |
| 193 | + <goals> |
| 194 | + <goal>copy</goal> |
| 195 | + </goals> |
| 196 | + <configuration> |
| 197 | + <artifactItems> |
| 198 | + <artifactItem> |
| 199 | + <groupId>org.apache.meecrowave</groupId> |
| 200 | + <artifactId>meecrowave-core</artifactId> |
| 201 | + <version>${meecrowave-version}</version> |
| 202 | + <classifier>runner</classifier> |
| 203 | + </artifactItem> |
| 204 | + </artifactItems> |
| 205 | + <outputDirectory>${project.build.directory}/runner</outputDirectory> |
| 206 | + <stripVersion>true</stripVersion> |
| 207 | + </configuration> |
| 208 | + </execution> |
| 209 | + </executions> |
| 210 | + </plugin> |
| 211 | + <plugin> |
| 212 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 213 | + <version>3.4.0</version> |
| 214 | + <configuration> |
| 215 | + <headerLocation>${project.basedir}/src/main/checkstyle/java.header</headerLocation> |
| 216 | + <failsOnError>true</failsOnError> |
| 217 | + <consoleOutput>true</consoleOutput> |
| 218 | + </configuration> |
| 219 | + <executions> |
| 220 | + <execution> |
| 221 | + <id>compile</id> |
| 222 | + <phase>compile</phase> |
| 223 | + <goals> |
| 224 | + <goal>checkstyle</goal> |
| 225 | + </goals> |
| 226 | + <configuration> |
| 227 | + <configLocation>${project.basedir}/src/main/checkstyle/configuration.xml</configLocation> |
| 228 | + <includeTestSourceDirectory>false</includeTestSourceDirectory> |
| 229 | + </configuration> |
| 230 | + </execution> |
| 231 | + <execution> |
| 232 | + <id>test-compile</id> |
| 233 | + <phase>test-compile</phase> |
| 234 | + <goals> |
| 235 | + <goal>checkstyle</goal> |
| 236 | + </goals> |
| 237 | + <configuration> |
| 238 | + <configLocation>${project.basedir}/src/main/checkstyle/test-configuration.xml</configLocation> |
| 239 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 240 | + </configuration> |
| 241 | + </execution> |
| 242 | + </executions> |
| 243 | + </plugin> |
| 244 | + </plugins> |
| 245 | + </build> |
| 246 | +</project> |
0 commit comments