|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>io.florianlopes</groupId> |
| 6 | + <artifactId>spring-mvc-test-utils-parent</artifactId> |
| 7 | + <version>4.0.0</version> |
| 8 | + <packaging>pom</packaging> |
| 9 | + <name>spring-mvc-test-utils-parent</name> |
| 10 | + <description>Spring MVC utils aimed to ease Spring MVC framework testing</description> |
| 11 | + <url>https://blog.florianlopes.io/tool-for-spring-mockmvcrequestbuilder-forms-tests/</url> |
| 12 | + <licenses> |
| 13 | + <license> |
| 14 | + <name>The Apache License, Version 2.0</name> |
| 15 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 16 | + </license> |
| 17 | + </licenses> |
| 18 | + <developers> |
| 19 | + <developer> |
| 20 | + <name>Florian Lopes</name> |
| 21 | + |
| 22 | + <organization>Florian Lopes</organization> |
| 23 | + <organizationUrl>https://www.florianlopes.io</organizationUrl> |
| 24 | + </developer> |
| 25 | + </developers> |
| 26 | + <modules> |
| 27 | + <module>spring-mvc-test-utils</module> |
| 28 | + </modules> |
| 29 | + <scm> |
| 30 | + <connection>scm:git:git://github.com/f-lopes/spring-mvc-test-utils.git</connection> |
| 31 | + <developerConnection>scm:git:ssh://github.com/f-lopes/spring-mvc-test-utils.git</developerConnection> |
| 32 | + <url>https://github.com/f-lopes/spring-mvc-test-utils</url> |
| 33 | + </scm> |
| 34 | + <distributionManagement> |
| 35 | + <repository> |
| 36 | + <id>ossrh</id> |
| 37 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 38 | + </repository> |
| 39 | + <snapshotRepository> |
| 40 | + <id>ossrh</id> |
| 41 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 42 | + </snapshotRepository> |
| 43 | + </distributionManagement> |
| 44 | + <properties> |
| 45 | + <jakarta.validation-api.version>3.1.0</jakarta.validation-api.version> |
| 46 | + <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
| 47 | + <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
| 48 | + <slf4j-api.version>1.7.36</slf4j-api.version> |
| 49 | + <jakarta.servlet-api.version>6.1.0</jakarta.servlet-api.version> |
| 50 | + <maven-javadoc-plugin.version>3.10.0</maven-javadoc-plugin.version> |
| 51 | + <hibernate-validator.version>8.0.1.Final</hibernate-validator.version> |
| 52 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 53 | + <jreleaser-maven-plugin.version>1.14.0</jreleaser-maven-plugin.version> |
| 54 | + <jakarta.el.version>4.0.2</jakarta.el.version> |
| 55 | + <spring-framework.version>6.1.13</spring-framework.version> |
| 56 | + <java.version>17</java.version> |
| 57 | + <versions-maven-plugin.version>2.17.1</versions-maven-plugin.version> |
| 58 | + <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> |
| 59 | + <jakarta.el-api.version>6.0.1</jakarta.el-api.version> |
| 60 | + <sonar.organization>f-lopes</sonar.organization> |
| 61 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 62 | + <revision>4.0.0</revision> |
| 63 | + <spotbugs-maven-plugin.version>4.8.6.4</spotbugs-maven-plugin.version> |
| 64 | + <lombok.version>1.18.34</lombok.version> |
| 65 | + <maven-pmd-plugin.version>3.25.0</maven-pmd-plugin.version> |
| 66 | + <junit-jupiter.version>5.11.1</junit-jupiter.version> |
| 67 | + <maven-surefire-plugin.version>3.5.0</maven-surefire-plugin.version> |
| 68 | + <changelist>-SNAPSHOT</changelist> |
| 69 | + <logback-classic.version>1.5.7</logback-classic.version> |
| 70 | + </properties> |
| 71 | + <dependencyManagement> |
| 72 | + <dependencies> |
| 73 | + <dependency> |
| 74 | + <groupId>org.springframework</groupId> |
| 75 | + <artifactId>spring-framework-bom</artifactId> |
| 76 | + <version>${spring-framework.version}</version> |
| 77 | + <type>pom</type> |
| 78 | + <scope>import</scope> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>org.junit.jupiter</groupId> |
| 82 | + <artifactId>junit-jupiter</artifactId> |
| 83 | + <version>${junit-jupiter.version}</version> |
| 84 | + <scope>test</scope> |
| 85 | + </dependency> |
| 86 | + </dependencies> |
| 87 | + </dependencyManagement> |
| 88 | + <build> |
| 89 | + <plugins> |
| 90 | + <plugin> |
| 91 | + <artifactId>maven-surefire-plugin</artifactId> |
| 92 | + <version>${maven-surefire-plugin.version}</version> |
| 93 | + </plugin> |
| 94 | + <plugin> |
| 95 | + <groupId>org.codehaus.mojo</groupId> |
| 96 | + <artifactId>versions-maven-plugin</artifactId> |
| 97 | + <version>${versions-maven-plugin.version}</version> |
| 98 | + <configuration> |
| 99 | + <generateBackupPoms>false</generateBackupPoms> |
| 100 | + </configuration> |
| 101 | + </plugin> |
| 102 | + <plugin> |
| 103 | + <artifactId>maven-pmd-plugin</artifactId> |
| 104 | + <version>${maven-pmd-plugin.version}</version> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <goals> |
| 108 | + <goal>check</goal> |
| 109 | + </goals> |
| 110 | + </execution> |
| 111 | + </executions> |
| 112 | + <configuration> |
| 113 | + <printFailingErrors>true</printFailingErrors> |
| 114 | + <analysisCache>true</analysisCache> |
| 115 | + </configuration> |
| 116 | + </plugin> |
| 117 | + <plugin> |
| 118 | + <groupId>com.github.spotbugs</groupId> |
| 119 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 120 | + <version>${spotbugs-maven-plugin.version}</version> |
| 121 | + <executions> |
| 122 | + <execution> |
| 123 | + <phase>verify</phase> |
| 124 | + <goals> |
| 125 | + <goal>check</goal> |
| 126 | + </goals> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <groupId>com.rudikershaw.gitbuildhook</groupId> |
| 132 | + <artifactId>git-build-hook-maven-plugin</artifactId> |
| 133 | + <version>3.5.0</version> |
| 134 | + <executions> |
| 135 | + <execution> |
| 136 | + <goals> |
| 137 | + <goal>install</goal> |
| 138 | + </goals> |
| 139 | + </execution> |
| 140 | + </executions> |
| 141 | + <configuration> |
| 142 | + <installHooks> |
| 143 | + <pre-commit>.git-hooks/pre-commit.sh</pre-commit> |
| 144 | + </installHooks> |
| 145 | + </configuration> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.codehaus.mojo</groupId> |
| 149 | + <artifactId>flatten-maven-plugin</artifactId> |
| 150 | + <version>1.6.0</version> |
| 151 | + <executions> |
| 152 | + <execution> |
| 153 | + <id>flatten</id> |
| 154 | + <phase>process-resources</phase> |
| 155 | + <goals> |
| 156 | + <goal>flatten</goal> |
| 157 | + </goals> |
| 158 | + </execution> |
| 159 | + <execution> |
| 160 | + <id>flatten.clean</id> |
| 161 | + <phase>clean</phase> |
| 162 | + <goals> |
| 163 | + <goal>clean</goal> |
| 164 | + </goals> |
| 165 | + </execution> |
| 166 | + </executions> |
| 167 | + <configuration> |
| 168 | + <updatePomFile>true</updatePomFile> |
| 169 | + <flattenMode>resolveCiFriendliesOnly</flattenMode> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + </plugins> |
| 173 | + </build> |
| 174 | + <profiles> |
| 175 | + <profile> |
| 176 | + <id>smoke-tests</id> |
| 177 | + <modules> |
| 178 | + <module>spring-mvc-test-utils</module> |
| 179 | + <module>smoke-tests</module> |
| 180 | + </modules> |
| 181 | + </profile> |
| 182 | + <profile> |
| 183 | + <id>release</id> |
| 184 | + <build> |
| 185 | + <plugins> |
| 186 | + <plugin> |
| 187 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 188 | + <version>${maven-javadoc-plugin.version}</version> |
| 189 | + <executions> |
| 190 | + <execution> |
| 191 | + <id>attach-javadocs</id> |
| 192 | + <goals> |
| 193 | + <goal>jar</goal> |
| 194 | + </goals> |
| 195 | + <configuration> |
| 196 | + <attach>true</attach> |
| 197 | + </configuration> |
| 198 | + </execution> |
| 199 | + </executions> |
| 200 | + </plugin> |
| 201 | + <plugin> |
| 202 | + <artifactId>maven-source-plugin</artifactId> |
| 203 | + <version>${maven-source-plugin.version}</version> |
| 204 | + <executions> |
| 205 | + <execution> |
| 206 | + <id>attach-sources</id> |
| 207 | + <goals> |
| 208 | + <goal>jar</goal> |
| 209 | + </goals> |
| 210 | + <configuration> |
| 211 | + <attach>true</attach> |
| 212 | + </configuration> |
| 213 | + </execution> |
| 214 | + </executions> |
| 215 | + </plugin> |
| 216 | + <plugin> |
| 217 | + <groupId>org.jreleaser</groupId> |
| 218 | + <artifactId>jreleaser-maven-plugin</artifactId> |
| 219 | + <version>${jreleaser-maven-plugin.version}</version> |
| 220 | + <configuration> |
| 221 | + <jreleaser> |
| 222 | + <signing> |
| 223 | + <active>ALWAYS</active> |
| 224 | + <armored>true</armored> |
| 225 | + </signing> |
| 226 | + <project> |
| 227 | + <copyright>2024 Florian Lopes</copyright> |
| 228 | + </project> |
| 229 | + <deploy> |
| 230 | + <maven> |
| 231 | + <nexus2> |
| 232 | + <maven-central> |
| 233 | + <active>ALWAYS</active> |
| 234 | + <url>https://oss.sonatype.org/service/local</url> |
| 235 | + <snapshotUrl>https://s01.oss.sonatype.org/content/repositories/snapshots/</snapshotUrl> |
| 236 | + <closeRepository>true</closeRepository> |
| 237 | + <releaseRepository>false</releaseRepository> |
| 238 | + <stagingRepositories>spring-mvc-test-utils/target/staging-deploy</stagingRepositories> |
| 239 | + </maven-central> |
| 240 | + </nexus2> |
| 241 | + </maven> |
| 242 | + </deploy> |
| 243 | + </jreleaser> |
| 244 | + </configuration> |
| 245 | + </plugin> |
| 246 | + </plugins> |
| 247 | + </build> |
| 248 | + <properties> |
| 249 | + <spotbugs.skip>true</spotbugs.skip> |
| 250 | + <altDeploymentRepository>local::file:./spring-mvc-test-utils/target/staging-deploy</altDeploymentRepository> |
| 251 | + <skipTests>true</skipTests> |
| 252 | + <pmd.skip>true</pmd.skip> |
| 253 | + </properties> |
| 254 | + </profile> |
| 255 | + </profiles> |
| 256 | +</project> |
0 commit comments