|
| 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 | + <artifactId>spring-boot-4</artifactId> |
| 7 | + <version>0.0.1-SNAPSHOT</version> |
| 8 | + <name>spring-boot-4</name> |
| 9 | + <description>Demo project for Spring Boot</description> |
| 10 | + |
| 11 | + <parent> |
| 12 | + <groupId>com.baeldung.spring-boot-modules</groupId> |
| 13 | + <artifactId>spring-boot-modules</artifactId> |
| 14 | + <version>1.0.0-SNAPSHOT</version> |
| 15 | + </parent> |
| 16 | + |
| 17 | +<dependencies> |
| 18 | + <dependency> |
| 19 | + <groupId>org.springframework.boot</groupId> |
| 20 | + <artifactId>spring-boot-devtools</artifactId> |
| 21 | + <scope>runtime</scope> |
| 22 | + <optional>true</optional> |
| 23 | + </dependency> |
| 24 | + <dependency> |
| 25 | + <groupId>org.springframework.boot</groupId> |
| 26 | + <artifactId>spring-boot-configuration-processor</artifactId> |
| 27 | + <optional>true</optional> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>org.projectlombok</groupId> |
| 31 | + <artifactId>lombok</artifactId> |
| 32 | + <optional>true</optional> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>org.mapstruct</groupId> |
| 36 | + <artifactId>mapstruct</artifactId> |
| 37 | + <version>${mapstruct.version}</version> |
| 38 | + <optional>true</optional> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.springframework.boot</groupId> |
| 42 | + <artifactId>spring-boot-starter-test</artifactId> |
| 43 | + </dependency> |
| 44 | + </dependencies> |
| 45 | + |
| 46 | + <profiles> |
| 47 | + <profile> |
| 48 | + <id>default</id> |
| 49 | + <activation> |
| 50 | + <activeByDefault>true</activeByDefault> |
| 51 | + </activation> |
| 52 | + <build> |
| 53 | + <plugins> |
| 54 | + <plugin> |
| 55 | + <groupId>org.springframework.boot</groupId> |
| 56 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 57 | + <configuration> |
| 58 | + <mainClass>com.baeldung.virtualthreads.VirtualThreadsApp</mainClass> |
| 59 | + <excludes> |
| 60 | + <exclude> |
| 61 | + <groupId>org.projectlombok</groupId> |
| 62 | + <artifactId>lombok</artifactId> |
| 63 | + </exclude> |
| 64 | + </excludes> |
| 65 | + </configuration> |
| 66 | + </plugin> |
| 67 | + </plugins> |
| 68 | + </build> |
| 69 | + </profile> |
| 70 | + |
| 71 | + <profile> |
| 72 | + <id>integration</id> |
| 73 | + <build> |
| 74 | + <plugins> |
| 75 | + <plugin> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-surefire-plugin</artifactId> |
| 78 | + <configuration> |
| 79 | + <!-- Force sequential test execution --> |
| 80 | + <parallel>none</parallel> |
| 81 | + <forkCount>1</forkCount> |
| 82 | + <reuseForks>false</reuseForks> |
| 83 | + </configuration> |
| 84 | + </plugin> |
| 85 | + </plugins> |
| 86 | + </build> |
| 87 | + </profile> |
| 88 | + </profiles> |
| 89 | + |
| 90 | + <build> |
| 91 | + <pluginManagement> |
| 92 | + <plugins> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-compiler-plugin</artifactId> |
| 96 | + <configuration> |
| 97 | + <annotationProcessorPaths> |
| 98 | + <path> |
| 99 | + <groupId>org.mapstruct</groupId> |
| 100 | + <artifactId>mapstruct-processor</artifactId> |
| 101 | + <version>${mapstruct.version}</version> |
| 102 | + </path> |
| 103 | + <path> |
| 104 | + <groupId>org.projectlombok</groupId> |
| 105 | + <artifactId>lombok</artifactId> |
| 106 | + <version>${lombok.version}</version> |
| 107 | + </path> |
| 108 | + <!-- This is needed when using Lombok 1.18.16 and above --> |
| 109 | + <path> |
| 110 | + <groupId>org.projectlombok</groupId> |
| 111 | + <artifactId>lombok-mapstruct-binding</artifactId> |
| 112 | + <version>${lombok-mapstruct-binding.version}</version> |
| 113 | + </path> |
| 114 | + </annotationProcessorPaths> |
| 115 | + </configuration> |
| 116 | + </plugin> |
| 117 | + </plugins> |
| 118 | + </pluginManagement> |
| 119 | + <plugins> |
| 120 | + <plugin> |
| 121 | + <groupId>org.springframework.boot</groupId> |
| 122 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 123 | + </plugin> |
| 124 | + <plugin> |
| 125 | + <groupId>org.apache.maven.plugins</groupId> |
| 126 | + <artifactId>maven-compiler-plugin</artifactId> |
| 127 | + </plugin> |
| 128 | + </plugins> |
| 129 | + </build> |
| 130 | + |
| 131 | + <repositories> |
| 132 | + <repository> |
| 133 | + <id>repository.spring.milestone</id> |
| 134 | + <name>Spring Snapshot Repository</name> |
| 135 | + <url>https://repo.spring.io/milestone</url> |
| 136 | + </repository> |
| 137 | + <repository> |
| 138 | + <id>repository.spring.snapshot</id> |
| 139 | + <name>Spring Snapshot Repository</name> |
| 140 | + <url>https://repo.spring.io/snapshot</url> |
| 141 | + <snapshots> |
| 142 | + <enabled>true</enabled> |
| 143 | + <updatePolicy>daily</updatePolicy> |
| 144 | + </snapshots> |
| 145 | + </repository> |
| 146 | + </repositories> |
| 147 | + <pluginRepositories> |
| 148 | + <pluginRepository> |
| 149 | + <id>repository.spring.milestone.plugins</id> |
| 150 | + <name>Spring Snapshot Repository</name> |
| 151 | + <url>https://repo.spring.io/milestone</url> |
| 152 | + </pluginRepository> |
| 153 | + <pluginRepository> |
| 154 | + <id>repository.spring.snapshot.plugins</id> |
| 155 | + <name>Spring Snapshot Repository</name> |
| 156 | + <url>https://repo.spring.io/snapshot</url> |
| 157 | + <snapshots> |
| 158 | + <enabled>true</enabled> |
| 159 | + <updatePolicy>daily</updatePolicy> |
| 160 | + </snapshots> |
| 161 | + </pluginRepository> |
| 162 | + </pluginRepositories> |
| 163 | + |
| 164 | + <properties> |
| 165 | + <mapstruct.version>1.6.3</mapstruct.version> |
| 166 | + <spring-boot.version>4.0.0-SNAPSHOT</spring-boot.version> |
| 167 | + <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version> |
| 168 | + </properties> |
| 169 | + |
| 170 | +</project> |
0 commit comments