<?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.gcube.tools</groupId>
        <artifactId>maven-parent</artifactId>
        <version>1.3.0</version>
    </parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.gcube.social-networking</groupId>
	<artifactId>social-service-client</artifactId>
	<packaging>jar</packaging>
	<version>3.0.0</version>
	<name>social-networking-service-client</name>
	<description>The social networking web service client library</description>
	<properties>
        <java.version>17</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <distroDirectory>${project.basedir}/distro</distroDirectory>
        <gCubeSubsystem>social-networking</gCubeSubsystem>
        <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    </properties>
	<scm>
        <connection>
            scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
        <developerConnection>
            scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
        <url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
    </scm>

	<developers>
		<developer>
			<id>ahmed.ibrahim</id>
			<name>Ahmed Salah Tawfik Ibrahim</name>
			<email>ahmed.ibrahim@isti.cnr.it</email>
			<organization>D4Science Infrastructure, Pisa, Italy</organization>
			<organizationUrl>https://www.d4science.org/</organizationUrl>
			<roles>
			<role>researcher</role>
			<role>developer</role>
			</roles>
			<timezone>Europe/Rome</timezone>
		</developer>
		<developer>
			<id>alfredo.oliviero</id>
			<name>Alfredo Oliviero</name>
			<email>alfredo.oliviero@isti.cnr.it</email>
			<url>https://orcid.org/0009-0007-3191-1025</url>
			<organization>D4Science Infrastructure, Pisa, Italy</organization>
			<organizationUrl>https://www.d4science.org/</organizationUrl>
			<roles>
			<role>researcher</role>
			<role>developer</role>
			</roles>
			<timezone>Europe/Rome</timezone>
		</developer>
		<developer>
			<id>giancarlo.panichi</id>
			<name>Giancarlo Panichi</name>
			<email>giancarlo.panichi@isti.cnr.it</email>
			<url>https://orcid.org/0000-0001-8375-6644</url>
			<organization>D4Science Infrastructure, Pisa, Italy</organization>
			<organizationUrl>https://www.d4science.org/</organizationUrl>
			<roles>
			<role>researcher</role>
			<role>developer</role>
			</roles>
			<timezone>Europe/Rome</timezone>
		</developer>
		<developer>
			<id>massimiliano.assante</id>
			<name>Massimiliano Assante</name>
			<email>massimiliano.assante@isti.cnr.it</email>
			<url>https://orcid.org/0000-0002-3761-1492</url>
			<organization>D4Science Infrastructure, Pisa, Italy</organization>
			<organizationUrl>https://www.d4science.org/</organizationUrl>
			<roles>
			<role>researcher</role>
			<role>developer</role>
			</roles>
			<timezone>Europe/Rome</timezone>
		</developer>
</developers>
	<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.gcube.distribution</groupId>
                <artifactId>gcube-bom</artifactId>
                <version>4.0.1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
	<dependencies>
        <dependency>
            <groupId>org.gcube.common.security</groupId>
            <artifactId>gcube-secrets</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.gcube.core</groupId>
            <artifactId>common-generic-clients</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.gcube.social-networking</groupId>
            <artifactId>social-service-model</artifactId>
            <version>[2.0.0,3.0.0-SNAPSHOT)</version>
        </dependency>

        <!-- jackson libraries -->
        <dependency>
            <groupId>org.gcube.common</groupId>
            <artifactId>gcube-jackson-core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.gcube.common</groupId>
            <artifactId>gcube-jackson-annotations</artifactId>
        </dependency>
        <dependency>
            <groupId>org.gcube.common</groupId>
            <artifactId>gcube-jackson-databind</artifactId>
        </dependency>

        <!-- jakarta libraries -->
        <dependency>
            <groupId>org.glassfish.jersey.media</groupId>
            <artifactId>jersey-media-json-jackson</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.glassfish.jersey.core</groupId>
            <artifactId>jersey-client</artifactId>
            <scope>compile</scope>
        </dependency>

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

        <!-- Third-party libraries -->
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
            <scope>compile</scope>
        </dependency>

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

        <!-- test libraries -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>test</scope>
        </dependency>
        
        <dependency>
            <groupId>org.gcube.common</groupId>
            <artifactId>d4science-iam-client</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
	<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <release>${java.version}</release>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <additionalOptions>-Xdoclint:none</additionalOptions>
                </configuration>
                <executions>
                    <execution>
                        <id>generate-doc</id>
                        <phase>install</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>