-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
142 lines (136 loc) · 5.42 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
134
135
136
137
138
139
140
141
142
<?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 pom -->
<groupId>fadeout.software.wasdi</groupId>
<artifactId>wasdi-parent</artifactId>
<packaging>pom</packaging>
<version>${revision}</version>
<!-- sub modules -->
<modules>
<module>wrappersnap/wasdishared</module>
<module>wrappersnap/launcher</module>
<module>wrappersnap/utils</module>
<module>scheduler</module>
<module>wasdiwebserver</module>
<module>libraries/jwasdilib/jwasdilib</module>
<module>wasditrigger</module>
<module>ogcprocesses/processes</module>
<module>openeo-java-server</module>
</modules>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>1.0</revision>
<sVersionFlattenMavenPlugin>1.5.0</sVersionFlattenMavenPlugin>
<sVersionMavenDeployPlugin>3.1.1</sVersionMavenDeployPlugin>
<sVersionMavenShadePlugin>3.5.0</sVersionMavenShadePlugin>
</properties>
<!--
HERE WE ADD PLUGINS NEEDED TO DEPLOY AUTOMATICALLY IN NEXUS
-->
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${sVersionMavenShadePlugin}</version>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/ECLIPSEF.RSA</exclude>
<exclude>META-INF/ECLIPSEF.SF</exclude>
<exclude>META-INF/eclipse.inf</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${sVersionMavenDeployPlugin}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${sVersionFlattenMavenPlugin}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
</plugins>
</build>
<!--
HERE WE CONFIGURE TO UPLOAD AUTOMATICALLY IN OUR NEXUS
REPOSITORIES WHEN mvn ... deploy IS EXECUTED SUCCESFULLY
-->
<distributionManagement>
<repository>
<id>wasdi-all-artifacts</id>
<url>${sWasdiNexusRepositoryReleaseUrl}</url>
</repository>
<snapshotRepository>
<id>wasdi-all-artifacts</id>
<url>${sWasdiNexusRepositorySnapshotUrl}</url>
</snapshotRepository>
</distributionManagement>
<!--
HERE WE CONFIGURE OUR OWN NEXUS REPOSITORY
TO DOWNLOAD LIBRARIES NOT AVAILABLE ON INTERNET
-->
<repositories>
<repository>
<id>wasdi-all-libraries</id>
<name>WASDI - INTERNAL REPOSITORY - LIBRARIES</name>
<url>${sWasdiNexusRepositoryLibrariesUrl}</url>
</repository>
<repository>
<id>wasdi-snap-build</id>
<name>WASDI - INTERNAL REPOSITORY - SNAP BUILD</name>
<url>${sWasdiNexusRepositorySnapBuildUrl}</url>
</repository>
</repositories>
</project>