<?xml version="1.0" encoding="UTF-8"?> 
<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"> 
    <modelVersion>
         4.0.0 
    </modelVersion> 
    <artifactId>
         orca-mysql 
    </artifactId> 
    <name>
         Orca Docker image: orca-mysql 
    </name> 
    <parent> 
        <groupId>
             net.exogeni.orca 
        </groupId> 
        <artifactId>
             docker-orca 
        </artifactId> 
        <version>5.4.5</version> 
    </parent> 
    <!-- <dependencies>
		<dependency>
			<groupId>net.exogeni.orca</groupId>
			<artifactId>core</artifactId>
			<version>${project.version}</version>
		</dependency>
	</dependencies> --> 
    <build> 
        <pluginManagement> 
            <plugins> 
                <plugin> 
                    <groupId>
                         com.spotify 
                    </groupId> 
                    <artifactId>
                         docker-maven-plugin 
                    </artifactId> 
                    <executions> 
                        <execution> 
                            <phase>
                                 package 
                            </phase> 
                            <goals> 
                                <goal>
                                     build 
                                </goal> 
                            </goals> 
                        </execution> 
                    </executions> 
                    <configuration> 
                        <dockerDirectory>
                             ${project.basedir} 
                        </dockerDirectory> 
                        <imageName>
                             renci/${project.artifactId} 
                        </imageName> 
                        <imageTags> 
                            <imageTag>
                                 ${git.commit.id.abbrev} 
                            </imageTag> 
                        </imageTags> 
                        <pushImage>
                             false 
                        </pushImage> 
                        <resources> 
                            <resource> 
                                <directory>
                                     ${project.basedir}/../../core/schema/mysql/ 
                                </directory> 
                                <targetPath>
                                     resources 
                                </targetPath> 
                                <includes> 
                                    <include>
                                         full.schema.sql 
                                    </include> 
                                </includes> 
                            </resource> 
                        </resources> 
                    </configuration> 
                </plugin> 
            </plugins> 
        </pluginManagement> 
    </build> 
</project>
