<?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>bundle-pcp-center-finance-cost</artifactId>
    <version>2.0.0-TCBJ-UAT-SNAPSHOT</version>
  </parent>
  <groupId>com.dtyunxi.yundt</groupId>
  <artifactId>bundle-pcp-center-finance-costservice</artifactId>
  <version>2.0.0-TCBJ-UAT-SNAPSHOT</version>
  <name>bundle-pcp-center-finance-costservice</name>
  <dependencies>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>yundt-cube-framework</artifactId>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>bundle-pcp-center-finance-costbiz</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <scope>runtime</scope>
    </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-mybatis</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-starter-swagger</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.cube</groupId>
      <artifactId>cube-starter-cache</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.huieryun</groupId>
      <artifactId>huieryun-logapi</artifactId>
    </dependency>
    <dependency>
      <groupId>org.spockframework</groupId>
      <artifactId>spock-spring</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.huieryun</groupId>
      <artifactId>huieryun-xmeta-plugins</artifactId>
    </dependency>
    <dependency>
      <groupId>com.dtyunxi.huieryun.maven.plugins</groupId>
      <artifactId>attr-extend-annotation</artifactId>
    </dependency>
  </dependencies>
  <build>
    <finalName>${project.artifactId}</finalName>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.1.0</version>
        <configuration>
          <includes>
            <include>**/rest/*</include>
            <include>db/meta/**.json</include>
            <include>db/changelog/**</include>
          </includes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-eclipse-compiler</artifactId>
            <version>2.9.2-01</version>
          </dependency>
          <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-eclipse-batch</artifactId>
            <version>2.4.3-01</version>
          </dependency>
        </dependencies>
        <configuration>
          <compilerId>groovy-eclipse-compiler</compilerId>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.groovy</groupId>
        <artifactId>groovy-eclipse-compiler</artifactId>
        <version>2.9.2-01</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>rest</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <version>3.1.0</version>
            <configuration>
              <includes>
                <include>**/rest/*</include>
                <include>db/meta/**.json</include>
                <include>db/changelog/**</include>
              </includes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
