2 <!-- Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 use this file except in compliance with the License. You may obtain a copy
5 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
6 by applicable law or agreed to in writing, software distributed under the
7 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 OF ANY KIND, either express or implied. See the License for the specific
9 language governing permissions and limitations under the License. -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0"
11 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.akraino.validation</groupId>
16 <artifactId>ui</artifactId>
17 <version>0.4.7-SNAPSHOT</version>
18 <name>Bluval UI Maven Webapp</name>
19 <packaging>war</packaging>
22 <maven.compiler.source>1.8</maven.compiler.source>
23 <maven.compiler.target>1.8</maven.compiler.target>
24 <java-version>1.8</java-version>
25 <encoding>UTF-8</encoding>
26 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false
28 <skipassembly>true</skipassembly>
29 <!-- Tests usually require some setup that maven cannot do, so skip. -->
30 <skiptests>false</skiptests>
31 <epsdk.version>2.4.0</epsdk.version>
32 <jacoco.version>0.7.9</jacoco.version>
33 <springframework-version>4.2.3.RELEASE</springframework-version>
34 <maven-surefire-plugin-version>2.19.1</maven-surefire-plugin-version>
35 <maven-war-plugin-version>2.0.2</maven-war-plugin-version>
36 <maven-deploy-plugin-version>2.8</maven-deploy-plugin-version>
37 <eelf-core-version>1.0.0</eelf-core-version>
38 <jackson.version>2.9.9</jackson.version>
39 <c3p0.version>0.9.5.2</c3p0.version>
40 <io.searchbox.jest.version>2.0.0</io.searchbox.jest.version>
41 <javax.servlet-api.version>3.1.0</javax.servlet-api.version>
42 <junit.version>4.12</junit.version>
43 <elasticsearch>2.2.0</elasticsearch>
44 <org.json.version>20180813</org.json.version>
45 <quartz.version>2.2.1</quartz.version>
46 <jcl-over-slf4j.version>1.7.12</jcl-over-slf4j.version>
47 <jersey-version>1.19.4</jersey-version>
48 <google.guava-version>27.1-jre</google.guava-version>
49 <org.jsoup.version>1.12.1</org.jsoup.version>
50 <commons-httpclient.version>3.1</commons-httpclient.version>
51 <docker-maven-plugin.version>0.22.0</docker-maven-plugin.version>
52 <tomcat.download.path>http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.37/bin</tomcat.download.path>
53 <tomcat.download.name>apache-tomcat-8.0.37</tomcat.download.name>
54 <maven-assembly-plugin.version>3.0.0</maven-assembly-plugin.version>
55 <mysql-connector.version>8.0.17</mysql-connector.version>
60 <id>onap-releases</id>
61 <name>onap-releases</name>
62 <url>https://nexus.onap.org/content/repositories/releases/</url>
67 <!-- The war file name carries no version number -->
68 <finalName>bluvalui</finalName>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-surefire-plugin</artifactId>
74 <version>${maven-surefire-plugin-version}</version>
76 <skipTests>${skiptests}</skipTests>
78 <include>**/Test*.java</include>
79 <include>**/*Test.java</include>
80 <include>**/*TestCase.java</include>
82 <additionalClasspathElements>
83 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
84 </additionalClasspathElements>
85 <systemPropertyVariables>
86 <container.classpath>classpath:</container.classpath>
87 </systemPropertyVariables>
91 <!-- add version number to manifest -->
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-war-plugin</artifactId>
95 <version>${maven-war-plugin-version}</version>
99 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
102 <Build-Number>${project.version}</Build-Number>
103 <Build-Time>${maven.build.timestamp}</Build-Time>
108 <groupId>org.onap.portal.sdk</groupId>
109 <artifactId>epsdk-app-overlay</artifactId>
111 <exclude>app/fusion/scripts/DS2-view-models/welcome-content.html</exclude>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-assembly-plugin</artifactId>
121 <version>${maven-assembly-plugin.version}</version>
123 <skipAssembly>${skipassembly}</skipAssembly>
125 <descriptor>${basedir}/distribution.xml</descriptor>
130 <id>make-assembly</id>
131 <phase>package</phase>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-deploy-plugin</artifactId>
142 <version>${maven-deploy-plugin-version}</version>
148 <!-- Currently, the docker-maven-plugin is used only for the
151 <groupId>io.fabric8</groupId>
152 <artifactId>docker-maven-plugin</artifactId>
153 <version>${docker-maven-plugin.version}</version>
155 <verbose>true</verbose>
158 <name>akraino/validation:dev-ui-latest</name>
160 <from>tomcat:8.5.37</from>
162 <descriptor>${project.basedir}/ui-docker-assembly.xml</descriptor>
165 <!-- must be all on one line; use CDATA
166 to turn off the Eclipse formatter -->
167 <run><![CDATA[mv /maven/target/*.war /usr/local/tomcat/webapps; mv /maven/docker-files/index.jsp /usr/local/tomcat/webapps/ROOT; mv /maven/docker-files/server.xml /usr/local/tomcat/conf; rm -fr /maven]]></run>
172 <name>akraino/validation:dev-mysql-latest</name>
174 <from>mysql:5.6</from>ll
176 <descriptorRef>project</descriptorRef>
179 <!-- must be all on one line; use CDATA
180 to turn off the Eclipse formatter -->
181 <run><![CDATA[mv /maven/db-scripts/EcompSdkDDLMySql_2_4_Common.sql /docker-entrypoint-initdb.d ; mv /maven/db-scripts/EcompSdkDDLMySql_2_4_OS.sql /docker-entrypoint-initdb.d ; mv /maven/db-scripts/EcompSdkDMLMySql_2_4_Common.sql /docker-entrypoint-initdb.d ; mv /maven/db-scripts/EcompSdkDMLMySql_2_4_OS.sql /docker-entrypoint-initdb.d ; mv /maven/db-scripts/akraino_blueprint_validation_db.sql /docker-entrypoint-initdb.d ; rm -fr /maven]]></run>
193 <!-- SDK overlay war -->
195 <groupId>org.onap.portal.sdk</groupId>
196 <artifactId>epsdk-app-overlay</artifactId>
197 <version>${epsdk.version}</version>
201 <groupId>org.onap.portal.sdk</groupId>
202 <artifactId>epsdk-app-common</artifactId>
203 <version>${epsdk.version}</version>
206 <!-- SDK components -->
208 <groupId>org.onap.portal.sdk</groupId>
209 <artifactId>epsdk-core</artifactId>
210 <version>${epsdk.version}</version>
213 <groupId>org.onap.portal.sdk</groupId>
214 <artifactId>epsdk-analytics</artifactId>
215 <version>${epsdk.version}</version>
218 <groupId>org.onap.portal.sdk</groupId>
219 <artifactId>epsdk-workflow</artifactId>
220 <version>${epsdk.version}</version>
223 <groupId>org.onap.portal.sdk</groupId>
224 <artifactId>epsdk-music</artifactId>
225 <version>${epsdk.version}</version>
228 <groupId>com.att.eelf</groupId>
229 <artifactId>eelf-core</artifactId>
230 <version>${eelf-core-version}</version>
234 <groupId>com.fasterxml.jackson.core</groupId>
235 <artifactId>jackson-annotations</artifactId>
236 <version>${jackson.version}</version>
239 <groupId>com.fasterxml.jackson.core</groupId>
240 <artifactId>jackson-core</artifactId>
241 <version>${jackson.version}</version>
244 <groupId>com.fasterxml.jackson.core</groupId>
245 <artifactId>jackson-databind</artifactId>
246 <version>${jackson.version}</version>
249 <groupId>com.mchange</groupId>
250 <artifactId>c3p0</artifactId>
251 <version>${c3p0.version}</version>
254 <groupId>io.searchbox</groupId>
255 <artifactId>jest</artifactId>
256 <version>${io.searchbox.jest.version}</version>
259 <groupId>commons-logging</groupId>
260 <artifactId>commons-logging</artifactId>
265 <groupId>javax.servlet</groupId>
266 <artifactId>javax.servlet-api</artifactId>
267 <version>${javax.servlet-api.version}</version>
270 <groupId>junit</groupId>
271 <artifactId>junit</artifactId>
272 <version>${junit.version}</version>
274 <!-- Elastic Search -->
276 <groupId>org.elasticsearch</groupId>
277 <artifactId>elasticsearch</artifactId>
278 <version>${elasticsearch}</version>
281 <groupId>org.apache.lucene</groupId>
282 <artifactId>lucene-queryparser</artifactId>
287 <groupId>org.json</groupId>
288 <artifactId>json</artifactId>
289 <version>${org.json.version}</version>
292 <groupId>org.quartz-scheduler</groupId>
293 <artifactId>quartz</artifactId>
294 <version>${quartz.version}</version>
296 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
298 <groupId>c3p0</groupId>
299 <artifactId>c3p0</artifactId>
303 <!-- bridge to implement commons-logging using slf4j -->
305 <groupId>org.slf4j</groupId>
306 <artifactId>jcl-over-slf4j</artifactId>
307 <version>${jcl-over-slf4j.version}</version>
310 <groupId>org.springframework</groupId>
311 <artifactId>spring-context-support</artifactId>
312 <version>${springframework-version}</version>
315 <groupId>org.springframework</groupId>
316 <artifactId>spring-core</artifactId>
317 <version>${springframework-version}</version>
320 <groupId>commons-logging</groupId>
321 <artifactId>commons-logging</artifactId>
326 <groupId>org.springframework</groupId>
327 <artifactId>spring-test</artifactId>
328 <version>${springframework-version}</version>
331 <groupId>org.springframework</groupId>
332 <artifactId>spring-tx</artifactId>
333 <version>${springframework-version}</version>
336 <groupId>org.springframework</groupId>
337 <artifactId>spring-web</artifactId>
338 <version>${springframework-version}</version>
341 <groupId>org.springframework</groupId>
342 <artifactId>spring-webmvc</artifactId>
343 <version>${springframework-version}</version>
345 <!-- Jacoco for offline instrumentation -->
347 <groupId>org.jacoco</groupId>
348 <artifactId>org.jacoco.agent</artifactId>
349 <version>${jacoco.version}</version>
350 <classifier>runtime</classifier>
353 <groupId>com.sun.jersey</groupId>
354 <artifactId>jersey-json</artifactId>
355 <version>${jersey-version}</version>
358 <groupId>com.sun.jersey</groupId>
359 <artifactId>jersey-client</artifactId>
360 <version>${jersey-version}</version>
363 <groupId>com.google.guava</groupId>
364 <artifactId>guava</artifactId>
365 <version>${google.guava-version}</version>
368 <groupId>org.jsoup</groupId>
369 <artifactId>jsoup</artifactId>
370 <version>${org.jsoup.version}</version>
373 <groupId>commons-httpclient</groupId>
374 <artifactId>commons-httpclient</artifactId>
375 <version>${commons-httpclient.version}</version>
378 <groupId>mysql</groupId>
379 <artifactId>mysql-connector-java</artifactId>
380 <version>${mysql-connector.version}</version>