<?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>dataminer-plugins</artifactId>
    <version>1.0.2</version>
    <name>gCube CMS -  Dataminer Plugins</name>


    <parent>
        <groupId>org.gcube.application.cms</groupId>
        <artifactId>gcube-cms-suite</artifactId>
        <version>1.0.4</version>
    </parent>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.gcube.distribution</groupId>
                <artifactId>gcube-smartgears-bom</artifactId>
                <version>${gcube-smartgears-bom-version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.application.cms</groupId>
                <artifactId>cms-plugin-framework</artifactId>
                <version>${plugin-framework-version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>


    <properties>
        <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
    </properties>



    <scm>
        <connection>scm:git:${gitBaseUrl}/gcube-cms-suite</connection>
        <developerConnection>scm:git:${gitBaseUrl}/gcube-cms-suite</developerConnection>
        <url>${gitBaseUrl}/gcube-cms-suite</url>
    </scm>



    <dependencies>
        <dependency>
            <groupId>org.gcube.application.cms</groupId>
            <artifactId>cms-plugin-framework</artifactId>
        </dependency>

        <dependency>
            <groupId>org.gcube.application.cms</groupId>
            <artifactId>cms-test-commons</artifactId>
            <scope>test</scope>
        </dependency>


    </dependencies>


    <build>
        <plugins>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>make-uberjar</id>
                        <phase>package</phase>
                    </execution>
                    <execution>
                        <id>make-servicearchive</id>
                        <phase>package</phase>
                    </execution>
                </executions>
            </plugin>

        </plugins>
    </build>

</project>
