|
76 | 76 | <version>${spring.version}</version> |
77 | 77 | <optional>true</optional> |
78 | 78 | </dependency> |
| 79 | + |
| 80 | + <!-- Jakarta Servlet API for Spring Boot 4.0 --> |
| 81 | + <dependency> |
| 82 | + <groupId>jakarta.servlet</groupId> |
| 83 | + <artifactId>jakarta.servlet-api</artifactId> |
| 84 | + <version>6.1.0</version> |
| 85 | + <scope>provided</scope> |
| 86 | + </dependency> |
| 87 | + |
| 88 | + <!-- Test dependencies --> |
| 89 | + <dependency> |
| 90 | + <groupId>org.springframework.boot</groupId> |
| 91 | + <artifactId>spring-boot-starter</artifactId> |
| 92 | + <version>${springboot.version}</version> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.springframework.boot</groupId> |
| 97 | + <artifactId>spring-boot-starter-webmvc</artifactId> |
| 98 | + <version>${springboot.version}</version> |
| 99 | + <scope>test</scope> |
| 100 | + </dependency> |
| 101 | + |
| 102 | + <dependency> |
| 103 | + <groupId>org.springframework.boot</groupId> |
| 104 | + <artifactId>spring-boot-starter-webflux</artifactId> |
| 105 | + <version>${springboot.version}</version> |
| 106 | + <scope>test</scope> |
| 107 | + <exclusions> |
| 108 | + <exclusion> |
| 109 | + <groupId>org.springframework.boot</groupId> |
| 110 | + <artifactId>spring-boot-starter-reactor-netty</artifactId> |
| 111 | + </exclusion> |
| 112 | + </exclusions> |
| 113 | + </dependency> |
| 114 | + <dependency> |
| 115 | + <groupId>org.springframework.boot</groupId> |
| 116 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 117 | + <version>${springboot.version}</version> |
| 118 | + <scope>test</scope> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>org.springframework.boot</groupId> |
| 122 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 123 | + <version>${springboot.version}</version> |
| 124 | + <scope>test</scope> |
| 125 | + </dependency> |
| 126 | + |
| 127 | + <dependency> |
| 128 | + <groupId>org.springframework.boot</groupId> |
| 129 | + <artifactId>spring-boot-starter-webmvc-test</artifactId> |
| 130 | + <version>${springboot.version}</version> |
| 131 | + <scope>test</scope> |
| 132 | + </dependency> |
| 133 | + <dependency> |
| 134 | + <groupId>com.h2database</groupId> |
| 135 | + <artifactId>h2</artifactId> |
| 136 | + <version>2.3.232</version> |
| 137 | + <scope>test</scope> |
| 138 | + </dependency> |
| 139 | + |
79 | 140 | </dependencies> |
80 | 141 |
|
| 142 | + <profiles> |
| 143 | + <profile> |
| 144 | + <id>security-tests</id> |
| 145 | + <activation> |
| 146 | + <property> |
| 147 | + <name>test</name> |
| 148 | + <value>SecurityAppTest</value> |
| 149 | + </property> |
| 150 | + </activation> |
| 151 | + <dependencies> |
| 152 | + <dependency> |
| 153 | + <groupId>org.springframework.boot</groupId> |
| 154 | + <artifactId>spring-boot-starter-security</artifactId> |
| 155 | + <version>${springboot.version}</version> |
| 156 | + <scope>test</scope> |
| 157 | + </dependency> |
| 158 | + <dependency> |
| 159 | + <groupId>org.springframework.security</groupId> |
| 160 | + <artifactId>spring-security-web</artifactId> |
| 161 | + <version>${springsecurity.version}</version> |
| 162 | + <scope>test</scope> |
| 163 | + </dependency> |
| 164 | + <dependency> |
| 165 | + <groupId>org.springframework.security</groupId> |
| 166 | + <artifactId>spring-security-config</artifactId> |
| 167 | + <version>${springsecurity.version}</version> |
| 168 | + <scope>test</scope> |
| 169 | + </dependency> |
| 170 | + </dependencies> |
| 171 | + </profile> |
| 172 | + </profiles> |
| 173 | + |
81 | 174 | <build> |
82 | 175 | <plugins> |
83 | 176 | <plugin> |
84 | 177 | <groupId>org.apache.maven.plugins</groupId> |
85 | 178 | <artifactId>maven-compiler-plugin</artifactId> |
86 | 179 | <configuration> |
87 | | - <source>25</source> |
88 | | - <target>25</target> |
| 180 | + <source>17</source> |
| 181 | + <target>17</target> |
89 | 182 | </configuration> |
90 | 183 | </plugin> |
91 | 184 | </plugins> |
|
0 commit comments