Project

General

Profile

1 60238 konstantin
<?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-orcid-service</artifactId>
8 61807 konstantin
	<version>1.0.1-SNAPSHOT</version>
9 60238 konstantin
	<packaging>war</packaging>
10
11
	<name>uoa-orcid-service</name>
12
13 61639 konstantin
    <!-- 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.11.RELEASE</version>
18
		<relativePath/> <!-- lookup parent from repository -->
19
	</parent>
20 60238 konstantin
21 61634 konstantin
    <!-- Comment parent with artifact dnet45-parent and <dependencyManagement> in order to run springboot run command -->
22 61639 konstantin
<!--    <parent>-->
23
<!--        <groupId>eu.dnetlib</groupId>-->
24
<!--        <artifactId>dnet45-parent</artifactId>-->
25
<!--        <version>1.0.0</version>-->
26
<!--    </parent>-->
27 61634 konstantin
28 60238 konstantin
	<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 61533 konstantin
        <timestamp>${maven.build.timestamp}</timestamp>
33
        <maven.build.timestamp.format>E MMM dd HH:mm:ss z yyyy</maven.build.timestamp.format>
34 60238 konstantin
	</properties>
35
36 61634 konstantin
    <!-- Comment parent with artifact dnet45-parent and <dependencyManagement> in order to run springboot run command -->
37 61639 konstantin
<!--    <dependencyManagement>-->
38
<!--        <dependencies>-->
39
<!--            <dependency>-->
40
<!--                <groupId>org.springframework.boot</groupId>-->
41
<!--                <artifactId>spring-boot-dependencies</artifactId>-->
42
<!--                <version>1.5.11.RELEASE</version>-->
43
<!--                <type>pom</type>-->
44
<!--                <scope>import</scope>-->
45
<!--            </dependency>-->
46
<!--        </dependencies>-->
47
<!--    </dependencyManagement>-->
48 60238 konstantin
	<dependencies>
49
		<dependency>
50
			<groupId>org.springframework.boot</groupId>
51
			<artifactId>spring-boot-starter-data-mongodb</artifactId>
52
		</dependency>
53
		<dependency>
54
			<groupId>org.springframework.boot</groupId>
55
			<artifactId>spring-boot-starter-web</artifactId>
56
			<exclusions>
57
				<exclusion>
58
					<groupId> org.springframework.boot</groupId>
59
					<artifactId>spring-boot-starter-logging</artifactId>
60
				</exclusion>
61
			</exclusions>
62
		</dependency>
63
64
		<dependency>
65
			<groupId>org.springframework.boot</groupId>
66
			<artifactId>spring-boot-starter-tomcat</artifactId>
67
			<scope>provided</scope>
68
		</dependency>
69
		<dependency>
70
			<groupId>org.springframework.boot</groupId>
71
			<artifactId>spring-boot-starter-test</artifactId>
72
			<scope>test</scope>
73
		</dependency>
74
75
        <dependency>
76
            <groupId>org.springframework.boot</groupId>
77
            <artifactId>spring-boot-starter-security</artifactId>
78
        </dependency>
79
80
		<dependency>
81
			<groupId>log4j</groupId>
82
			<artifactId>log4j</artifactId>
83
			<version>1.2.17</version>
84
		</dependency>
85
		<dependency>
86
			<groupId>com.google.code.gson</groupId>
87
			<artifactId>gson</artifactId>
88
			<version>2.8.2</version>
89
		</dependency>
90
        <dependency>
91
            <groupId>javax.mail</groupId>
92
            <artifactId>mail</artifactId>
93
            <version>1.5.0-b01</version>
94
        </dependency>
95
        <dependency>
96
            <groupId>commons-io</groupId>
97
            <artifactId>commons-io</artifactId>
98
            <version>20030203.000550</version>
99
        </dependency>
100
101
        <dependency>
102
            <groupId>eu.dnetlib</groupId>
103
            <artifactId>uoa-authorization-library</artifactId>
104 61835 konstantin
            <version>2.1.0</version>
105 60238 konstantin
        </dependency>
106
107
<!--        <dependency>-->
108
<!--            <groupId>org.apache.httpcomponents</groupId>-->
109
<!--            <artifactId>httpclient</artifactId>-->
110
<!--        </dependency>-->
111
    </dependencies>
112
113
	<build>
114
		<plugins>
115 61639 konstantin
            <!-- 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 60238 konstantin
			<!--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 61634 konstantin
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 60238 konstantin
		</plugins>
141
        <finalName>uoa-orcid-service</finalName>
142 61533 konstantin
        <resources>
143
            <resource>
144
                <directory>src/main/resources</directory>
145
                <filtering>true</filtering>
146
            </resource>
147
        </resources>
148 60238 konstantin
	</build>
149
150
151 61655 konstantin
    <repositories>
152
        <repository>
153
            <id>dnet45-releases</id>
154
            <name>D-Net 45 Releases</name>
155
            <url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
156
            <releases>
157
                <enabled>true</enabled>
158
            </releases>
159
            <snapshots>
160
                <enabled>false</enabled>
161
            </snapshots>
162
            <layout>default</layout>
163
        </repository>
164
    </repositories>
165
166
167
168 60238 konstantin
</project>