-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
57 lines (51 loc) · 2.26 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
<?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 https://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>
<packaging>pom</packaging>
<artifactId>phaedra2-metadataservice</artifactId>
<name>phaedra2-metadataservice</name>
<modules>
<module>dto/</module>
<module>client/</module>
<module>server/</module>
</modules>
<build>
<plugins>
<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>