<?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>
    <parent>
        <groupId>org.gcube.tools</groupId>
        <artifactId>maven-parent</artifactId>
        <version>1.1.0</version>
    </parent>
    <groupId>org.gcube.misc</groupId>
    <artifactId>testProject</artifactId>
    <version>1.0.0-SNAPSHOT</version>


    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <geotools.version>8.0-M4</geotools.version>
        <geoAPI-version>3.0.1</geoAPI-version>
        <distroDirectory>distro</distroDirectory>
        <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>

        <!-- prod -->
<!--        <gcube-bom-version>2.0.2</gcube-bom-version>-->
<!--        <gcube-smartgears-bom-version>2.1.1</gcube-smartgears-bom-version>-->


        <!--dev -->
        <gcube-bom-version>2.1.0-SNAPSHOT</gcube-bom-version>
        <gcube-smartgears-bom-version>2.2.0-SNAPSHOT</gcube-smartgears-bom-version>


    </properties>

    <dependencyManagement>
        <dependencies>
           <!--  <dependency>
                <groupId>org.gcube.distribution</groupId>
                <artifactId>gcube-bom</artifactId>
                <version>${gcube-bom-version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency> -->

            <dependency>
                <groupId>org.gcube.distribution</groupId>
                <artifactId>gcube-smartgears-bom</artifactId>
                <version>${gcube-smartgears-bom-version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

        </dependencies>
    </dependencyManagement>

    <dependencies>

      <!-- STORAGE -->
        <dependency>
            <groupId>org.gcube.contentmanagement</groupId>
            <artifactId>storage-manager-core</artifactId>
            <!--version>2.9.0-SNAPSHOT</version-->
            <version>[2.0.0, 3.0.0-SNAPSHOT)</version>
        </dependency>


        <dependency>
            <groupId>org.gcube.common</groupId>
            <artifactId>authorization-client</artifactId>
        </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>
                </executions>
            </plugin>
        </plugins>

<!-- <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>3.1.1</version>
                <executions>
                    <execution>
                        <id>copy-dependencies</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <includeScope>runtime</includeScope>
                            <outputDirectory>${basedir}${file.separator}target${file.separator}libs</outputDirectory>
                            <overWriteReleases>false</overWriteReleases>
                            <overWriteSnapshots>false</overWriteSnapshots>
                            <overWriteIfNewer>true</overWriteIfNewer>
                            <excludeTypes>war</excludeTypes>
                            <stripVersion>false</stripVersion>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>uberjar</id>
                        <configuration>
                            <appendAssemblyId>true</appendAssemblyId>
                            <descriptors>
                                <descriptor>uberjar.xml</descriptor>
                            </descriptors>
                        </configuration>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins> -->

    </build>
</project>