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.8.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
        <dependency>
71
            <groupId>eu.dnetlib</groupId>
72
            <artifactId>uoa-admin-tools-library</artifactId>
73
            <version>1.0.0-SNAPSHOT</version>
74
        </dependency>
75
        <dependency>
76
            <groupId>eu.dnetlib</groupId>
77
            <artifactId>uoa-authorization-library</artifactId>
78
            <version>1.0.0-SNAPSHOT</version>
79
        </dependency>
80
        <dependency>
81
            <groupId>eu.dnetlib</groupId>
82
            <artifactId>uoa-notification-service</artifactId>
83
            <version>1.0.0-SNAPSHOT</version>
84
        </dependency>
85
        <dependency>
86
            <groupId>org.springframework.boot</groupId>
87
            <artifactId>spring-boot-starter-test</artifactId>
88
            <scope>test</scope>
89
        </dependency>
90
        <dependency>
91
            <groupId>org.springframework.boot</groupId>
92
            <artifactId>spring-boot-starter-security</artifactId>
93
        </dependency>
94
    </dependencies>
95

    
96
    <build>
97
        <plugins>
98
            <plugin>
99
                <groupId>org.springframework.boot</groupId>
100
                <artifactId>spring-boot-maven-plugin</artifactId>
101
            </plugin>
102
            <!--3d answer: https://stackoverflow.com/questions/23260057/the-forked-vm-terminated-without-saying-properly-goodbye-vm-crash-or-system-exi-->
103
            <!--If you use openjdk there might be a problem with surfire plugin - uncomment following lines-->
104
            <plugin>
105
                <groupId>org.apache.maven.plugins</groupId>
106
                <artifactId>maven-surefire-plugin</artifactId>
107
                <version>2.19.1</version>
108
                <configuration>
109
                    <!--<testFailureIgnore>true</testFailureIgnore>-->
110
                    <useSystemClassLoader>false</useSystemClassLoader>
111
                </configuration>
112
            </plugin>
113
        </plugins>
114
        <finalName>uoa-monitor-service</finalName>
115
    </build>
116
</project>
(1-1/2)