<?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>
    <!-- PROJECT -->
    <parent>
        <groupId>io.crossplane.providers</groupId>
        <artifactId>crossplane-providers-parent</artifactId>
        <version>1.20-alpha</version>
    </parent>

    <name>Crossplane Provider Azure</name>
    <artifactId>crossplane-provider-upjet-azure-model-${modelGroup}</artifactId>
    <description>Crossplane models for the Azure upjet based provider</description>


    <version>${modelrevision}</version>
    <properties>
        <modelrevision>2.4.0</modelrevision>
        <modelDirectory>/dbforpostgresql</modelDirectory>
        <modelGroup>dbforpostgresql</modelGroup>
    </properties>

    <!-- DEPENDENCIES -->
    <dependencies>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>kubernetes-client</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>generator-annotations</artifactId>
        </dependency>
    </dependencies>
    <!-- BUILD -->
    <build>
        <!-- PLUGINS -->
        <plugins>
            <plugin>
                <groupId>io.fabric8</groupId>
                <artifactId>java-generator-maven-plugin</artifactId>
                <version>${kubernetes-client.version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <source>src/main/resources/kubernetes${modelDirectory}</source>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
