<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <parent>
      <groupId>com.els.tso.platform</groupId>
        <artifactId>platform-ops</artifactId>
        <version>0.0.2</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>

    <artifactId>platform-develop</artifactId>
    <name>${project.artifactId}</name>

    <packaging>jar</packaging>

    <dependencies>
        <!--platform-->
        <dependency>
            <groupId>com.els.tso.raindrops</groupId>
            <artifactId>raindrops-core-boot</artifactId>
        </dependency>
        <dependency>
            <groupId>com.els.tso.raindrops</groupId>
            <artifactId>raindrops-starter-develop</artifactId>
        </dependency>
        <dependency>
            <groupId>com.els.tso.raindrops</groupId>
            <artifactId>raindrops-starter-swagger</artifactId>
        </dependency>
        <dependency>
          <groupId>com.els.tso.platform</groupId>
            <artifactId>platform-common</artifactId>
        </dependency>
        <dependency>
          <groupId>com.els.tso.platform</groupId>
            <artifactId>platform-dict-api</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.spotify</groupId>
                <artifactId>docker-maven-plugin</artifactId>
                <version>${docker.plugin.version}</version>
                <configuration>
                    <skipDockerBuild>true</skipDockerBuild>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <!--suppress UnresolvedMavenProperty -->
                                <copy overwrite="true" tofile="${session.executionRootDirectory}/target/${project.artifactId}.jar" file="${project.build.directory}/${project.artifactId}.jar" />
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
