-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
180 lines (162 loc) · 7.39 KB
/
Copy pathpom.xml
File metadata and controls
180 lines (162 loc) · 7.39 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--
A distribution maven project defines the dependencyManagement for cids
artifacts used in a concrete deployment. It defines furthermore two types
of submodules:
- 1-n deployment artifacts: server and/or client artifacts
- 1 autodistribution artifact: generates stsrters (JAR and JNLP) for all deployment artifacts
-->
<parent>
<groupId>de.cismet.cids</groupId>
<!--
Inherit from cids-distribution-parent which defines profiles
for building autodistributions
-->
<artifactId>cids-distribution-parent</artifactId>
<version>5.3.2</version>
</parent>
<!--
groupId AND version are inherited to submodules (deployment artifacts)
-->
<groupId>de.cismet.cids.custom.switchon.distribution</groupId>
<artifactId>switchon-distribution</artifactId>
<version>5.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cids-custom Switch-On Distribution</name>
<description>Generates a cids distribution</description>
<!--
Note: Properties are overriden in settings.xml (global-properties or custom profile):
If the distribution is used as *git submodule* of a docker-image,
properties can be set from ENV varibales, e.g.
<de.cismet.cidsCodebase>${env.CIDS_CODEBASE}</de.cismet.cidsCodebase>
-->
<properties>
<!--
Default codebase (usede for starter and classpath JNLPs)
Can be overwritten in each module, in nbactions.xml custom builds or from command line
with e.g. -DaccountExtension=Belis2
-->
<de.cismet.cidsCodebase>http://www.water-switch-on.eu/current</de.cismet.cidsCodebase>
<!--
Default Account Extension (used for starter, classpath and client directories.
Can be overwritten in each module, in nbactions.xml custom builds or from command line
with e.g. -DaccountExtension=Belis2
-->
<de.cismet.cidsAccountExtension>Switchon</de.cismet.cidsAccountExtension>
<!--
Custom build timestamp format for title and description of JNLP files
-->
<maven.build.timestamp.format>dd/MM/yyyy</maven.build.timestamp.format>
</properties>
<!--
Inherit all properties from cids-distrubtion-parent to control build
plugin execution (unfortunately, build progiles do not work as expected)
The plugin execution configuration is optimized for building
*depolyment artifact* modules -> no autodistribution steps are executed
by default! Activate them explicitely in the respective autodistribution
modules!
-->
<!--<properties></properties>-->
<scm>
<connection>scm:git:https://github.com/switchonproject/cids-distribution-switchon.git</connection>
<developerConnection>scm:git:git@github.com:switchonproject/cids-distribution-switchon.git</developerConnection>
<url>https://github.com/switchonproject/cids-distribution-switchon</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/switchonproject/cids-distribution-switchon/issues</url>
</issueManagement>
<ciManagement>
<system>jenkins</system>
<url>https://ci.cismet.de/job/cids-distribution-switchon/</url>
</ciManagement>
<!--
Manages (cids) dependencies of deployment of submodules (deployment artifacts)
NOTE: Dependency Exclusions, etc. are managed inside the individual submodule
to avoild interference with other submodules!
-->
<dependencyManagement>
<!--
IMPORTANT: IMPORT cismet-ext-bom for managed external dependencies
-->
<dependencies>
<dependency>
<groupId>de.cismet</groupId>
<artifactId>cismet-ext-bom</artifactId>
<version>5.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--
Managed *cids* dependencies required by all depolyment artifact submodules
-> deployment artifacts NO NOT specifiy the version of cids dependencies
but may override the scope (e.g. provided)
-->
<dependency>
<groupId>de.cismet.cids.custom.switchon</groupId>
<artifactId>cids-custom-switchon</artifactId>
<version>5.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.cismet.cids.custom.switchon</groupId>
<artifactId>cids-custom-switchon-server</artifactId>
<version>5.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.cismet.cids.navigator</groupId>
<artifactId>cids-navigator</artifactId>
<version>5.0.2</version>
</dependency>
<dependency>
<groupId>de.cismet.cids</groupId>
<artifactId>cids-server</artifactId>
<version>5.0.3</version>
</dependency>
<dependency>
<groupId>de.cismet.cids</groupId>
<artifactId>cids-server-rest-legacy</artifactId>
<version>5.1</version>
</dependency>
<dependency>
<groupId>de.cismet.cismap</groupId>
<artifactId>cismap-plugin</artifactId>
<version>5.0.1</version>
</dependency>
<dependency>
<groupId>de.cismet.commons</groupId>
<artifactId>cids-utils</artifactId>
<version>5.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<!--
Submodules for regular Reactor Build
These are the *deployment artifacts* needed for the autodistributions.
They are only required if the custom project (e.g. cids-custom-switchon) requires additional
dependencies for depolyment, otherwise the custom project could be used directly in
the autodistribution module.
-->
<modules>
<!--
cids-custom-switchon-server, when depolyed, is started with ServerConsole
from cids-utils. Therefore we have to create a submodule and add this
dependency.
-->
<!--
cids-server-rest-legacy requires a dependency to cids-custom-switchon-server when deployed
Therefore we have to create a submodule and add this dependency.
-->
<!--
cids-custom-switchon does not have any dependency (runtime or compile)
to cismap-plugin. Therefore we have to create a submodule and add this dependency.
-->
<module>deployment-switchon-navigator</module>
<module>deployment-switchon-server</module>
<module>deployment-switchon-server-rest</module>
<module>distribution-switchon-server</module>
<module>distribution-switchon-server-rest</module>
<module>distribution-switchon-navigator</module>
</modules>
</project>