<?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">
    <parent>
        <groupId>org.kie.kogito</groupId>
        <artifactId>kogito-addons-persistence-parent</artifactId>
        <version>1.11.1.Final</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>kogito-ddl-runtimes</artifactId>
    <name>Kogito :: DB Scripts Collection</name>
    <packaging>pom</packaging>

    <properties>
        <path.to.persistence.modules>${project.root.dir}/addons/common/persistence</path.to.persistence.modules>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <inherited>false</inherited>
                <configuration>
                    <descriptors>
                        <descriptor>src/assembly/db-scripts.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
                        <id>db-scripts-collection</id>
                        <inherited>false</inherited>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

        </plugins>
    </build>
</project>