-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
70 lines (65 loc) · 2.58 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
<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>
<artifactId>phaedra2-imaging</artifactId>
<name>phaedra2-imaging</name>
<dependencies>
<dependency>
<groupId>ome</groupId>
<artifactId>formats-gpl</artifactId>
<version>6.9.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>eu.openanalytics.phaedra.imaging.CommandLineApp</mainClass>
<layout>ZIP</layout>
<classifier>exec</classifier>
</configuration>
</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>
<repository>
<id>ome</id>
<url>https://artifacts.openmicroscopy.org/artifactory/ome.releases</url>
</repository>
</repositories>
</project>