<?xml version="1.0" encoding="UTF-8"?>
<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"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-parent</artifactId>
    <version>3.0.0</version>
  </parent>
  <groupId>com.vaadin</groupId>
  <artifactId>vaadin-spring-parent</artifactId>
  <version>4.5.0-alpha1</version>
  <packaging>pom</packaging>
  <name>vaadin-spring-parent</name>
  <description>Parent module for Spring integration for Vaadin applications.</description>
  <url>https://github.com/vaadin/spring</url>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git@github.com:vaadin/spring.git</connection>
    <developerConnection>scm:git:git@github.com:vaadin/spring.git</developerConnection>
    <url>https://github.com/vaadin/spring</url>
  </scm>
  <properties>
    <maven.compiler.release>17</maven.compiler.release>
    <Vaadin-License-Title>Apache License 2.0</Vaadin-License-Title>
    <jakarta.servlet.version>6.1.0</jakarta.servlet.version>
    <jakarta.annotation.version>3.0.0</jakarta.annotation.version>
    <spring.security.version>7.1.0</spring.security.version>
    <vaadin.version>8.31.1</vaadin.version>
    <maven.compiler.source>17</maven.compiler.source>
    <spring.version>7.0.8</spring.version>
    <spring.boot.version>4.1.0</spring.boot.version>
    <mockito.version>5.23.0</mockito.version>
    <h2.version>2.2.224</h2.version>
    <encoding>UTF-8</encoding>
    <hamcrest.version>1.3</hamcrest.version>
    <maven.compiler.target>17</maven.compiler.target>
    <slf4j.version>2.0.17</slf4j.version>
    <junit.version>4.13.2</junit.version>
  </properties>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
            <lifecycleMappingMetadata>
              <pluginExecutions>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <versionRange>[2.14,)</versionRange>
                    <goals>
                      <goal>check</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
              </pluginExecutions>
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>3.6.0</version>
          <executions>
            <execution>
              <id>checkstyle</id>
              <phase>process-sources</phase>
              <goals>
                <goal>checkstyle</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <enableRulesSummary>false</enableRulesSummary>
            <includeTestSourceDirectory>true</includeTestSourceDirectory>
            <configLocation>checkstyle/vaadin-checkstyle.xml</configLocation>
            <violationSeverity>error</violationSeverity>
            <headerLocation>checkstyle/header</headerLocation>
            <failsOnError>true</failsOnError>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <configuration>
          <propertyExpansion>config_loc=${basedir}/checkstyle</propertyExpansion>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.3.0</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <excludeResources>true</excludeResources>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.6.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <failOnError>false</failOnError>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>3.4.1</version>
        <executions>
          <execution>
            <id>enforce-maven-version</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireMavenVersion>
                  <version>3.6.2</version>
                </requireMavenVersion>
              </rules>
              <fail>true</fail>
            </configuration>
          </execution>
        </executions>
        <inherited>true</inherited>
      </plugin>
      <plugin>
        <groupId>com.mycila</groupId>
        <artifactId>license-maven-plugin</artifactId>
        <version>4.6</version>
        <executions>
          <execution>
            <goals>
              <goal>format</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <basedir>${basedir}</basedir>
          <header>${maven.multiModuleProjectDirectory}/checkstyle/headerBase</header>
          <quiet>false</quiet>
          <failIfMissing>true</failIfMissing>
          <aggregate>false</aggregate>
          <useDefaultExcludes>true</useDefaultExcludes>
          <useDefaultMapping>true</useDefaultMapping>
          <encoding>UTF-8</encoding>
          <includes>
            <include>/**/**/*.java</include>
            <include>/**/*.java</include>
            <include>*.java</include>
          </includes>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
