Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
3
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
    <modelVersion>4.0.0</modelVersion>
6

    
7
    <groupId>eu.dnetlib</groupId>
8
    <artifactId>uoa-monitor-service</artifactId>
9
    <version>1.0.0-SNAPSHOT</version>
10
    <packaging>war</packaging>
11

    
12
    <name>uoa-monitor-service</name>
13

    
14
    <parent>
15
        <groupId>org.springframework.boot</groupId>
16
        <artifactId>spring-boot-starter-parent</artifactId>
17
        <version>1.5.18.RELEASE</version>
18
        <relativePath/> <!-- lookup parent from repository -->
19
    </parent>
20

    
21
    <properties>
22
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24
        <java.version>1.8</java.version>
25
    </properties>
26

    
27
    <dependencies>
28
        <dependency>
29
            <groupId>org.springframework.boot</groupId>
30
            <artifactId>spring-boot-starter-data-mongodb</artifactId>
31
        </dependency>
32
        <dependency>
33
            <groupId>org.springframework.boot</groupId>
34
            <artifactId>spring-boot-starter-web</artifactId>
35
            <exclusions>
36
                <exclusion>
37
                    <groupId> org.springframework.boot</groupId>
38
                    <artifactId>spring-boot-starter-logging</artifactId>
39
                </exclusion>
40
            </exclusions>
41
        </dependency>
42

    
43
        <dependency>
44
            <groupId>org.springframework.boot</groupId>
45
            <artifactId>spring-boot-starter-tomcat</artifactId>
46
            <scope>provided</scope>
47
        </dependency>
48

    
49
        <dependency>
50
            <groupId>log4j</groupId>
51
            <artifactId>log4j</artifactId>
52
            <version>1.2.17</version>
53
        </dependency>
54
        <dependency>
55
            <groupId>com.google.code.gson</groupId>
56
            <artifactId>gson</artifactId>
57
            <version>2.8.2</version>
58
        </dependency>
59
    </dependencies>
60

    
61
    <build>
62
        <plugins>
63
            <plugin>
64
                <groupId>org.springframework.boot</groupId>
65
                <artifactId>spring-boot-maven-plugin</artifactId>
66
            </plugin>
67
            <!--3d answer: https://stackoverflow.com/questions/23260057/the-forked-vm-terminated-without-saying-properly-goodbye-vm-crash-or-system-exi-->
68
            <!--If you use openjdk there might be a problem with surfire plugin - uncomment following lines-->
69
            <plugin>
70
                <groupId>org.apache.maven.plugins</groupId>
71
                <artifactId>maven-surefire-plugin</artifactId>
72
                <version>2.19.1</version>
73
                <configuration>
74
                    <!--<testFailureIgnore>true</testFailureIgnore>-->
75
                    <useSystemClassLoader>false</useSystemClassLoader>
76
                </configuration>
77
            </plugin>
78
        </plugins>
79
        <finalName>uoa-monitor-service</finalName>
80
    </build>
81
</project>
    (1-1/1)