<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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.dtyunxi.yundt</groupId>
    <artifactId>yundt-cube-center-inventory</artifactId>
    <version>3.16.2.0-TCBJ-PPE-SNAPSHOT</version>
  </parent>
  <groupId>com.dtyunxi.yundt</groupId>
  <artifactId>yundt-cube-center-inventoryservice</artifactId>
  <version>3.16.2.0-TCBJ-PPE-SNAPSHOT</version>
  <name>${project.artifactId}</name>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>com.dtyunxi.yundt.cube</groupId>
      <artifactId>bundle-base-center-inventoryservice</artifactId>
      <version>${bundle-base-center-inventory.version}</version>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-starter-test</artifactId>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>javafaker</artifactId>
          <groupId>com.github.javafaker</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-support-springcloud</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.yundt</groupId>
      <artifactId>yundt-cube-center-inventoryapi</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.yundt</groupId>
      <artifactId>yundt-cube-center-inventorybiz</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.yundt</groupId>
      <artifactId>yundt-cube-center-inventorydao</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.yundt</groupId>
      <artifactId>yundt-cube-center-rebateapi</artifactId>
      <version>${yundt-cube-center-rebate.version}</version>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-actuator</artifactId>
      <version>2.4.6</version>
    </dependency>
  </dependencies>
  <profiles>
    <profile>
      <id>hsf</id>
      <build>
        <plugins>
          <plugin>
            <groupId>com.taobao.pandora</groupId>
            <artifactId>pandora-boot-maven-plugin</artifactId>
            <version>${edas-pandora-boot-maven-plugin.version}</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <excludeSar>${dtyunxi.deploy.excludesar}</excludeSar>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.8.2</version>
            <configuration>
              <skip>true</skip>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>com.dtyunxi.cube</groupId>
          <artifactId>cube-support-hsf</artifactId>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>springcloud</id>
      <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>
          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <executions>
              <execution>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.8.2</version>
            <configuration>
              <skip>true</skip>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>com.dtyunxi.cube</groupId>
          <artifactId>cube-support-springcloud</artifactId>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>dubbo</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <executions>
              <execution>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.8.2</version>
            <configuration>
              <skip>true</skip>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>com.dtyunxi.cube</groupId>
          <artifactId>cube-support-dubbo</artifactId>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>rest</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <version>3.1.0</version>
            <configuration>
              <includes>
                <include>**/rest/*</include>
                <include>db/changelog/**</include>
              </includes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>edas</id>
      <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>
          <plugin>
            <groupId>com.taobao.pandora</groupId>
            <artifactId>pandora-boot-maven-plugin</artifactId>
            <version>${edas-pandora-boot-maven-plugin.version}</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <excludeSar>${dtyunxi.deploy.excludesar}</excludeSar>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>com.dtyunxi.huieryun</groupId>
          <artifactId>huieryun-registryedas</artifactId>
        </dependency>
        <dependency>
          <groupId>com.dtyunxi.huieryun</groupId>
          <artifactId>huieryun-yes-rpcedas</artifactId>
        </dependency>
        <dependency>
          <groupId>org.springframework.cloud</groupId>
          <artifactId>spring-cloud-starter-vipclient</artifactId>
          <exclusions>
            <exclusion>
              <artifactId>spring-boot-starter-web</artifactId>
              <groupId>org.springframework.boot</groupId>
            </exclusion>
          </exclusions>
        </dependency>
        <dependency>
          <groupId>org.springframework.cloud</groupId>
          <artifactId>spring-cloud-starter-pandora</artifactId>
        </dependency>
        <dependency>
          <groupId>com.dtyunxi.cube</groupId>
          <artifactId>cube-starter-config-diamond</artifactId>
        </dependency>
      </dependencies>
    </profile>
  </profiles>
</project>
