<?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>
  <groupId>com.gitlab.summer-cattle</groupId>
  <artifactId>cattle-dependencies</artifactId>
  <version>0.0.5</version>
  <packaging>pom</packaging>
  <name>cattle-dependencies</name>
  <description>Cattle Framework Build Dependencies</description>
  <url>https://gitlab.com/summer-cattle/cattle-build</url>
  <organization>
    <name>Summer Cattle Team</name>
    <url>https://gitlab.com/summer-cattle</url>
  </organization>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>juhua</name>
      <organization>Summer Cattle Team</organization>
      <organizationUrl>https://gitlab.com/summer-cattle</organizationUrl>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:ssh://gitlab.com/summer-cattle/cattle-build.git</connection>
    <developerConnection>scm:git:ssh://git@gitlab.com:summer-cattle/cattle-build.git</developerConnection>
    <url>https://gitlab.com/summer-cattle/cattle-build</url>
  </scm>
  <properties>
    <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
    <flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
    <maven-enforcer-plugin.version>3.0.0</maven-enforcer-plugin.version>
  </properties>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>${maven-enforcer-plugin.version}</version>
          <executions>
            <execution>
              <id>enforce-versions</id>
              <goals>
                <goal>enforce</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <fail>false</fail>
            <rules>
              <dependencyConvergence />
            </rules>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>flatten-maven-plugin</artifactId>
          <version>${flatten-maven-plugin.version}</version>
          <executions>
            <execution>
              <id>flatten</id>
              <phase>package</phase>
              <goals>
                <goal>flatten</goal>
              </goals>
              <configuration>
                <updatePomFile>true</updatePomFile>
                <flattenMode>resolveCiFriendliesOnly</flattenMode>
                <pomElements>
                  <parent>expand</parent>
                  <pluginManagement>keep</pluginManagement>
                  <properties>keep</properties>
                  <distributionManagement>remove</distributionManagement>
                  <repositories>remove</repositories>
                  <dependencyManagement>keep</dependencyManagement>
                  <pluginRepositories>remove</pluginRepositories>
                  <profiles>remove</profiles>
                </pomElements>
              </configuration>
            </execution>
            <execution>
              <id>flatten-clean</id>
              <phase>clean</phase>
              <goals>
                <goal>clean</goal>
              </goals>
            </execution>
          </executions>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>${maven-gpg-plugin.version}</version>
          <executions>
            <execution>
              <id>sign-artifacts</id>
              <phase>verify</phase>
              <goals>
                <goal>sign</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>
