<?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>
  <parent>
    <groupId>com.icetech</groupId>
    <artifactId>ice-parent</artifactId>
    <version>1.1.4-RC</version>
  </parent>
  <groupId>com.icetech</groupId>
  <artifactId>ice-socket-proxy</artifactId>
  <version>1.1.4-RC</version>
  <distributionManagement>
    <repository>
      <id>nexus-releases</id>
      <name>Nexus Release Repository</name>
      <url>http://mvn.icecloud-car.com/nexus/content/repositories/releases/</url>
    </repository>
    <snapshotRepository>
      <id>nexus-snapshots</id>
      <name>Nexus snapshots Repository</name>
      <url>http://mvn.icecloud-car.com/nexus/content/repositories/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <dockerfile-version>1.4.9</dockerfile-version>
  </properties>
  <dependencies>
    <dependency>
      <groupId>com.icetech</groupId>
      <artifactId>ice-common-spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>com.icetech</groupId>
      <artifactId>ice-redis-spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>com.icetech</groupId>
      <artifactId>ice-rabbitmq-spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>com.icetech</groupId>
      <artifactId>ice-rpc-old-spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>org.yeauty</groupId>
      <artifactId>netty-websocket-spring-boot-starter</artifactId>
      <version>0.11.0-ice-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>com.icetech</groupId>
      <artifactId>ice-log-spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>com.icetech</groupId>
      <artifactId>ice-base-api</artifactId>
      <version>1.1.1-gray</version>
    </dependency>
    <dependency>
      <groupId>com.alibaba.boot</groupId>
      <artifactId>nacos-config-spring-boot-starter</artifactId>
    </dependency>
  </dependencies>
  <repositories>
    <repository>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>public</id>
      <name>public</name>
      <url>http://mvn.icecloud-car.com/nexus/content/groups/public/</url>
    </repository>
  </repositories>
  <build>
    <finalName>${project.artifactId}</finalName>
    <plugins>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
        <version>${spring-boot-dependencies.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>repackage</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.spotify</groupId>
        <artifactId>dockerfile-maven-plugin</artifactId>
        <version>${dockerfile-version}</version>
        <configuration>
          <repository>${project.build.finalName}</repository>
          <buildArgs>
            <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
          </buildArgs>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
