<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.3.0-SNAPSHOT</version>
        <relativePath />
    </parent>
    <groupId>org.gcube.distribution</groupId>
    <artifactId>maven-portal-bom</artifactId>
    <version>5.0.0-SNAPSHOT</version>
    <packaging>pom</packaging>
    <scm>
        <connection>
			scm:git:https://code-repo.d4science.org/gCubeSystem/maven-portal-bom.git</connection>
        <developerConnection>
			scm:git:https://code-repo.d4science.org/gCubeSystem/maven-portal-bom.git</developerConnection>
        <url>https://code-repo.d4science.org/gCubeSystem/maven-portal-bom</url>
    </scm>
    <properties>
        <gwtVersion>2.5.1</gwtVersion>
        <liferay.version>7.4</liferay.version>
        <jaxws.version>4.0.3</jaxws.version>
        <jakarta-api.version>4.0.2</jakarta-api.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.gcube.distribution</groupId>
                <artifactId>gcube-bom</artifactId>
                <version>4.0.1-SNAPSHOT</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <!-- gcube-bom dependencies -->

            <!-- liferay modules -->

            <dependency>
                <groupId>org.gcube.vomanagement</groupId>
                <artifactId>portal-manager</artifactId>
                <!-- rinominare <artifactId>portal-manager-core</artifactId> -->
                <version>3.0.0-SNAPSHOT</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.vomanagement</groupId>
                <artifactId>usermanagement</artifactId>
                <!-- rinominare <artifactId>portal-usermanagement-core</artifactId> -->
                <version>3.0.0-SNAPSHOT</version>
                <scope>provided</scope>
            </dependency>

            <!-- END liferay modules -->

            <!-- gcube-bom dependencies JAKARTA/JAVAX-->
            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-encryption</artifactId>
                <version>[2.1.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-gcore-stubs</artifactId>
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <!-- Migrated to sg4 + java17 + javax-->
                <groupId>org.gcube.core</groupId>
                <artifactId>common-scope</artifactId>
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-scope-maps</artifactId>
                <version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.resources.discovery</groupId>
                <artifactId>ic-client</artifactId>
                <!-- <version>[1.0.4,2.0.0-SNAPSHOT)</version> -->
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <!-- <scope>provided</scope> -->
            </dependency>

            <dependency>
                <!-- Migrated to sg4 + java17 + javax-->
                <groupId>org.gcube.resources.discovery</groupId>
                <artifactId>discovery-client</artifactId>
                <!-- <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version> -->
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-generic-clients</artifactId>
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-jaxws-calls</artifactId>
                <!-- <version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version> -->
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-clients</artifactId>
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>authorization-client</artifactId>
                <version>[4.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>common-authorization</artifactId>
                <version>[4.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version>
            </dependency>

            <!-- end of gcube-bom dependencies JAKARTA/JAVAX  -->


            <!-- gcube-bom dependencies without JAVAX-->

            <dependency>
                <!-- Migrated to sg4 + java17-->
                <groupId>org.gcube.resources</groupId>
                <artifactId>common-gcore-resources</artifactId>
                <version>[3.0.1-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-gcube-calls</artifactId>
                <version>[1.3.0, 2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-fw-clients</artifactId>
                <version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>common-security</artifactId>
                <version>[1.1.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
            </dependency>

            <dependency>
                <groupId>org.gcube.data.publishing</groupId>
                <artifactId>document-store-lib</artifactId>
                <version>[4.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version>
            </dependency>

            <dependency>
                <groupId>org.gcube.accounting</groupId>
                <artifactId>accounting-lib</artifactId>
                <version>[5.0.0-SNAPSHOT,6.0.0-SNAPSHOT)</version>
            </dependency>

            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>storagehub-model</artifactId>
                <version>[2.0.0, 3.0.0-SNAPSHOT)</version>
            </dependency>

            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>gxHTTP</artifactId>
                <version>[2.1.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
            </dependency>

            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>storagehub-client-library</artifactId>
                <version>[2.0.0, 3.0.0-SNAPSHOT)</version>
            </dependency>

            <dependency>
                <groupId>org.gcube.core</groupId>
                <artifactId>common-configuration-scanner</artifactId>
                <version>[1.1.0,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <!-- end of gcube-bom dependencies without JAVAX-->


            <!-- End Application Support Layer -->
            <!-- FWS-stack -->

            <dependency>
                <groupId>org.gcube.resources</groupId>
                <artifactId>registry-publisher</artifactId>
                <version>[1.3.2,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <!-- End FWS -->
            <!-- Keycloak and orchestrator libs -->
            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>event-publisher-library</artifactId>
                <version>[1.0.0,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal</groupId>
                <artifactId>event-publisher-portal</artifactId>
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.common</groupId>
                <artifactId>oidc-library</artifactId>
                <version>[1.2.0,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal</groupId>
                <artifactId>oidc-library-portal</artifactId>
                <version>[1.2.0,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal</groupId>
                <artifactId>storagehub-icons-library</artifactId>
                <version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal</groupId>
                <artifactId>social-library-stubs</artifactId>
                <version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.social-networking</groupId>
                <artifactId>social-service-client</artifactId>
                <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.social-networking</groupId>
                <artifactId>social-service-model</artifactId>
                <version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal</groupId>
                <artifactId>notifications-common-library</artifactId>
                <version>[1.5.0,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.google</groupId>
                <artifactId>gwt-jsonmaker</artifactId>
                <version>1.2.1</version>
            </dependency>

            <!-- Jakarta libraries -->

            <dependency>
                <groupId>jakarta.ws.rs</groupId>
                <artifactId>jakarta.ws.rs-api</artifactId>
                <version>3.1.0</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>com.sun.xml.ws</groupId>
                <artifactId>jaxws-rt</artifactId>
                <version>${jaxws.version}</version>
                <scope>provided</scope>
            </dependency>

            <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
                <version>6.0.0</version>
            </dependency>

            <dependency>
                <groupId>jakarta.xml.ws</groupId>
                <artifactId>jakarta.xml.ws-api</artifactId>
                <version>${jakarta-api.version}</version>
            </dependency>


            <dependency>
                <groupId>jakarta.activation</groupId>
                <artifactId>jakarta.activation-api</artifactId>
                <version>2.1.3</version>
            </dependency>

            <dependency>
                <groupId>jakarta.annotation</groupId>
                <artifactId>jakarta.annotation-api</artifactId>
                <version>3.0.0</version>
            </dependency>

            <dependency>
                <groupId>jakarta.mail</groupId>
                <artifactId>jakarta.mail-api</artifactId>
                <version>2.1.3</version>
            </dependency>

            <dependency>
                <groupId>jakarta.xml.bind</groupId>
                <artifactId>jakarta.xml.bind-api</artifactId>
                <version>${jakarta-api.version}</version>
            </dependency>

            <dependency>
                <groupId>jakarta.xml.soap</groupId>
                <artifactId>jakarta.xml.soap-api</artifactId>
                <version>3.0.2</version>
            </dependency>
            <dependency>
            	<groupId>org.eclipse.angus</groupId>
            	<artifactId>angus-mail</artifactId>
            	<version>2.0.2</version>
            </dependency>
            <!-- Third-party libraries -->

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>2.0.12</version>
                <scope>provided</scope>
            </dependency>

            <!-- END OF gcube-bom dependencies -->

            <!-- Application Support Layer -->
            <dependency>
                <groupId>org.gcube.applicationsupportlayer</groupId>
                <artifactId>aslcore</artifactId>
                <version>[5.1.2,6.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.applicationsupportlayer</groupId>
                <artifactId>aslsocial</artifactId>
                <version>[1.7.3,2.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>

            <!-- portal core -->
            <dependency>
                <groupId>org.gcube.common.portal</groupId>
                <artifactId>portal-manager</artifactId>
                <version>[2.4.2,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal.auth</groupId>
                <artifactId>portal-auth-library</artifactId>
                <version>[1.0.2,2.0.0-SNAPSHOT)</version>
            </dependency>
            <dependency>
                <groupId>org.gcube.portal</groupId>
                <artifactId>custom-portal-handler</artifactId>
                <version>[2.1.1,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.portlets.user</groupId>
                <artifactId>gcube-widgets</artifactId>
                <version>[2.3.0,3.0.0-SNAPSHOT)</version>
            </dependency>
            <dependency>
                <groupId>org.gcube.dvos</groupId>
                <artifactId>usermanagement-core</artifactId>
                <version>[2.5.0,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.portlet</groupId>
                <artifactId>portlet-api</artifactId>
                <version>3.0.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.liferay.portal</groupId>
                <artifactId>portal-service</artifactId>
                <version>${liferay.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.liferay.portal</groupId>
                <artifactId>util-java</artifactId>
                <version>${liferay.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
                <version>4.0.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet.jsp</groupId>
                <artifactId>javax.servlet.jsp-api</artifactId>
                <version>2.3.3</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>aopalliance</groupId>
                <artifactId>aopalliance</artifactId>
                <version>1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>backport-util-concurrent</groupId>
                <artifactId>backport-util-concurrent</artifactId>
                <version>3.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>jstl</artifactId>
                <version>1.2</version>
                <scope>provided</scope>
            </dependency>
            <!-- gwt -->
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-servlet</artifactId>
                <version>${gwtVersion}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.google.gwt</groupId>
                <artifactId>gwt-user</artifactId>
                <version>${gwtVersion}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.github.gwtbootstrap</groupId>
                <artifactId>gwt-bootstrap</artifactId>
                <version>2.3.2.0</version>
            </dependency>
            <dependency>
                <groupId>org.sonatype.sisu.inject</groupId>
                <artifactId>guice-servlet</artifactId>
                <version>3.0.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.google.code.guice</groupId>
                <artifactId>guice</artifactId>
                <version>3.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.inject</groupId>
                <artifactId>javax.inject</artifactId>
                <version>1</version>
                <scope>provided</scope>
            </dependency>
            <!-- commons -->
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.8</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-compress</artifactId>
                <version>1.3</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-fileupload</groupId>
                <artifactId>commons-fileupload</artifactId>
                <version>1.3.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-httpclient</groupId>
                <artifactId>commons-httpclient</artifactId>
                <version>3.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>1.6.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>3.2</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-configuration</groupId>
                <artifactId>commons-configuration</artifactId>
                <version>1.7</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>1.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.6</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.1.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-net</groupId>
                <artifactId>commons-net</artifactId>
                <version>3.0.1</version>
                <scope>provided</scope>
            </dependency>
            <!-- end commons -->
            <!-- storage layer -->
            <dependency>
                <groupId>org.gcube.contentmanagement</groupId>
                <artifactId>storage-manager-core</artifactId>
                <version>[2.9.1,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.gcube.contentmanagement</groupId>
                <artifactId>storage-manager-wrapper</artifactId>
                <version>[2.5.4,3.0.0-SNAPSHOT)</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.mongodb</groupId>
                <artifactId>mongo-java-driver</artifactId>
                <version>3.6.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.derby</groupId>
                <artifactId>derby</artifactId>
                <version>10.10.1.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.apache.derby</groupId>
                <artifactId>derbytools</artifactId>
                <version>10.8.1.2</version>
                <scope>provided</scope>
            </dependency>
            <!-- end storage layer -->
            <!-- misc -->
            <dependency>
                <groupId>net.sf.ehcache</groupId>
                <artifactId>ehcache-core</artifactId>
                <version>2.5.2</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>18.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.jdo</groupId>
                <artifactId>jdo-api</artifactId>
                <version>3.0.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>net.sf.kxml</groupId>
                <artifactId>kxml2</artifactId>
                <version>2.3.0</version>
                <scope>provided</scope>
            </dependency>
            <!-- logging and mailing -->
            <dependency>
                <groupId>com.sun.mail</groupId>
                <artifactId>javax.mail</artifactId>
                <version>1.5.2</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>2.0.12</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.16</version>
                <scope>provided</scope>
            </dependency>
   <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.13.2</version>
    <scope>test</scope>
   </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <plugins>
            <plugin>
                <!--
				https://mvnrepository.com/artifact/org.codehaus.gmaven/groovy-maven-plugin -->
                <groupId>org.codehaus.gmaven</groupId>
                <artifactId>groovy-maven-plugin</artifactId>
                <version>2.1.1</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <additionalparam>-Xdoclint:none</additionalparam>
                    <additionalJOption>-Xdoclint:none</additionalJOption>
                </configuration>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <id>generate-doc</id>
                        <phase>install</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>