@ -2,27 +2,21 @@
<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>
<groupId > eu.dnetlib</groupId>
<artifactId > uoa-admin-tools</artifactId>
<version > 2.0.5-SNAPSHOT</version>
<packaging > war</packaging>
<name > uoa-admin-tools</name>
<scm >
<connection > scm:git:gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git</connection>
<developerConnection > scm:git:gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git</developerConnection>
<url > https://code-repo.d4science.org/MaDgIK/uoa-admin-tools/</url>
</scm>
<!-- Use parent with artifact spring - boot - starter - parent and add plugin with artifact spring - boot - maven - plugin in order to run springboot run command -->
<scm >
<developerConnection > scm:git:gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git</developerConnection>
</scm>
<parent >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-parent</artifactId>
<version > 1.5.8.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
<groupId > eu.dnetlib</groupId>
<artifactId > uoa-spring-boot-parent</artifactId>
<version > 1.0.0</version>
</parent>
<properties >
<project.build.sourceEncoding > UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding > UTF-8</project.reporting.outputEncoding>
<java.version > 1.8</java.version>
<timestamp > ${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format > E MMM dd HH:mm:ss z yyyy</maven.build.timestamp.format>
</properties>
@ -31,77 +25,51 @@
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-data-mongodb</artifactId>
</dependency>
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-web</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-tomcat</artifactId>
<scope > provided</scope>
</dependency>
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-test</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-starter-security</artifactId>
</dependency>
<dependency >
<groupId > log4j</groupId>
<artifactId > log4j</artifactId>
<version > 1.2.17</version>
</dependency>
<dependency >
<groupId > com.google.code.gson</groupId>
<artifactId > gson</artifactId>
<version > 2.8.2</version>
</dependency>
<dependency >
<groupId > javax.mail</groupId>
<artifactId > mail</artifactId>
<version > 1.5.0-b01</version>
</dependency>
<dependency >
<groupId > commons-io </groupId>
<artifactId > commons-io </artifactId>
<version > 20030203.000550 </version>
</dependency>
<!-- <dependency> -->
<!-- <groupId>commons - io</groupId> -->
<!-- <artifactId>commons - io</artifactId> -->
<!-- <version>20030203.000550</version> -->
<!-- </dependency> -->
<dependency > <!-- this dependency includes dependency to uoa - authorization - library -->
<groupId > eu.dnetlib</groupId>
<artifactId > uoa-admin-tools-library</artifactId>
<version > 1.0.5</version>
<version > 1.0.6</version>
</dependency>
<!-- swagger -->
<dependency >
<groupId > io.springfox</groupId>
<artifactId > springfox-swagger2</artifactId>
<version > ${swagger-version}</version>
</dependency>
<!-- swagger official ui -->
<dependency >
<groupId > io.springfox</groupId>
<artifactId > springfox-swagger-ui</artifactId>
<version > ${swagger-version}</version>
</dependency>
</dependencies>
<build >
<plugins >
<!-- Use parent with artifact spring - boot - starter - parent and add plugin with artifact spring - boot - maven - plugin in order to run springboot run command -->
<plugin >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-maven-plugin</artifactId>
</plugin>
<!-- 3d answer: https://stackoverflow.com/questions/23260057/the - forked - vm - terminated - without - saying - properly - goodbye - vm - crash - or - system - exi -->
<!-- If you use openjdk there might be a problem with surfire plugin - uncomment following lines -->
<!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> -- >
<!-- <artifactId>maven - surefire - plugin</artifactId> -- >
<!-- <version>2.19.1</version> -- >
<!-- <configuration> -- >
<!-- <!–<testFailureIgnore>true</testFailureIgnore>–> -- >
<!-- <useSystemClassLoader>false</useSystemClassLoader> -- >
<!-- </configuration> -- >
<!-- </plugin> -- >
<groupId > org.springframework.boot</groupId>
<artifactId > spring-boot-maven-plugin</artifactId>
<configuration >
<mainClass > eu.dnetlib.uoaadmintools.UoaAdminToolsApplication</mainClass>
<executable > true</executable>
</configuration>
<executions >
<execution >
<goals >
<goal > repackage</goal >
</goals >
</execution >
</executions >
</plugin >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-war-plugin</artifactId>
@ -112,27 +80,5 @@
</plugin>
</plugins>
<finalName > uoa-admin-tools</finalName>
<resources >
<resource >
<directory > src/main/resources</directory>
<filtering > true</filtering>
</resource>
</resources>
</build>
<repositories >
<repository >
<id > dnet45-releases</id>
<name > D-Net 45 Releases</name>
<url > http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
<releases >
<enabled > true</enabled>
</releases>
<snapshots >
<enabled > false</enabled>
</snapshots>
<layout > default</layout>
</repository>
</repositories>
</project>