pom.xml
5,287 bytes
| 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <parent> |
| 8 | <groupId>org.springframework.boot</groupId> |
| 9 | <artifactId>spring-boot-starter-parent</artifactId> |
| 10 | <version>3.5.16</version> |
| 11 | <relativePath/> |
| 12 | </parent> |
| 13 | |
| 14 | <groupId>com.tasteprint</groupId> |
| 15 | <artifactId>tasteprint-backend</artifactId> |
| 16 | <version>0.1.0-SNAPSHOT</version> |
| 17 | <name>tasteprint-backend</name> |
| 18 | <description>Travel food passport and culinary coverage API</description> |
| 19 | |
| 20 | <properties> |
| 21 | <java.version>21</java.version> |
| 22 | <spring-modulith.version>1.4.12</spring-modulith.version> |
| 23 | <springdoc.version>2.8.14</springdoc.version> |
| 24 | <testcontainers.version>1.21.4</testcontainers.version> |
| 25 | </properties> |
| 26 | |
| 27 | <dependencyManagement> |
| 28 | <dependencies> |
| 29 | <dependency> |
| 30 | <groupId>org.springframework.modulith</groupId> |
| 31 | <artifactId>spring-modulith-bom</artifactId> |
| 32 | <version>${spring-modulith.version}</version> |
| 33 | <type>pom</type> |
| 34 | <scope>import</scope> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.testcontainers</groupId> |
| 38 | <artifactId>testcontainers-bom</artifactId> |
| 39 | <version>${testcontainers.version}</version> |
| 40 | <type>pom</type> |
| 41 | <scope>import</scope> |
| 42 | </dependency> |
| 43 | </dependencies> |
| 44 | </dependencyManagement> |
| 45 | |
| 46 | <dependencies> |
| 47 | <dependency> |
| 48 | <groupId>org.springframework.boot</groupId> |
| 49 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.springframework.boot</groupId> |
| 53 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.springframework.boot</groupId> |
| 57 | <artifactId>spring-boot-starter-security</artifactId> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.springframework.boot</groupId> |
| 61 | <artifactId>spring-boot-starter-validation</artifactId> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.springframework.boot</groupId> |
| 65 | <artifactId>spring-boot-starter-web</artifactId> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.springframework.modulith</groupId> |
| 69 | <artifactId>spring-modulith-starter-core</artifactId> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.flywaydb</groupId> |
| 73 | <artifactId>flyway-core</artifactId> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>org.flywaydb</groupId> |
| 77 | <artifactId>flyway-database-postgresql</artifactId> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.springdoc</groupId> |
| 81 | <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 82 | <version>${springdoc.version}</version> |
| 83 | </dependency> |
| 84 | |
| 85 | <dependency> |
| 86 | <groupId>com.h2database</groupId> |
| 87 | <artifactId>h2</artifactId> |
| 88 | <scope>runtime</scope> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.postgresql</groupId> |
| 92 | <artifactId>postgresql</artifactId> |
| 93 | <scope>runtime</scope> |
| 94 | </dependency> |
| 95 | |
| 96 | <dependency> |
| 97 | <groupId>org.springframework.boot</groupId> |
| 98 | <artifactId>spring-boot-starter-test</artifactId> |
| 99 | <scope>test</scope> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.springframework.security</groupId> |
| 103 | <artifactId>spring-security-test</artifactId> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>org.springframework.modulith</groupId> |
| 108 | <artifactId>spring-modulith-starter-test</artifactId> |
| 109 | <scope>test</scope> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.springframework.boot</groupId> |
| 113 | <artifactId>spring-boot-testcontainers</artifactId> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>org.testcontainers</groupId> |
| 118 | <artifactId>junit-jupiter</artifactId> |
| 119 | <scope>test</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.testcontainers</groupId> |
| 123 | <artifactId>postgresql</artifactId> |
| 124 | <scope>test</scope> |
| 125 | </dependency> |
| 126 | </dependencies> |
| 127 | |
| 128 | <build> |
| 129 | <plugins> |
| 130 | <plugin> |
| 131 | <groupId>org.springframework.boot</groupId> |
| 132 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 133 | </plugin> |
| 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-compiler-plugin</artifactId> |
| 137 | <configuration> |
| 138 | <parameters>true</parameters> |
| 139 | <release>${java.version}</release> |
| 140 | </configuration> |
| 141 | </plugin> |
| 142 | </plugins> |
| 143 | </build> |
| 144 | </project> |
| 145 | |