blob: 7e748a6cf6df9baf325eeed7445644b26d208d95 [file] [log] [blame]
ChrisC5e9feb22017-06-21 02:38:57 -07001<?xml version="1.0" encoding="UTF-8"?>
Determe, Sebastien (sd378r)e35744d2017-08-29 04:21:41 -07002<!--
3 ============LICENSE_START=======================================================
4 ONAP CLAMP
5 ================================================================================
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +01006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
Determe, Sebastien (sd378r)e35744d2017-08-29 04:21:41 -07007 reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
ChrisC6c9759e2017-08-30 01:13:58 -070012
Determe, Sebastien (sd378r)e35744d2017-08-29 04:21:41 -070013 http://www.apache.org/licenses/LICENSE-2.0
ChrisC6c9759e2017-08-30 01:13:58 -070014
Determe, Sebastien (sd378r)e35744d2017-08-29 04:21:41 -070015 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END============================================
21 ===================================================================
Determe, Sebastien (sd378r)e35744d2017-08-29 04:21:41 -070022-->
Gary Wu3a0d0272018-08-24 15:18:20 -070023<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/xsd/maven-4.0.0.xsd">
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010024 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.clamp</groupId>
26 <artifactId>clds</artifactId>
Determe, Sebastien (sd378r)7a58af82018-06-06 13:47:21 +020027 <version>3.0.0-SNAPSHOT</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010028 <name>clamp</name>
ChrisC5e9feb22017-06-21 02:38:57 -070029
sebdet0adebac2018-10-03 11:48:00 +020030<!-- <parent> -->
31<!-- <groupId>org.onap.oparent</groupId> -->
32<!-- <artifactId>oparent</artifactId> -->
33<!-- <version>1.2.0</version> -->
34<!-- </parent> -->
Determe, Sebastien (sd378r)a66fe452017-08-08 06:42:49 -070035
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010036 <description>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +010037 This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part.
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -070038
39 By Default "mvn clean install" command will execute also the unit tests
40 and the integration tests. The integration tests require a docker engine running.
41
Determe, Sebastien (sd378r)08b94922018-03-27 10:25:41 +020042 If you want to skip the integration test you can by doing:
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -070043 "mvn clean install -DskipITs=true"
44
45 For Spring it's possible to specify the application.properties location
46 "mvn clean install -Dspring.config.location=classpath:application-test.properties"
47
48 The application.properties contains the location of the CLAMP parameters files:
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010049 - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
50 - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties
ChrisCae04cf32018-02-05 05:21:59 -080051
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +010052 </description>
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -070053
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010054 <properties>
Jessica Wagantall0a689de2018-04-04 18:29:29 -070055 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010056 <clamp.project.version>${project.version}</clamp.project.version>
57 <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp>
58 <maven.compiler.source>1.8</maven.compiler.source>
59 <maven.compiler.target>1.8</maven.compiler.target>
60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -070062
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010063 <docker.mariadb.port.host>3306</docker.mariadb.port.host>
Determe, Sebastien (sd378r)378d05b2018-03-23 14:46:56 +010064 <docker.http-cache.port.host>8085</docker.http-cache.port.host>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010065 <project.scm.id>git-server</project.scm.id>
66 <java.version>1.8</java.version>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +010067
68 <eelf.core.version>1.0.0</eelf.core.version>
xg353y054f1d12018-07-23 16:02:28 +020069 <camel.version>2.22.0</camel.version>
Determe, Sebastien (sd378r)cca933e2018-08-13 16:18:13 +020070 <springboot.version>2.0.3.RELEASE</springboot.version>
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -070071
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010072 <sonar.language>java</sonar.language>
73 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
74 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
75 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
76 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
77 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
78 <sonar.projectVersion>${project.version}</sonar.projectVersion>
ChrisC5e9feb22017-06-21 02:38:57 -070079
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010080 <docker.push.registry>localhost:5000</docker.push.registry>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +020081 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +020082 <docker.skip.build>true</docker.skip.build>
83 <docker.skip.push>true</docker.skip.push>
84 <docker.skip.tag>true</docker.skip.tag>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010085 <skip.staging.artifacts>false</skip.staging.artifacts>
Gary Wu3a0d0272018-08-24 15:18:20 -070086 <python.http.proxy.param/>
xg353y054f1d12018-07-23 16:02:28 +020087 <tomcat.version>8.5.32</tomcat.version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +010088 </properties>
ChrisC5e9feb22017-06-21 02:38:57 -070089
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +020090 <profiles>
91 <profile>
92 <id>without-test</id>
93 <activation>
94 <property>
95 <name>maven.test.skip</name>
96 <value>true</value>
97 </property>
98 </activation>
99 <properties>
100 <docker.skip.run>true</docker.skip.run>
Determe, Sebastien (sd378r)7747b782018-07-05 16:10:52 +0200101 <docker.skip>true</docker.skip>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200102 </properties>
103 </profile>
104 <profile>
105 <id>without-IT-only</id>
106 <activation>
107 <property>
108 <name>skipITs</name>
109 <value>true</value>
110 </property>
111 </activation>
112 <properties>
113 <docker.skip.run>true</docker.skip.run>
Determe, Sebastien (sd378r)7747b782018-07-05 16:10:52 +0200114 <docker.skip>true</docker.skip>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200115 </properties>
116 </profile>
117 <profile>
118 <id>without-IT-only2</id>
119 <activation>
120 <property>
121 <name>skipTests</name>
122 <value>true</value>
123 </property>
124 </activation>
125 <properties>
126 <docker.skip.run>true</docker.skip.run>
Determe, Sebastien (sd378r)7747b782018-07-05 16:10:52 +0200127 <docker.skip>true</docker.skip>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200128 </properties>
129 </profile>
130 <profile>
131 <id>docker</id>
132 <properties>
133 <skip.staging.artifacts>true</skip.staging.artifacts>
134 <docker.skip.build>false</docker.skip.build>
135 <docker.skip.tag>false</docker.skip.tag>
136 <docker.skip.push>false</docker.skip.push>
Determe, Sebastien (sd378r)7747b782018-07-05 16:10:52 +0200137 <docker.skip>false</docker.skip>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200138 </properties>
139 </profile>
140 </profiles>
141
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100142 <distributionManagement>
143 <repository>
144 <id>ecomp-releases</id>
145 <name>Clamp Release Repository</name>
146 <url>https://nexus.onap.org/content/repositories/releases/</url>
147 </repository>
148 <snapshotRepository>
149 <id>ecomp-snapshots</id>
150 <name>Clamp Snapshot Repository</name>
151 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
152 </snapshotRepository>
153 <site>
154 <id>ecomp-site</id>
155 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
156 </site>
157 </distributionManagement>
ChrisC5e9feb22017-06-21 02:38:57 -0700158
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100159 <repositories>
160 <repository>
161 <id>central</id>
162 <name>Maven 2 repository 2</name>
163 <url>http://repo2.maven.org/maven2/</url>
164 </repository>
165 <repository>
166 <id>ecomp-releases</id>
167 <name>ONAP Release Repository</name>
168 <url>https://nexus.onap.org/content/repositories/releases/</url>
169 </repository>
170 <repository>
171 <id>ecomp-staging</id>
172 <name>ONAP Staging Repository</name>
173 <url>https://nexus.onap.org/content/repositories/staging/</url>
174 </repository>
175 <repository>
176 <id>ecomp-snapshots</id>
177 <name>ONAP Snapshot Repository</name>
178 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
179 <snapshots>
180 <enabled>true</enabled>
181 </snapshots>
182 <releases>
183 <enabled>false</enabled>
184 </releases>
185 </repository>
186 <repository>
187 <id>spring-repo</id>
188 <name>Spring repo</name>
189 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
190 </repository>
191 <repository>
192 <id>repository.jboss.org-public</id>
193 <name>JBoss.org Maven repository</name>
194 <url>https://repository.jboss.org/nexus/content/groups/public</url>
195 </repository>
196 </repositories>
ChrisC5e9feb22017-06-21 02:38:57 -0700197
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100198 <dependencyManagement>
199 <dependencies>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100200 <!-- Spring Boot BOM -->
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100201 <dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100202 <groupId>org.springframework.boot</groupId>
203 <artifactId>spring-boot-dependencies</artifactId>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100204 <version>${springboot.version}</version>
205 <type>pom</type>
206 <scope>import</scope>
207 </dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100208 <!-- Camel BOM -->
209 <dependency>
210 <groupId>org.apache.camel</groupId>
211 <artifactId>camel-spring-boot-dependencies</artifactId>
212 <version>${camel.version}</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100213 <type>pom</type>
214 <scope>import</scope>
215 </dependency>
216 </dependencies>
217 </dependencyManagement>
ChrisC5e9feb22017-06-21 02:38:57 -0700218
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100219 <dependencies>
220 <dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100221 <groupId>com.att.eelf</groupId>
222 <artifactId>eelf-core</artifactId>
223 <version>${eelf.core.version}</version>
224 </dependency>
Determe, Sebastien (sd378r)7a58af82018-06-06 13:47:21 +0200225 <dependency>
Determe, Sebastien (sd378r)499e4e82018-08-09 17:14:09 +0200226 <groupId>org.codehaus.janino</groupId>
227 <artifactId>janino</artifactId>
228 <version>3.0.8</version>
229 </dependency>
230 <dependency>
Determe, Sebastien (sd378r)7a58af82018-06-06 13:47:21 +0200231 <groupId>org.apache.tomcat.embed</groupId>
232 <artifactId>tomcat-embed-core</artifactId>
233 <version>${tomcat.version}</version>
234 </dependency>
235 <dependency>
236 <groupId>org.apache.tomcat.embed</groupId>
237 <artifactId>tomcat-embed-el</artifactId>
238 <version>${tomcat.version}</version>
239 </dependency>
240 <dependency>
241 <groupId>org.apache.tomcat.embed</groupId>
242 <artifactId>tomcat-embed-websocket</artifactId>
243 <version>${tomcat.version}</version>
244 </dependency>
245 <dependency>
246 <groupId>org.apache.tomcat</groupId>
247 <artifactId>tomcat-annotations-api</artifactId>
248 <version>${tomcat.version}</version>
249 </dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100250 <!-- For CAMEL -->
251 <dependency>
252 <groupId>org.apache.camel</groupId>
253 <artifactId>camel-spring-boot-starter</artifactId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100254 </dependency>
255 <dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100256 <groupId>org.apache.camel</groupId>
257 <artifactId>camel-jaxb-starter</artifactId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100258 </dependency>
259 <dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100260 <groupId>org.apache.camel</groupId>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100261 <artifactId>camel-servlet-starter</artifactId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100262 </dependency>
Determe, Sebastien (sd378r)f7855162018-04-27 14:02:39 +0200263 <dependency>
xg353y054f1d12018-07-23 16:02:28 +0200264 <groupId>org.apache.camel</groupId>
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200265 <artifactId>camel-jackson-starter</artifactId>
266 </dependency>
267 <dependency>
268 <groupId>org.apache.camel</groupId>
269 <artifactId>camel-swagger-java-starter</artifactId>
270 <exclusions>
271 <exclusion>
272 <groupId>javax.ws.rs</groupId>
273 <artifactId>jsr311-api</artifactId>
274 </exclusion>
Determe, Sebastien (sd378r)db25b622018-08-06 15:30:35 +0200275 <exclusion>
276 <groupId>org.slf4j</groupId>
277 <artifactId>slf4j-ext</artifactId>
278 </exclusion>
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200279 </exclusions>
xg353y054f1d12018-07-23 16:02:28 +0200280 </dependency>
281 <dependency>
Determe, Sebastien (sd378r)f7855162018-04-27 14:02:39 +0200282 <groupId>javax.xml.bind</groupId>
283 <artifactId>jaxb-api</artifactId>
284 <version>2.3.0</version>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200285 </dependency>
xg353y054f1d12018-07-23 16:02:28 +0200286 <dependency>
287 <groupId>org.glassfish.jersey.core</groupId>
288 <artifactId>jersey-common</artifactId>
289 <version>2.27</version>
290 </dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100291 <!-- Spring famework -->
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100292 <dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100293 <groupId>org.springframework.boot</groupId>
294 <artifactId>spring-boot-starter-web</artifactId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100295 </dependency>
296 <dependency>
297 <groupId>org.springframework.boot</groupId>
298 <artifactId>spring-boot-starter-tomcat</artifactId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100299 </dependency>
300 <dependency>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100301 <groupId>org.springframework</groupId>
302 <artifactId>spring-jdbc</artifactId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100303 </dependency>
304 <dependency>
305 <groupId>org.springframework.boot</groupId>
306 <artifactId>spring-boot-starter-security</artifactId>
307 </dependency>
308 <dependency>
309 <groupId>org.springframework.boot</groupId>
xg353y054f1d12018-07-23 16:02:28 +0200310 <artifactId>spring-boot-autoconfigure</artifactId>
311 </dependency>
312 <dependency>
313 <groupId>org.springframework.boot</groupId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100314 <artifactId>spring-boot-starter-test</artifactId>
315 <scope>test</scope>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100316 <exclusions>
317 <exclusion>
318 <groupId>com.vaadin.external.google</groupId>
319 <artifactId>android-json</artifactId>
320 </exclusion>
321 </exclusions>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100322 </dependency>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100323 <!-- Others dependencies -->
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100324 <dependency>
xg353ye6409552018-05-08 16:21:39 +0200325 <groupId>org.onap.aaf.authz</groupId>
326 <artifactId>aaf-cadi-aaf</artifactId>
xg353y7e836e12018-06-06 15:50:33 +0200327 <version>2.1.1</version>
xg353ye6409552018-05-08 16:21:39 +0200328 <exclusions>
329 <exclusion>
330 <groupId>javax.servlet</groupId>
331 <artifactId>servlet-api</artifactId>
332 </exclusion>
333 </exclusions>
334 </dependency>
335 <dependency>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100336 <groupId>ch.qos.logback</groupId>
337 <artifactId>logback-core</artifactId>
338 <version>1.2.3</version>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100339 </dependency>
340 <dependency>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100341 <groupId>ch.qos.logback</groupId>
342 <artifactId>logback-classic</artifactId>
343 <version>1.2.3</version>
344 </dependency>
345 <dependency>
346 <groupId>commons-dbcp</groupId>
347 <artifactId>commons-dbcp</artifactId>
348 <version>1.4</version>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100349 </dependency>
350 <dependency>
351 <groupId>commons-io</groupId>
352 <artifactId>commons-io</artifactId>
353 <version>2.6</version>
354 </dependency>
355 <dependency>
356 <groupId>com.googlecode.json-simple</groupId>
357 <artifactId>json-simple</artifactId>
358 </dependency>
359 <dependency>
360 <groupId>org.apache.commons</groupId>
361 <artifactId>commons-vfs2</artifactId>
Determe, Sebastien (sd378r)886191e2018-03-02 11:42:06 +0100362 <version>2.2</version>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100363 </dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100364 <dependency>
365 <groupId>joda-time</groupId>
366 <artifactId>joda-time</artifactId>
367 </dependency>
368 <dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100369 <groupId>org.slf4j</groupId>
370 <artifactId>slf4j-api</artifactId>
371 </dependency>
372 <dependency>
373 <groupId>javax.ws.rs</groupId>
374 <artifactId>javax.ws.rs-api</artifactId>
375 <version>2.0</version>
376 </dependency>
377 <dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100378 <groupId>junit</groupId>
379 <artifactId>junit</artifactId>
380 </dependency>
381 <dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100382 <groupId>javax.transaction</groupId>
383 <artifactId>jta</artifactId>
384 <version>1.1</version>
385 </dependency>
386 <dependency>
387 <groupId>javax.persistence</groupId>
388 <artifactId>persistence-api</artifactId>
389 <version>1.0.2</version>
390 </dependency>
391 <dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100392 <groupId>org.onap.policy.engine</groupId>
393 <artifactId>PolicyEngineAPI</artifactId>
sebdet0adebac2018-10-03 11:48:00 +0200394 <version>1.3.0-SNAPSHOT</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100395 <exclusions>
396 <exclusion>
Bertozzi, Julien (jb379x)009f7132018-03-08 15:53:57 -0500397 <groupId>com.google.guava</groupId>
398 <artifactId>guava</artifactId>
399 </exclusion>
400 <exclusion>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100401 <artifactId>log4j</artifactId>
402 <groupId>log4j</groupId>
403 </exclusion>
404 <exclusion>
405 <groupId>org.slf4j</groupId>
406 <artifactId>slf4j-log4j12</artifactId>
407 </exclusion>
408 <exclusion>
409 <artifactId>apache-log4j-extras</artifactId>
410 <groupId>log4j</groupId>
411 </exclusion>
412 <exclusion>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100413 <groupId>mysql</groupId>
414 <artifactId>mysql-connector-java</artifactId>
415 </exclusion>
Determe, Sebastien (sd378r)7e44fa72018-02-07 10:11:30 +0100416 <exclusion>
417 <groupId>commons-io</groupId>
418 <artifactId>commons-io</artifactId>
419 </exclusion>
Determe, Sebastien (sd378r)a75076b2018-04-09 14:06:35 +0200420 <exclusion>
Determe, Sebastien (sd378r)215a3552018-07-02 16:12:21 +0200421 <artifactId>grizzly-http-server</artifactId>
Determe, Sebastien (sd378r)a75076b2018-04-09 14:06:35 +0200422 <groupId>org.glassfish.grizzly</groupId>
423 </exclusion>
Determe, Sebastien (sd378r)8607a452018-07-04 11:03:16 +0200424 <exclusion>
425 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
426 <artifactId>dmaapClient</artifactId>
427 </exclusion>
428 <exclusion>
429 <groupId>org.onap.policy.common</groupId>
430 <artifactId>integrity-monitor</artifactId>
431 </exclusion>
432 <exclusion>
433 <groupId>org.onap.policy.common</groupId>
434 <artifactId>integrity-audit</artifactId>
435 </exclusion>
436 <exclusion>
437 <groupId>org.onap.aaf.cadi</groupId>
438 <artifactId>cadi-aaf</artifactId>
439 </exclusion>
Determe, Sebastien (sd378r)d153aaa2018-07-05 17:18:19 +0200440 <exclusion>
441 <groupId>javax.jms</groupId>
442 <artifactId>jms</artifactId>
443 </exclusion>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100444 </exclusions>
445 </dependency>
446 <dependency>
447 <groupId>org.onap.policy.common</groupId>
448 <artifactId>ONAP-Logging</artifactId>
sebdetd1ff5b92018-09-03 15:12:31 +0200449 <version>1.2.3</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100450 <exclusions>
451 <exclusion>
452 <artifactId>log4j</artifactId>
453 <groupId>log4j</groupId>
454 </exclusion>
455 <exclusion>
456 <groupId>org.slf4j</groupId>
457 <artifactId>slf4j-log4j12</artifactId>
458 </exclusion>
459 <exclusion>
460 <artifactId>apache-log4j-extras</artifactId>
461 <groupId>log4j</groupId>
462 </exclusion>
463 </exclusions>
464 </dependency>
465 <dependency>
sebdetd1ff5b92018-09-03 15:12:31 +0200466 <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100467 <artifactId>policy-yaml</artifactId>
sebdetd1ff5b92018-09-03 15:12:31 +0200468 <version>1.2.3</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100469 <exclusions>
470 <exclusion>
471 <artifactId>log4j</artifactId>
472 <groupId>log4j</groupId>
473 </exclusion>
474 <exclusion>
475 <groupId>org.slf4j</groupId>
476 <artifactId>slf4j-log4j12</artifactId>
477 </exclusion>
478 <exclusion>
479 <artifactId>apache-log4j-extras</artifactId>
480 <groupId>log4j</groupId>
481 </exclusion>
482 </exclusions>
483 </dependency>
484 <dependency>
sebdetd1ff5b92018-09-03 15:12:31 +0200485 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100486 <artifactId>sdc</artifactId>
sebdetd1ff5b92018-09-03 15:12:31 +0200487 <version>1.2.3</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100488 <exclusions>
489 <exclusion>
490 <artifactId>log4j</artifactId>
491 <groupId>log4j</groupId>
492 </exclusion>
493 <exclusion>
494 <groupId>org.slf4j</groupId>
495 <artifactId>slf4j-log4j12</artifactId>
496 </exclusion>
497 <exclusion>
498 <artifactId>apache-log4j-extras</artifactId>
499 <groupId>log4j</groupId>
500 </exclusion>
501 </exclusions>
502 </dependency>
503 <dependency>
sebdetd1ff5b92018-09-03 15:12:31 +0200504 <groupId>org.onap.policy.drools-applications.controlloop.common.model-impl</groupId>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100505 <artifactId>aai</artifactId>
sebdetd1ff5b92018-09-03 15:12:31 +0200506 <version>1.2.3</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100507 <exclusions>
508 <exclusion>
509 <artifactId>log4j</artifactId>
510 <groupId>log4j</groupId>
511 </exclusion>
512 <exclusion>
513 <groupId>org.slf4j</groupId>
514 <artifactId>slf4j-log4j12</artifactId>
515 </exclusion>
516 <exclusion>
517 <artifactId>apache-log4j-extras</artifactId>
518 <groupId>log4j</groupId>
519 </exclusion>
520 </exclusions>
521 </dependency>
522 <dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100523 <groupId>org.apache.commons</groupId>
524 <artifactId>commons-csv</artifactId>
525 <version>1.3</version>
526 </dependency>
Determe, Sebastien (sd378r)886191e2018-03-02 11:42:06 +0100527 <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
528 <dependency>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200529 <groupId>org.codehaus.plexus</groupId>
530 <artifactId>plexus-utils</artifactId>
531 <version>3.0.24</version>
Determe, Sebastien (sd378r)886191e2018-03-02 11:42:06 +0100532 </dependency>
533 <dependency>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200534 <groupId>commons-fileupload</groupId>
535 <artifactId>commons-fileupload</artifactId>
536 <version>1.3.3</version>
Determe, Sebastien (sd378r)886191e2018-03-02 11:42:06 +0100537 </dependency>
538 <dependency>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200539 <groupId>org.jboss.spec.javax.ws.rs</groupId>
540 <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
541 <version>1.0.1.Final</version>
Determe, Sebastien (sd378r)886191e2018-03-02 11:42:06 +0100542 </dependency>
Determe, Sebastien (sd378r)3df350a2018-07-03 15:38:34 +0200543 <dependency>
544 <groupId>com.google.guava</groupId>
545 <artifactId>guava</artifactId>
sebdet0adebac2018-10-03 11:48:00 +0200546 <version>25.1-jre</version>
Determe, Sebastien (sd378r)3df350a2018-07-03 15:38:34 +0200547 </dependency>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100548 <!-- Remove the MYSQL connector and replace it by Mariadb -->
549 <dependency>
550 <groupId>org.mariadb.jdbc</groupId>
551 <artifactId>mariadb-java-client</artifactId>
Determe, Sebastien (sd378r)373a9272018-02-20 18:19:39 +0100552 <version>2.2.1</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100553 </dependency>
Determe, Sebastien (sd378r)465bfe22018-03-01 15:15:30 +0100554 <!-- For SDC Controller -->
555 <dependency>
Determe, Sebastien (sd378r)dd2d7902018-04-06 11:48:07 +0200556 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
Determe, Sebastien (sd378r)465bfe22018-03-01 15:15:30 +0100557 <artifactId>sdc-distribution-client</artifactId>
Determe, Sebastien (sd378r)dd2d7902018-04-06 11:48:07 +0200558 <version>1.3.0</version>
Determe, Sebastien (sd378r)465bfe22018-03-01 15:15:30 +0100559 </dependency>
Determe, Sebastien (sd378r)20296242018-03-12 19:37:34 +0100560 <dependency>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200561 <groupId>org.onap.sdc.sdc-tosca</groupId>
562 <artifactId>sdc-tosca</artifactId>
osgn422w999cc722018-08-27 18:11:16 +0200563 <version>1.4.1</version>
Determe, Sebastien (sd378r)20296242018-03-12 19:37:34 +0100564 </dependency>
Gabriel2dc06bd2018-06-25 08:25:06 +0200565 <!-- TESTING -->
566 <dependency>
567 <groupId>org.assertj</groupId>
568 <artifactId>assertj-core</artifactId>
569 <version>3.10.0</version>
570 <scope>test</scope>
571 </dependency>
xg353y054f1d12018-07-23 16:02:28 +0200572 <dependency>
573 <groupId>org.mockito</groupId>
574 <artifactId>mockito-core</artifactId>
575 <version>1.10.19</version>
576 <scope>test</scope>
577 </dependency>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200578 </dependencies>
579 <pluginRepositories>
xg353y2aad6d62018-05-18 17:59:06 +0200580 <pluginRepository>
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200581 <id>central-for-plugins</id>
582 <name>Maven 2 repository 2</name>
583 <url>http://repo2.maven.org/maven2/</url>
584 </pluginRepository>
585 <pluginRepository>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200586 <snapshots>
587 <enabled>false</enabled>
588 </snapshots>
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200589 <id>jcenter-releases-for-plugins</id>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200590 <name>jcenter</name>
591 <url>http://jcenter.bintray.com</url>
xg353y2aad6d62018-05-18 17:59:06 +0200592 </pluginRepository>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200593 </pluginRepositories>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100594 <build>
595 <finalName>clamp</finalName>
ChrisC5e9feb22017-06-21 02:38:57 -0700596
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100597 <testResources>
598 <testResource>
599 <directory>src/test/resources</directory>
600 <excludes>
601 <exclude>**/*.jks</exclude>
Determe, Sebastien (sd378r)20296242018-03-12 19:37:34 +0100602 <exclude>**/*.csar</exclude>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100603 </excludes>
604 <filtering>true</filtering>
605 </testResource>
606 <testResource>
607 <directory>src/test/resources/https</directory>
608 <includes>
609 <include>**.jks</include>
610 </includes>
611 <filtering>false</filtering>
612 <targetPath>https</targetPath>
613 </testResource>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200614 <testResource>
Determe, Sebastien (sd378r)20296242018-03-12 19:37:34 +0100615 <directory>src/test/resources/example/sdc</directory>
616 <includes>
617 <include>**.csar</include>
618 </includes>
619 <filtering>false</filtering>
620 <targetPath>example/sdc</targetPath>
621 </testResource>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100622 </testResources>
623 <resources>
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +0200624 <!-- For AAF folder maven should not try to filter Keystores/Truststores ...
625 Otherwise they will be broken and unreadable
626 -->
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100627 <resource>
628 <directory>src/main/resources</directory>
629 <filtering>true</filtering>
Determe, Sebastien (sd378r)e1c2aab2018-08-17 17:41:15 +0200630 <excludes>
631 <exclude>clds/aaf/**</exclude>
632 </excludes>
633 </resource>
634 <resource>
635 <directory>src/main/resources</directory>
636 <filtering>false</filtering>
637 <includes>
638 <include>clds/aaf/**</include>
639 </includes>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100640 </resource>
641 <resource>
642 <directory>src/main/docker</directory>
643 <includes>
644 <include>**/*</include>
645 </includes>
646 <filtering>true</filtering>
647 </resource>
648 </resources>
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -0700649
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100650 <plugins>
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200651 <!-- Read the swagger.json file and the definition from SwaggerConfig.java;
652 generate a list of .adoc files containing the APIs info in more structured
653 way -->
654 <plugin>
655 <groupId>io.github.swagger2markup</groupId>
656 <artifactId>swagger2markup-maven-plugin</artifactId>
657 <version>1.3.3</version>
658 <dependencies>
659 <dependency>
660 <groupId>io.github.swagger2markup</groupId>
661 <artifactId>swagger2markup-import-files-ext</artifactId>
662 <version>1.3.3</version>
663 </dependency>
664 <dependency>
665 <groupId>io.github.swagger2markup</groupId>
666 <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
667 <version>1.3.3</version>
668 </dependency>
669 </dependencies>
670 <configuration>
671 <swaggerInput>${project.basedir}/docs/swagger/swagger.json</swaggerInput>
672 <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
673 <config>
674 <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
675 </config>
676 </configuration>
677 <executions>
678 <execution>
679 <phase>post-integration-test</phase>
680 <goals>
681 <goal>convertSwagger2markup</goal>
682 </goals>
683 </execution>
684 </executions>
685 </plugin>
686
687 <!-- Run the generated asciidoc through Asciidoctor to generate other
688 documentation types, such as PDFs or HTML5 -->
689 <plugin>
690 <groupId>org.asciidoctor</groupId>
691 <artifactId>asciidoctor-maven-plugin</artifactId>
692 <version>1.5.6</version>
693 <dependencies>
694 <dependency>
695 <groupId>org.asciidoctor</groupId>
696 <artifactId>asciidoctorj-pdf</artifactId>
697 <version>1.5.0-alpha.10.1</version>
698 </dependency>
699 <dependency>
700 <groupId>org.jruby</groupId>
701 <artifactId>jruby-complete</artifactId>
702 <version>1.7.21</version>
703 </dependency>
704 </dependencies>
705 <configuration>
706 <sourceDirectory>${project.basedir}/src/main/resources/asciidoc</sourceDirectory>
707 <sourceDocumentName>swagger.adoc</sourceDocumentName>
708 <attributes>
709 <doctype>book</doctype>
710 <toc>left</toc>
711 <toclevels>3</toclevels>
Gary Wu3a0d0272018-08-24 15:18:20 -0700712 <numbered/>
713 <hardbreaks/>
714 <sectlinks/>
715 <sectanchors/>
Determe, Sebastien (sd378r)f7442472018-08-03 15:52:19 +0200716 <generated>${project.build.directory}/asciidoc/generated</generated>
717 </attributes>
718 </configuration>
719
720 <executions>
721 <execution>
722 <id>output-html</id>
723 <phase>post-integration-test</phase>
724 <goals>
725 <goal>process-asciidoc</goal>
726 </goals>
727 <configuration>
728 <backend>html5</backend>
729 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
730 <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/</outputDirectory>
731 </configuration>
732 </execution>
733 <execution>
734 <id>output-pdf</id>
735 <phase>post-integration-test</phase>
736 <goals>
737 <goal>process-asciidoc</goal>
738 </goals>
739 <configuration>
740 <backend>pdf</backend>
741 <outputDirectory>${project.basedir}/docs/swagger</outputDirectory>
742 </configuration>
743 </execution>
744 </executions>
745 </plugin>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100746 <plugin>
747 <groupId>org.codehaus.groovy.maven</groupId>
748 <artifactId>gmaven-plugin</artifactId>
749 <version>1.0</version>
750 <executions>
751 <execution>
752 <phase>validate</phase>
753 <goals>
754 <goal>execute</goal>
755 </goals>
756 <configuration>
757 <source>${project.basedir}/src/main/script/TagVersion.groovy</source>
758 </configuration>
759 </execution>
760 </executions>
761 </plugin>
762 <plugin>
763 <groupId>org.apache.maven.plugins</groupId>
764 <artifactId>maven-jar-plugin</artifactId>
765 <version>3.0.2</version>
766 <executions>
767 <execution>
768 <id>jar-with-only-classes</id>
769 <phase>package</phase>
770 <goals>
771 <goal>jar</goal>
772 </goals>
773 <configuration>
774 <classifier>classes</classifier>
775 <includes>
776 <include>org/**</include>
777 </includes>
778 </configuration>
779 </execution>
780 </executions>
781 </plugin>
782 <plugin>
783 <groupId>org.codehaus.mojo</groupId>
784 <artifactId>build-helper-maven-plugin</artifactId>
785 <version>3.0.0</version>
786 <executions>
787 <execution>
788 <goals>
789 <goal>attach-artifact</goal>
790 </goals>
791 <phase>package</phase>
792 <configuration>
793 <artifacts>
794 <artifact>
795 <file>${project.build.directory}/clamp-classes.jar</file>
796 <type>jar</type>
797 <classifier>classes</classifier>
798 </artifact>
799 </artifacts>
800 </configuration>
801 </execution>
802 </executions>
803 </plugin>
Determe, Sebastien (sd378r)8bf33432017-08-08 02:49:33 -0700804
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100805 <plugin>
806 <groupId>org.springframework.boot</groupId>
807 <artifactId>spring-boot-maven-plugin</artifactId>
Determe, Sebastien (sd378r)bb302a12018-07-02 15:38:28 +0200808 <!-- Temporary fix -->
809 <version>1.5.13.RELEASE</version>
810 <!-- <version>${springboot.version}</version> -->
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100811 <executions>
812 <execution>
813 <goals>
814 <goal>repackage</goal>
815 </goals>
816 <phase>package</phase>
817 </execution>
818 </executions>
819 </plugin>
820 <plugin>
821 <groupId>org.sonatype.plugins</groupId>
822 <artifactId>nexus-staging-maven-plugin</artifactId>
823 <version>1.6.7</version>
824 <extensions>true</extensions>
825 <configuration>
826 <nexusUrl>https://nexus.onap.org</nexusUrl>
827 <stagingProfileId>176c31dfe190a</stagingProfileId>
828 <serverId>ecomp-staging</serverId>
829 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
830 </configuration>
831 </plugin>
Determe, Sebastien (sd378r)26400da2018-05-24 16:57:30 +0200832
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100833 <plugin>
834 <groupId>org.apache.maven.plugins</groupId>
835 <artifactId>maven-surefire-plugin</artifactId>
836 <version>2.19.1</version>
837 <configuration>
838 <forkCount>1</forkCount>
839 <reuseForks>false</reuseForks>
840 </configuration>
841 </plugin>
Determe, Sebastien (sd378r)c06db6e2017-09-22 16:52:51 +0200842
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100843 <plugin>
844 <groupId>org.apache.maven.plugins</groupId>
845 <artifactId>maven-failsafe-plugin</artifactId>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200846 <version>2.17</version>
ChrisC5e9feb22017-06-21 02:38:57 -0700847
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100848 <executions>
849 <execution>
850 <id>integration-tests</id>
851 <goals>
852 <goal>integration-test</goal>
853 <goal>verify</goal>
854 </goals>
855 <configuration>
856 <includes>
857 <include>**/*ItCase.java</include>
858 </includes>
859 <forkCount>1</forkCount>
860 <reuseForks>false</reuseForks>
861 </configuration>
862 </execution>
863 </executions>
Determe, Sebastien (sd378r)8607a452018-07-04 11:03:16 +0200864
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100865 </plugin>
866 <plugin>
867 <groupId>io.fabric8</groupId>
868 <artifactId>docker-maven-plugin</artifactId>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200869 <version>0.26.0</version>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100870 <configuration>
871 <verbose>true</verbose>
872 <apiVersion>1.23</apiVersion>
873 <images>
874 <image>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200875 <name>library/mariadb:10.1.11</name>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100876 <alias>mariadb</alias>
877 <run>
878 <env>
879 <MYSQL_ROOT_PASSWORD>strong_pitchou</MYSQL_ROOT_PASSWORD>
880 </env>
881 <hostname>mariadb</hostname>
882 <volumes>
883 <bind>
884 <volume>${project.basedir}/extra/sql/:/docker-entrypoint-initdb.d</volume>
885 <volume>${project.basedir}/extra/docker/mariadb/conf1:/etc/mysql/conf.d</volume>
886 </bind>
887 </volumes>
888 <wait>
889 <log>socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution</log>
Determe, Sebastien (sd378r)b588fbc2018-02-13 17:25:12 +0100890 <time>600000</time>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100891 </wait>
892 <ports>
893 <port>${docker.mariadb.port.host}:3306</port>
894 </ports>
895 </run>
896 </image>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100897 <image>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200898 <name>library/python:2-slim</name>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100899 <alias>python</alias>
900 <run>
901 <hostname>python</hostname>
902 <volumes>
903 <bind>
904 <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
ehautot153c8292018-03-15 17:49:50 +0100905 <volume>${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache</volume>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100906 </bind>
907 </volumes>
908 <wait>
909 <tcp>
910 <ports>
911 <port>8080</port>
912 </ports>
913 <mode>direct</mode>
914 </tcp>
915 <time>120000</time>
916 </wait>
917 <ports>
918 <port>${docker.http-cache.port.host}:8080</port>
919 </ports>
920 <workingDir>/usr/src/http-cache-app</workingDir>
921 <cmd>
Determe, Sebastien (sd378r)885d7c12018-04-09 17:56:53 +0200922 <shell>./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100923 </cmd>
924 </run>
925 </image>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200926 <image>
927 <name>onap/clamp</name>
928 <alias>onap-clamp</alias>
Determe, Sebastien (sd378r)8607a452018-07-04 11:03:16 +0200929 <run>
930 <skip>true</skip>
931 </run>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200932 <build>
933 <cleanup>true</cleanup>
934 <tags>
935 <tag>latest</tag>
936 <tag>${project.docker.latesttagtimestamp.version}</tag>
937 <tag>${project.docker.latesttag.version}</tag>
938 </tags>
Determe, Sebastien (sd378r)d3428d82018-06-26 15:05:55 +0200939 <!-- A relative path is looked up in ${project.basedir}/src/main/docker
940 by default -->
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200941 <dockerFile>Dockerfile</dockerFile>
942 <assembly>
943 <descriptor>assembly/clamp-files.xml</descriptor>
944 <name>onap-clamp</name>
945 </assembly>
946 </build>
947 </image>
ac255096f162e2018-09-18 10:07:58 +0200948 <image>
949 <name>onap/clamp-dashboard-logstash</name>
950 <alias>onap-clamp-dashboard-logstash</alias>
951 <run>
952 <skip>true</skip>
953 </run>
954 <build>
955 <cleanup>true</cleanup>
956 <tags>
957 <tag>latest</tag>
958 <tag>${project.docker.latesttagtimestamp.version}</tag>
959 <tag>${project.docker.latesttag.version}</tag>
960 </tags>
ac2550a61b86e2018-10-10 13:54:08 +0200961 <dockerFile>logstash/Dockerfile.logstash</dockerFile>
ac255096f162e2018-09-18 10:07:58 +0200962 </build>
963 </image>
ac2550ead10512018-10-05 13:50:23 +0200964 <image>
965 <name>onap/clamp-dashboard-kibana</name>
966 <alias>onap-clamp-dashboard-kibana</alias>
967 <run>
968 <skip>true</skip>
969 </run>
970 <build>
971 <cleanup>true</cleanup>
972 <tags>
973 <tag>latest</tag>
974 <tag>${project.docker.latesttagtimestamp.version}</tag>
975 <tag>${project.docker.latesttag.version}</tag>
976 </tags>
977 <dockerFile>kibana/Dockerfile.kibana</dockerFile>
978 </build>
979 </image>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100980 </images>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100981 </configuration>
Determe, Sebastien (sd378r)8607a452018-07-04 11:03:16 +0200982
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +0100983 <executions>
984 <execution>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200985 <id>generate-images</id>
986 <phase>install</phase>
987 <goals>
988 <goal>build</goal>
989 </goals>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200990 </execution>
991 <execution>
992 <id>push-images</id>
993 <phase>deploy</phase>
994 <goals>
995 <goal>push</goal>
996 </goals>
Determe, Sebastien (sd378r)e0d94f62018-05-25 15:14:08 +0200997 </execution>
998 <execution>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +0100999 <id>docker-start-for-it</id>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +01001000 <phase>pre-integration-test</phase>
1001 <goals>
1002 <goal>start</goal>
1003 </goals>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +01001004 </execution>
1005 <execution>
Determe, Sebastien (sd378r)7c083742018-02-14 15:31:55 +01001006 <id>docker-stop-for-it</id>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +01001007 <phase>post-integration-test</phase>
1008 <goals>
1009 <goal>stop</goal>
1010 </goals>
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +01001011 </execution>
1012 </executions>
1013 </plugin>
ChrisC5e9feb22017-06-21 02:38:57 -07001014
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +01001015 <plugin>
1016 <groupId>org.jacoco</groupId>
1017 <artifactId>jacoco-maven-plugin</artifactId>
1018 <version>0.7.7.201606060606</version>
1019 <configuration>
1020 <dumpOnExit>true</dumpOnExit>
1021 <includes>
1022 <include>org.onap.clamp.*</include>
1023 </includes>
1024 </configuration>
1025 <executions>
1026 <execution>
1027 <id>pre-unit-test</id>
1028 <goals>
1029 <goal>prepare-agent</goal>
1030 </goals>
1031 <configuration>
1032 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
1033 <!-- <append>true</append> -->
1034 </configuration>
1035 </execution>
1036 <execution>
1037 <id>pre-integration-test</id>
1038 <phase>pre-integration-test</phase>
1039 <goals>
1040 <goal>prepare-agent</goal>
1041 </goals>
1042 <configuration>
1043 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
1044 <!-- <append>true</append> -->
1045 </configuration>
1046 </execution>
1047 <execution>
1048 <goals>
1049 <goal>merge</goal>
1050 </goals>
1051 <phase>post-integration-test</phase>
1052 <configuration>
1053 <fileSets>
1054 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
1055 <directory>${project.build.directory}/coverage-reports</directory>
1056 <includes>
1057 <include>*.exec</include>
1058 </includes>
1059 </fileSet>
1060 </fileSets>
1061 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
1062 </configuration>
1063 </execution>
1064 </executions>
1065 </plugin>
ChrisC5e9feb22017-06-21 02:38:57 -07001066
Determe, Sebastien (sd378r)b4f7cb62017-11-16 13:27:22 +01001067 <!-- This plugin will be useful when we will have multi-modules project -->
1068 <plugin>
1069 <groupId>org.codehaus.mojo</groupId>
1070 <artifactId>versions-maven-plugin</artifactId>
1071 <version>1.3.1</version>
1072 </plugin>
1073 </plugins>
1074 </build>
ChrisC5e9feb22017-06-21 02:38:57 -07001075</project>