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
<!--    <parent>-->
22
<!--        <groupId>eu.dnetlib</groupId>-->
23
<!--        <artifactId>dnet45-parent</artifactId>-->
24
<!--        <version>1.0.0-SNAPSHOT</version>-->
25
<!--    </parent>-->
26

    
27
    <properties>
28
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
30
        <java.version>1.8</java.version>
31
    </properties>
32

    
33
    <dependencies>
34
        <dependency>
35
            <groupId>org.springframework.boot</groupId>
36
            <artifactId>spring-boot-starter-data-mongodb</artifactId>
37
        </dependency>
38
        <dependency>
39
            <groupId>org.springframework.boot</groupId>
40
            <artifactId>spring-boot-starter-web</artifactId>
41
            <exclusions>
42
                <exclusion>
43
                    <groupId> org.springframework.boot</groupId>
44
                    <artifactId>spring-boot-starter-logging</artifactId>
45
                </exclusion>
46
            </exclusions>
47
        </dependency>
48

    
49
        <dependency>
50
            <groupId>org.springframework.boot</groupId>
51
            <artifactId>spring-boot-starter-tomcat</artifactId>
52
            <scope>provided</scope>
53
        </dependency>
54

    
55
        <dependency>
56
            <groupId>log4j</groupId>
57
            <artifactId>log4j</artifactId>
58
            <version>1.2.17</version>
59
        </dependency>
60
        <dependency>
61
            <groupId>com.google.code.gson</groupId>
62
            <artifactId>gson</artifactId>
63
            <version>2.8.2</version>
64
        </dependency>
65
        <dependency>
66
            <groupId>eu.dnetlib</groupId>
67
            <artifactId>uoa-help-texts-library</artifactId>
68
            <version>2.0.0-SNAPSHOT</version>
69
        </dependency>
70
    </dependencies>
71

    
72
    <build>
73
        <plugins>
74
            <plugin>
75
                <groupId>org.springframework.boot</groupId>
76
                <artifactId>spring-boot-maven-plugin</artifactId>
77
            </plugin>
78
            <!--3d answer: https://stackoverflow.com/questions/23260057/the-forked-vm-terminated-without-saying-properly-goodbye-vm-crash-or-system-exi-->
79
            <!--If you use openjdk there might be a problem with surfire plugin - uncomment following lines-->
80
            <plugin>
81
                <groupId>org.apache.maven.plugins</groupId>
82
                <artifactId>maven-surefire-plugin</artifactId>
83
                <version>2.19.1</version>
84
                <configuration>
85
                    <!--<testFailureIgnore>true</testFailureIgnore>-->
86
                    <useSystemClassLoader>false</useSystemClassLoader>
87
                </configuration>
88
            </plugin>
89
        </plugins>
90
        <finalName>uoa-monitor-service</finalName>
91
    </build>
92
</project>
    (1-1/1)