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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
	<modelVersion>4.0.0</modelVersion>
4
	<parent>
5
		<groupId>eu.dnetlib</groupId>
6
		<artifactId>dnet45-parent</artifactId>
7
		<version>1.0.0</version>
8
	</parent>
9
	<artifactId>uoa-authorization-library</artifactId>
10
	<version>2.1.1-SNAPSHOT</version>
11
	<packaging>jar</packaging>
12
	<scm>
13
		<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/uoa-authorization-library/trunk</developerConnection>
14
	</scm>
15
	<name>uoa-authorization-library</name>
16

    
17
	<properties>
18
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20
		<java.version>1.8</java.version>
21
        <timestampAuthorizationLibrary>${maven.build.timestamp}</timestampAuthorizationLibrary>
22
        <maven.build.timestamp.format>E MMM dd HH:mm:ss z yyyy</maven.build.timestamp.format>
23
	</properties>
24
	<dependencyManagement>
25
		<dependencies>
26
			<dependency>
27
				<groupId>org.springframework.boot</groupId>
28
				<artifactId>spring-boot-dependencies</artifactId>
29
				<version>1.5.8.RELEASE</version>
30
				<type>pom</type>
31
				<scope>import</scope>
32
			</dependency>
33
		</dependencies>
34
	</dependencyManagement>
35
	<dependencies>
36
		<dependency>
37
			<groupId>org.springframework.boot</groupId>
38
			<artifactId>spring-boot-starter-web</artifactId>
39
			<exclusions>
40
				<exclusion>
41
					<groupId> org.springframework.boot</groupId>
42
					<artifactId>spring-boot-starter-logging</artifactId>
43
				</exclusion>
44
			</exclusions>
45
		</dependency>
46
		<!-- Starter for using Spring Security -->
47
		<dependency>
48
			<groupId>org.springframework.boot</groupId>
49
			<artifactId>spring-boot-starter-security</artifactId>
50
		</dependency>
51
		<dependency>
52
			<groupId>org.springframework.boot</groupId>
53
			<artifactId>spring-boot-starter-data-redis</artifactId>
54
		</dependency>
55
		<dependency>
56
			<groupId>org.springframework.session</groupId>
57
			<artifactId>spring-session-data-redis</artifactId>
58
		</dependency>
59
		<dependency>
60
			<groupId>biz.paluch.redis</groupId>
61
			<artifactId>lettuce</artifactId>
62
			<version>4.3.3.Final</version>
63
		</dependency>
64
		<dependency>
65
			<groupId>org.mitre</groupId>
66
			<artifactId>openid-connect-client</artifactId>
67
			<version>1.3.0</version>
68
			<exclusions>
69
				<exclusion>
70
					<groupId>org.bouncycastle</groupId>
71
					<artifactId>bcprov-jdk15on</artifactId>
72
				</exclusion>
73
			</exclusions>
74
		</dependency>
75
		<dependency>
76
			<groupId>com.google.code.gson</groupId>
77
			<artifactId>gson</artifactId>
78
			<version>2.8.2</version>
79
		</dependency>
80
		<dependency>
81
			<groupId>log4j</groupId>
82
			<artifactId>log4j</artifactId>
83
			<version>1.2.17</version>
84
		</dependency>
85
    </dependencies>
86
	<build>
87
		<plugins>
88
			<plugin>
89
				<groupId>org.apache.maven.plugins</groupId>
90
				<artifactId>maven-jar-plugin</artifactId>
91
				<executions>
92
					<execution>
93
						<id>default-jar</id>
94
						<phase>package</phase>
95
						<goals>
96
							<goal>jar</goal>
97
						</goals>
98
						<configuration>
99
							<excludes>
100
								<exclude>**/eu/dnetlib/uoaauthorizationlibrary/redis/**</exclude>
101
							</excludes>
102
						</configuration>
103
					</execution>
104
					<execution>
105
						<id>redis</id>
106
						<phase>package</phase>
107
						<goals>
108
							<goal>jar</goal>
109
						</goals>
110
						<configuration>
111
							<classifier>redis</classifier>
112
							<excludes>
113
								<exclude>**/eu/dnetlib/uoaauthorizationlibrary/stateless/**</exclude>
114
							</excludes>
115
						</configuration>
116
					</execution>
117
				</executions>
118
			</plugin>
119
		</plugins>
120
        <finalName>uoa-authorization-library</finalName>
121
        <resources>
122
            <resource>
123
                <directory>src/main/resources</directory>
124
                <filtering>true</filtering>
125
            </resource>
126
        </resources>
127
	</build>
128
</project>
    (1-1/1)