-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
133 lines (124 loc) · 5.17 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../phaedra2-parent</relativePath>
</parent>
<artifactId>phaedra2-calculationservice</artifactId>
<name>phaedra2-calculationservice</name>
<properties>
<docker.filter>${docker.imageName}</docker.filter> <!-- Only build app docker image, no liquibase image -->
</properties>
<dependencies>
<!-- Apache kafka dependencies-->
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-streams</artifactId>
</dependency>
<!-- Phaedra service dependencies -->
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-resultdataservice-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-scriptengine-dto</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-protocolservice-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-plateservice-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-measurementservice-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-curvedataservice-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>eu.openanalytics.phaedra</groupId>
<artifactId>phaedra2-metadataservice-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
</plugin>
</plugins>
</build>
<!-- We cannot specify this in the parent POM, as the repositories are needed to fetch the parent pom. -->
<repositories>
<!-- Maven queries repositories in the order that they are defined here.
Usually, the Maven Central repository is the last one in this order, because it's defined in the super POM.
This means that for all dependencies which are downloaded from Maven Central, the custom repositories are
queried first, which slows down the build a lot.
Therefore we add central as the first repository in this list.
This reduces the time to download dependencies on a fresh machine from ~20-30min to 1min
See: https://maven.apache.org/ref/3.6.3/maven-model-builder/super-pom.html for the origin of this configuration
-->
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>oa-nexus-snapshots</id>
<url>https://nexus.openanalytics.eu/repository/snapshots/</url>
</repository>
</repositories>
</project>