518 lines
18 KiB
XML
518 lines
18 KiB
XML
<?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.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.5.4</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>eu.dnetlib</groupId>
|
|
<artifactId>uoa-repository-manager-service</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<spring.boot.version>2.5.4</spring.boot.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-actuator-autoconfigure</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
<!--<scope>provided</scope>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-netflix-hystrix -->
|
|
<!--
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
<version>2.2.9.RELEASE</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
<version>3.0.1</version>
|
|
</dependency>
|
|
-->
|
|
<!--
|
|
<dependency>
|
|
<groupId>javax.el</groupId>
|
|
<artifactId>javax.el-api</artifactId>
|
|
<version>3.0.0</version>
|
|
</dependency>
|
|
-->
|
|
<dependency>
|
|
<groupId>eu.dnetlib</groupId>
|
|
<artifactId>uoa-clients</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0)</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.dnetlib</groupId>
|
|
<artifactId>dnet-runtime</artifactId>
|
|
<version>1.0.2-SNAPSHOT</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.dnetlib</groupId>
|
|
<artifactId>uoa-hcm</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0)</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework</groupId>-->
|
|
<!-- <artifactId>spring-webmvc</artifactId>-->
|
|
<!-- <version>${spring.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.hibernate</groupId>-->
|
|
<!-- <artifactId>hibernate-validator-annotation-processor</artifactId>-->
|
|
<!-- <version>4.1.0.Final</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>log4j</groupId>-->
|
|
<!-- <artifactId>log4j</artifactId>-->
|
|
<!-- <version>${log4j.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>eu.dnetlib</groupId>
|
|
<artifactId>uoa-domain</artifactId>
|
|
<version>[2.0.0-SNAPSHOT, 3.0.0)</version>
|
|
<exclusions>
|
|
<exclusion> <!-- declare the exclusion here -->
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.dnetlib</groupId>
|
|
<artifactId>dnet-openaire-usage-stats-sushilite</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.dnetlib.dhp</groupId>
|
|
<artifactId>dnet-openaire-broker-common</artifactId>
|
|
<version>3.1.1-SNAPSHOT</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>se.kb</groupId>
|
|
<artifactId>oai4j</artifactId>
|
|
<version>[0.6b1,)</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xalan</groupId>
|
|
<artifactId>xalan</artifactId>
|
|
<version>2.7.2</version>
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>xerces</groupId>-->
|
|
<!-- <artifactId>xercesImpl</artifactId>-->
|
|
<!-- <version>2.11.0</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!--
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>2.9.4</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.9.4</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework</groupId>-->
|
|
<!-- <artifactId>spring-context</artifactId>-->
|
|
<!-- <version>${spring.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework</groupId>-->
|
|
<!-- <artifactId>spring-jdbc</artifactId>-->
|
|
<!-- <version>${spring.version}</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-client</artifactId>
|
|
<version>1.19.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.aksw.gson</groupId>
|
|
<artifactId>gson-utils-core</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20080701</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.6.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>2.7.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>2.7.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/postgresql/postgresql -->
|
|
<dependency>
|
|
<groupId>postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>9.1-901.jdbc3</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.tomcat</groupId>-->
|
|
<!-- <artifactId>tomcat-catalina</artifactId>-->
|
|
<!-- <version>9.0.22</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mitre</groupId>
|
|
<artifactId>openid-connect-client</artifactId>
|
|
<version>1.3.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
</dependency>
|
|
<!--
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
<version>2.5.1</version>
|
|
<type>pom</type>
|
|
</dependency>
|
|
-->
|
|
|
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>${jedis.version}</version>
|
|
<!--<version>3.7.0</version>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.6.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.thetransactioncompany</groupId>
|
|
<artifactId>cors-filter</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
<artifactId>hystrix-core</artifactId>
|
|
<version>1.5.18</version>
|
|
</dependency>
|
|
<!--
|
|
<dependency>
|
|
<groupId>com.netflix.rxjava</groupId>
|
|
<artifactId>rxjava-core</artifactId>
|
|
<version>0.20.7</version>
|
|
</dependency>
|
|
-->
|
|
<!-- https://mvnrepository.com/artifact/javax.xml.ws/jaxws-api -->
|
|
<dependency>
|
|
<groupId>javax.xml.ws</groupId>
|
|
<artifactId>jaxws-api</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/javax.jws/javax.jws-api -->
|
|
<dependency>
|
|
<groupId>javax.jws</groupId>
|
|
<artifactId>javax.jws-api</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
<artifactId>jaxb-impl</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-core -->
|
|
<dependency>
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
<artifactId>jaxb-core</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1-rev-1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.eurocris</groupId>
|
|
<artifactId>openaire-cris-validator</artifactId>
|
|
<version>1.0.1-SNAPSHOT</version>
|
|
<!-- <exclusions>-->
|
|
<!-- <exclusion>-->
|
|
<!-- <groupId>org.apache.logging.log4j</groupId>-->
|
|
<!-- <artifactId>log4j-1.2-api</artifactId>-->
|
|
<!-- </exclusion>-->
|
|
<!-- </exclusions>-->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>2.26.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Enable micrometer >> -->
|
|
<!-- <dependency> <!– TODO: remove this with ActuatorConfig class –>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-actuator</artifactId>-->
|
|
<!-- <version>1.3.5.RELEASE</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
|
|
<!-- <version>2.1.18.RELEASE</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.micrometer</groupId>-->
|
|
<!-- <artifactId>micrometer-core</artifactId>-->
|
|
<!-- <version>1.7.2</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
<version>1.7.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- << Enable micrometer -->
|
|
|
|
</dependencies>
|
|
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-bom</artifactId>
|
|
<version>2021.0.2</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
|
|
<plugins>
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
</configuration>
|
|
</plugin>
|
|
-->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>cz.habarta.typescript-generator</groupId>
|
|
<artifactId>typescript-generator-maven-plugin</artifactId>
|
|
<version>2.16.538</version>
|
|
<executions>
|
|
<execution>
|
|
<id>java to typeScript</id>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<jsonLibrary>jackson2</jsonLibrary>
|
|
<outputFileType>implementationFile</outputFileType>
|
|
<mapClasses>asClasses</mapClasses>
|
|
<classPatterns>
|
|
<pattern>eu.dnetlib.domain.functionality.validator.*</pattern>
|
|
</classPatterns>
|
|
<outputFile>target/operation.ts</outputFile>
|
|
<outputKind>module</outputKind>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>uoa-repository-manager-service</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>dnet-deps</id>
|
|
<name>dnet-dependencies</name>
|
|
<url>https://maven.d4science.org/nexus/content/repositories/dnet-deps</url>
|
|
<layout>default</layout>
|
|
</repository>
|
|
<repository>
|
|
<id>dnet45-snapshots</id>
|
|
<name>D-Net 45 Snapshots</name>
|
|
<url>https://maven.d4science.org/nexus/content/repositories/dnet45-snapshots</url>
|
|
<layout>default</layout>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>dnet45-releases</id>
|
|
<name>D-Net 45 Releases</name>
|
|
<url>https://maven.d4science.org/nexus/content/repositories/dnet45-releases</url>
|
|
<layout>default</layout>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|