<?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-shop</artifactId>
    <version>3.19.1.0-TCBJ-PPE-SNAPSHOT</version>
  </parent>
  <groupId>com.dtyunxi.yundt</groupId>
  <artifactId>yundt-cube-center-shopservice</artifactId>
  <version>3.19.1.0-TCBJ-PPE-SNAPSHOT</version>
  <name>yundt-cube-center-shopservice</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.icom</groupId>
      <artifactId>bundle-base-center-shopservice</artifactId>
      <exclusions>
        <exclusion>
          <artifactId>bundle-base-center-shopbiz</artifactId>
          <groupId>com.dtyunxi.yundt.icom</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>yundt-cube-framework</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.yundt.icom</groupId>
      <artifactId>bundle-b2b-center-shopservice</artifactId>
      <version>${bundle-version}</version>
      <exclusions>
        <exclusion>
          <artifactId>yundt-cube-center-memberapi</artifactId>
          <groupId>com.dtyunxi.yundt</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube.starter</groupId>
      <artifactId>cube-code-enhance-api</artifactId>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>yundt-cube-center-shopbiz</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-starter-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-starter-monitor</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-starter-config-enc</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-actuator</artifactId>
      <version>2.4.6</version>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.yundt</groupId>
      <artifactId>yundt-cube-center-shopapi</artifactId>
      <version>${version}</version>
    </dependency>
  </dependencies>
  <build>
    <finalName>${project.artifactId}</finalName>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>hsf</id>
      <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>
          <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <version>3.1.0</version>
            <configuration>
              <excludes>
                <exclude>**/rest/*</exclude>
              </excludes>
            </configuration>
          </plugin>
          <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>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>
          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <version>2.4.6</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>repackage</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>com.dtyunxi.cube</groupId>
          <artifactId>cube-support-springcloud</artifactId>
          <version>2.6.0-RELEASE</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>rest</id>
      <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>
          <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <version>3.1.0</version>
            <configuration>
              <includes>
                <include>**/rest/*</include>
                <include>sqlscripts/**</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>
