-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
254 lines (247 loc) · 9.74 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
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.terradue.tephydro</groupId>
<artifactId>webserver-tephydro</artifactId>
<version>2.7.7</version>
<packaging>rpm</packaging>
<name>Web Server for Tep Hydrology</name>
<inceptionYear>2017</inceptionYear>
<scm>
<url>https://github.com/hydrology-tep/webserver</url>
<connection>scm:git:https://github.com/hydrology-tep/webserver.git</connection>
<developerConnection>scm:git:[email protected]:hydrology-tep/webserver.git</developerConnection>
</scm>
<properties>
<deploy.dir>/usr/local/tephydro/webserver</deploy.dir>
<deploy.site>tephydro</deploy.site>
<projectDir>Terradue.Tep.Hydrology.WebServer</projectDir>
<rpmOSArch>noarch</rpmOSArch>
<redmine.projectID>esa-tep-hydrology</redmine.projectID>
<monoConfig>RELEASE</monoConfig>
<submBranch>develop</submBranch>
<publicrepo>[email protected]:hydrology-tep/webserver.git</publicrepo>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>nuget</id>
<phase>process-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/scripts/nuget-install.sh</executable>
</configuration>
</execution>
<execution>
<id>xbuild</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>xbuild</executable>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>assembly</id>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<outputDirectory>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/target/staged</outputDirectory>
<attach>false</attach>
<appendAssemblyId>false</appendAssemblyId>
<finalName>/</finalName>
<descriptors>
<descriptor>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/assembly/rpm.xml</descriptor>
</descriptors>
<filters>
<filter>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/filters/production.properties</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<copyright>2015, Terradue srl</copyright>
<description>webserver-tephydro: RPM Package.</description>
<group>Tep Hydrology</group>
<prefix>/usr/local</prefix>
<needarch>noarch</needarch>
<targetVendor />
<defaultUsername>root</defaultUsername>
<defaultGroupname>apache</defaultGroupname>
<autoRequires>false</autoRequires>
<mappings>
<mapping>
<directory>/usr/local/tephydro/webserver</directory>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/target/staged</location>
</source>
</sources>
</mapping>
<mapping>
<configuration>noreplace</configuration>
<directory>/usr/local/tephydro/webserver/sites/tephydro/etc</directory>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/target/staged/sites/tephydro/etc</location>
</source>
</sources>
</mapping>
<mapping>
<directory>/usr/local/tephydro/webserver/sites/tephydro/root</directory>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/submodules/root</location>
<includes>
<include>**</include>
</includes>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/nginx/conf.d</directory>
<username>root</username>
<groupname>apache</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/config/hydrology-tep.eo.esa.int.conf</location>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directory>/usr/local/tephydro/webserver/sites/tephydro/logs</directory>
<username>root</username>
<groupname>apache</groupname>
</mapping>
<mapping>
<filemode>755</filemode>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/init.d</directory>
<username>root</username>
<groupname>root</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/scripts/tephydro-agent</location>
</source>
</sources>
</mapping>
<mapping>
<directory>/usr/local/tephydro/webserver/sites/tephydro/root</directory>
<configuration>noreplace</configuration>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/config/web.config</location>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/shibboleth</directory>
<username>root</username>
<groupname>root</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/etc/shibboleth/shibboleth2-tephydro.xml</location>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/supervisord.d</directory>
<username>root</username>
<groupname>root</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/etc/supervisor/shibboleth.ini.tephydro</location>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/systemd/system</directory>
<username>root</username>
<groupname>root</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/etc/hyperfastcgi/hyperfastcgi-tephydro.service</location>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/hyperfastcgi</directory>
<username>root</username>
<groupname>root</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/etc/hyperfastcgi/tephydro.config</location>
</source>
</sources>
</mapping>
<mapping>
<filemode>644</filemode>
<configuration>noreplace</configuration>
<directoryIncluded>false</directoryIncluded>
<directory>/etc/pki/CA/certs</directory>
<username>root</username>
<groupname>root</groupname>
<sources>
<source>
<location>/var/lib/jenkins/jobs/hydrology-tep/jobs/ESA.TepHydro/workspace/src/main/web-resources/etc/shibboleth/umsso-ca.pem</location>
</source>
</sources>
</mapping>
</mappings>
<postinstallScriptlet>
<scriptFile>src/main/scripts/production-install.sh</scriptFile>
<fileEncoding>utf-8</fileEncoding>
</postinstallScriptlet>
<requires>
<require>nginx</require>
<require>headers-more-nginx-module</require>
<require>nginx-http-shibboleth</require>
<require>hyperfastcgi</require>
<require>supervisor</require>
<require>shibboleth >= 2.6</require>
</requires>
</configuration>
</plugin>
</plugins>
</build>
</project>