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

    
6
	<groupId>eu.dnetlib</groupId>
7
	<artifactId>uoa-admin-tools</artifactId>
8
	<version>2.0.0-SNAPSHOT</version>
9
	<packaging>war</packaging>
10

    
11
	<name>uoa-admin-tools</name>
12

    
13
<!-- Use parent with artifact spring-boot-starter-parent and add plugin with artifact spring-boot-maven-plugin in order to run springboot run command-->
14
<!--	<parent>-->
15
<!--		<groupId>org.springframework.boot</groupId>-->
16
<!--		<artifactId>spring-boot-starter-parent</artifactId>-->
17
<!--		<version>1.5.8.RELEASE</version>-->
18
<!--		<relativePath/> &lt;!&ndash; lookup parent from repository &ndash;&gt;-->
19
<!--	</parent>-->
20

    
21
    <!-- Comment parent with artifact dnet45-parent and <dependencyManagement> in order to run springboot run command -->
22
    <parent>
23
        <groupId>eu.dnetlib</groupId>
24
        <artifactId>dnet45-parent</artifactId>
25
        <version>1.0.0</version>
26
    </parent>
27

    
28
	<properties>
29
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
31
		<java.version>1.8</java.version>
32
        <timestamp>${maven.build.timestamp}</timestamp>
33
        <maven.build.timestamp.format>E MMM dd HH:mm:ss z yyyy</maven.build.timestamp.format>
34
	</properties>
35

    
36

    
37
    <!-- Comment parent with artifact dnet45-parent and <dependencyManagement> in order to run springboot run command -->
38
    <dependencyManagement>
39
        <dependencies>
40
            <dependency>
41
                <groupId>org.springframework.boot</groupId>
42
                <artifactId>spring-boot-dependencies</artifactId>
43
                <version>1.5.8.RELEASE</version>
44
                <type>pom</type>
45
                <scope>import</scope>
46
            </dependency>
47
        </dependencies>
48
    </dependencyManagement>
49
	<dependencies>
50
		<dependency>
51
			<groupId>org.springframework.boot</groupId>
52
			<artifactId>spring-boot-starter-data-mongodb</artifactId>
53
		</dependency>
54
		<dependency>
55
			<groupId>org.springframework.boot</groupId>
56
			<artifactId>spring-boot-starter-web</artifactId>
57
			<exclusions>
58
				<exclusion>
59
					<groupId> org.springframework.boot</groupId>
60
					<artifactId>spring-boot-starter-logging</artifactId>
61
				</exclusion>
62
			</exclusions>
63
		</dependency>
64

    
65
		<dependency>
66
			<groupId>org.springframework.boot</groupId>
67
			<artifactId>spring-boot-starter-tomcat</artifactId>
68
			<scope>provided</scope>
69
		</dependency>
70
		<dependency>
71
			<groupId>org.springframework.boot</groupId>
72
			<artifactId>spring-boot-starter-test</artifactId>
73
			<scope>test</scope>
74
		</dependency>
75

    
76
        <dependency>
77
            <groupId>org.springframework.boot</groupId>
78
            <artifactId>spring-boot-starter-security</artifactId>
79
        </dependency>
80

    
81
		<dependency>
82
			<groupId>log4j</groupId>
83
			<artifactId>log4j</artifactId>
84
			<version>1.2.17</version>
85
		</dependency>
86
		<dependency>
87
			<groupId>com.google.code.gson</groupId>
88
			<artifactId>gson</artifactId>
89
			<version>2.8.2</version>
90
		</dependency>
91
        <dependency>
92
            <groupId>javax.mail</groupId>
93
            <artifactId>mail</artifactId>
94
            <version>1.5.0-b01</version>
95
        </dependency>
96
        <dependency>
97
            <groupId>commons-io</groupId>
98
            <artifactId>commons-io</artifactId>
99
            <version>20030203.000550</version>
100
        </dependency>
101
        <dependency>
102
            <groupId>eu.dnetlib</groupId>
103
            <artifactId>uoa-admin-tools-library</artifactId>
104
            <version>1.0.0-SNAPSHOT</version>
105
        </dependency>
106
        <!--<dependency>
107
            <groupId>eu.dnetlib</groupId>
108
            <artifactId>uoa-authorization-library</artifactId>
109
            <version>1.0.0-SNAPSHOT</version>
110
        </dependency>-->
111
    </dependencies>
112

    
113
	<build>
114
		<plugins>
115
<!-- Use parent with artifact spring-boot-starter-parent and add plugin with artifact spring-boot-maven-plugin in order to run springboot run command-->
116
<!--            <plugin>-->
117
<!--				<groupId>org.springframework.boot</groupId>-->
118
<!--				<artifactId>spring-boot-maven-plugin</artifactId>-->
119
<!--			</plugin>-->
120
			<!--3d answer: https://stackoverflow.com/questions/23260057/the-forked-vm-terminated-without-saying-properly-goodbye-vm-crash-or-system-exi-->
121
			<!--If you use openjdk there might be a problem with surfire plugin - uncomment following lines-->
122
			<!--<plugin>-->
123
				<!--<groupId>org.apache.maven.plugins</groupId>-->
124
				<!--<artifactId>maven-surefire-plugin</artifactId>-->
125
				<!--<version>2.19.1</version>-->
126
				<!--<configuration>-->
127
					<!--&lt;!&ndash;<testFailureIgnore>true</testFailureIgnore>&ndash;&gt;-->
128
					<!--<useSystemClassLoader>false</useSystemClassLoader>-->
129
				<!--</configuration>-->
130
			<!--</plugin>-->
131

    
132
            <plugin>
133
                <groupId>org.apache.maven.plugins</groupId>
134
                <artifactId>maven-war-plugin</artifactId>
135
                <version>2.6</version>
136
                <configuration>
137
                    <failOnMissingWebXml>false</failOnMissingWebXml>
138
                </configuration>
139
            </plugin>
140
		</plugins>
141
        <finalName>uoa-admin-tools</finalName>
142
        <resources>
143
            <resource>
144
                <directory>src/main/resources</directory>
145
                <filtering>true</filtering>
146
            </resource>
147
        </resources>
148
	</build>
149

    
150

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