<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<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.huaweicloud.devspore</groupId>
  <artifactId>spring-boot-huawei</artifactId>
  <version>0.2.9.1</version>
  <packaging>pom</packaging>
  <name>spring-boot-huawei</name>
  <description>spring-boot-huawei</description>
  <url>https://github.com/huaweicloud/spring-boot-huawei</url>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>zhujun</id>
      <name>Zhu Jun</name>
      <email>zhujunxxxxx@163.com</email>
      <organization>huawei</organization>
      <roles>
        <role>Java Developer</role>
      </roles>
      <timezone>+8:00</timezone>
    </developer>
    <developer>
      <id>xiaoweimin</id>
      <name>Xiao Weimin</name>
      <email>xiaoweimin@huawei.com</email>
      <organization>huawei</organization>
      <roles>
        <role>Java Developer</role>
      </roles>
      <timezone>+8:00</timezone>
    </developer>
  </developers>
  <modules>
    <module>spring-boot-huawei-parent</module>
    <module>spring-boot-starter-huawei</module>
    <module>spring-boot-huawei-dependencies</module>
  </modules>
  <scm>
    <connection>scm:git:git://github.com/huaweicloud/spring-boot-huawei.git</connection>
    <developerConnection>scm:git:ssh://git@github.com/huaweicloud/spring-boot-huawei.git</developerConnection>
    <url>https://github.com/huaweicloud/spring-boot-huawei</url>
  </scm>
  <distributionManagement>
    <repository>
      <id>oss</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>oss</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
    <maven.source.plugin.version>3.0.0</maven.source.plugin.version>
    <revision>0.2.9.1</revision>
    <maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
    <flatten.maven.plugin.version>1.2.7</flatten.maven.plugin.version>
  </properties>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>${maven.source.plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <attach>true</attach>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven.surefire.plugin.version}</version>
        <configuration>
          <skip>false</skip>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven.compiler.plugin.version}</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
          <compilerArgument>-XDignore.symbol.file</compilerArgument>
        </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>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <pomElements>
            <parent>resolve</parent>
            <name>keep</name>
            <description>keep</description>
            <url>keep</url>
            <inceptionYear>keep</inceptionYear>
            <organization>keep</organization>
            <developers>keep</developers>
            <contributors>keep</contributors>
            <scm>keep</scm>
            <mailingLists>keep</mailingLists>
            <repositories>keep</repositories>
            <pluginRepositories>keep</pluginRepositories>
            <reporting>keep</reporting>
            <modules>keep</modules>
            <profiles>keep</profiles>
            <version>resolve</version>
            <build>keep</build>
            <properties>keep</properties>
            <dependencies>keep</dependencies>
            <pluginManagement>keep</pluginManagement>
            <issueManagement>keep</issueManagement>
            <dependencyManagement>keep</dependencyManagement>
            <distributionManagement>keep</distributionManagement>
          </pomElements>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
