Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
	<modelVersion>4.0.0</modelVersion>
5
	<groupId>eu.dnetlib</groupId>
6
	<artifactId>uoa-admin-tools</artifactId>
7
	<version>2.0.5-SNAPSHOT</version>
8
	<packaging>war</packaging>
9
	<name>uoa-admin-tools</name>
10
<!-- Use parent with artifact spring-boot-starter-parent and add plugin with artifact spring-boot-maven-plugin in order to run springboot run command-->
11
	<parent>
12
		<groupId>org.springframework.boot</groupId>
13
		<artifactId>spring-boot-starter-parent</artifactId>
14
		<version>1.5.8.RELEASE</version>
15
		<relativePath/> <!-- lookup parent from repository -->
16
	</parent>
17
	<properties>
18
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20
		<java.version>1.8</java.version>
21
        <timestamp>${maven.build.timestamp}</timestamp>
22
        <maven.build.timestamp.format>E MMM dd HH:mm:ss z yyyy</maven.build.timestamp.format>
23
	</properties>
24
	<dependencies>
25
		<dependency>
26
			<groupId>org.springframework.boot</groupId>
27
			<artifactId>spring-boot-starter-data-mongodb</artifactId>
28
		</dependency>
29
		<dependency>
30
			<groupId>org.springframework.boot</groupId>
31
			<artifactId>spring-boot-starter-web</artifactId>
32
			<exclusions>
33
				<exclusion>
34
					<groupId> org.springframework.boot</groupId>
35
					<artifactId>spring-boot-starter-logging</artifactId>
36
				</exclusion>
37
			</exclusions>
38
		</dependency>
39

    
40
		<dependency>
41
			<groupId>org.springframework.boot</groupId>
42
			<artifactId>spring-boot-starter-tomcat</artifactId>
43
			<scope>provided</scope>
44
		</dependency>
45
		<dependency>
46
			<groupId>org.springframework.boot</groupId>
47
			<artifactId>spring-boot-starter-test</artifactId>
48
			<scope>test</scope>
49
		</dependency>
50

    
51
        <dependency>
52
            <groupId>org.springframework.boot</groupId>
53
            <artifactId>spring-boot-starter-security</artifactId>
54
        </dependency>
55

    
56
		<dependency>
57
			<groupId>log4j</groupId>
58
			<artifactId>log4j</artifactId>
59
			<version>1.2.17</version>
60
		</dependency>
61
		<dependency>
62
			<groupId>com.google.code.gson</groupId>
63
			<artifactId>gson</artifactId>
64
			<version>2.8.2</version>
65
		</dependency>
66
        <dependency>
67
            <groupId>javax.mail</groupId>
68
            <artifactId>mail</artifactId>
69
            <version>1.5.0-b01</version>
70
        </dependency>
71
        <dependency>
72
            <groupId>commons-io</groupId>
73
            <artifactId>commons-io</artifactId>
74
            <version>20030203.000550</version>
75
        </dependency>
76
        <dependency> <!-- this dependency includes dependency to uoa-authorization-library -->
77
            <groupId>eu.dnetlib</groupId>
78
            <artifactId>uoa-admin-tools-library</artifactId>
79
            <version>1.0.5</version>
80
        </dependency>
81
    </dependencies>
82
	<build>
83
		<plugins>
84
<!-- Use parent with artifact spring-boot-starter-parent and add plugin with artifact spring-boot-maven-plugin in order to run springboot run command-->
85
            <plugin>
86
				<groupId>org.springframework.boot</groupId>
87
				<artifactId>spring-boot-maven-plugin</artifactId>
88
			</plugin>
89
			<!--3d answer: https://stackoverflow.com/questions/23260057/the-forked-vm-terminated-without-saying-properly-goodbye-vm-crash-or-system-exi-->
90
			<!--If you use openjdk there might be a problem with surfire plugin - uncomment following lines-->
91
			<!--<plugin>-->
92
				<!--<groupId>org.apache.maven.plugins</groupId>-->
93
				<!--<artifactId>maven-surefire-plugin</artifactId>-->
94
				<!--<version>2.19.1</version>-->
95
				<!--<configuration>-->
96
					<!--&lt;!&ndash;<testFailureIgnore>true</testFailureIgnore>&ndash;&gt;-->
97
					<!--<useSystemClassLoader>false</useSystemClassLoader>-->
98
				<!--</configuration>-->
99
			<!--</plugin>-->
100
            <plugin>
101
                <groupId>org.apache.maven.plugins</groupId>
102
                <artifactId>maven-war-plugin</artifactId>
103
                <version>2.6</version>
104
                <configuration>
105
                    <failOnMissingWebXml>false</failOnMissingWebXml>
106
                </configuration>
107
            </plugin>
108
		</plugins>
109
        <finalName>uoa-admin-tools</finalName>
110
        <resources>
111
            <resource>
112
                <directory>src/main/resources</directory>
113
                <filtering>true</filtering>
114
            </resource>
115
        </resources>
116
	</build>
117

    
118
    <repositories>
119
        <repository>
120
            <id>dnet45-releases</id>
121
            <name>D-Net 45 Releases</name>
122
            <url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
123
            <releases>
124
                <enabled>true</enabled>
125
            </releases>
126
            <snapshots>
127
                <enabled>false</enabled>
128
            </snapshots>
129
            <layout>default</layout>
130
        </repository>
131
    </repositories>
132

    
133
</project>
(5-5/7)