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.1.0-SNAPSHOT</version>
18 <name>AECBlueprintValidationUI 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.8.10</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>
59 <id>onap-releases</id>
60 <name>onap-releases</name>
61 <url>https://nexus.onap.org/content/repositories/releases/</url>
66 <!-- The war file name carries no version number -->
67 <finalName>AECBlueprintValidationUI</finalName>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-surefire-plugin</artifactId>
73 <version>${maven-surefire-plugin-version}</version>
75 <skipTests>${skiptests}</skipTests>
77 <include>**/Test*.java</include>
78 <include>**/*Test.java</include>
79 <include>**/*TestCase.java</include>
81 <additionalClasspathElements>
82 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
83 </additionalClasspathElements>
84 <systemPropertyVariables>
85 <container.classpath>classpath:</container.classpath>
86 </systemPropertyVariables>
90 <!-- add version number to manifest -->
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-war-plugin</artifactId>
94 <version>${maven-war-plugin-version}</version>
98 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
101 <Build-Number>${project.version}</Build-Number>
102 <Build-Time>${maven.build.timestamp}</Build-Time>
107 <groupId>org.onap.portal.sdk</groupId>
108 <artifactId>epsdk-app-overlay</artifactId>
110 <exclude>app/fusion/scripts/DS2-view-models/welcome-content.html</exclude>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-assembly-plugin</artifactId>
120 <version>${maven-assembly-plugin.version}</version>
122 <skipAssembly>${skipassembly}</skipAssembly>
124 <descriptor>${basedir}/distribution.xml</descriptor>
129 <id>make-assembly</id>
130 <phase>package</phase>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-deploy-plugin</artifactId>
141 <version>${maven-deploy-plugin-version}</version>
148 <groupId>io.fabric8</groupId>
149 <artifactId>docker-maven-plugin</artifactId>
150 <version>${docker-maven-plugin.version}</version>
152 <verbose>true</verbose>
155 <name>akraino/validation:dev-ui-latest</name>
157 <from>tomcat:8.5.37</from>
159 <descriptorRef>artifact</descriptorRef>
162 <!-- must be all on one line; use CDATA
163 to turn off the Eclipse formatter -->
164 <run><![CDATA[mv /maven/*.war /usr/local/tomcat/webapps]]></run>
169 <name>akraino/validation:dev-mariadb-latest</name>
171 <from>mariadb:10.4.6</from>
173 <descriptorRef>project</descriptorRef>
176 <!-- must be all on one line; use CDATA
177 to turn off the Eclipse formatter -->
178 <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>
190 <!-- SDK overlay war -->
192 <groupId>org.onap.portal.sdk</groupId>
193 <artifactId>epsdk-app-overlay</artifactId>
194 <version>${epsdk.version}</version>
198 <groupId>org.onap.portal.sdk</groupId>
199 <artifactId>epsdk-app-common</artifactId>
200 <version>${epsdk.version}</version>
203 <!-- SDK components -->
205 <groupId>org.onap.portal.sdk</groupId>
206 <artifactId>epsdk-core</artifactId>
207 <version>${epsdk.version}</version>
210 <groupId>org.onap.portal.sdk</groupId>
211 <artifactId>epsdk-analytics</artifactId>
212 <version>${epsdk.version}</version>
215 <groupId>org.onap.portal.sdk</groupId>
216 <artifactId>epsdk-workflow</artifactId>
217 <version>${epsdk.version}</version>
220 <groupId>org.onap.portal.sdk</groupId>
221 <artifactId>epsdk-music</artifactId>
222 <version>${epsdk.version}</version>
225 <groupId>com.att.eelf</groupId>
226 <artifactId>eelf-core</artifactId>
227 <version>${eelf-core-version}</version>
231 <groupId>com.fasterxml.jackson.core</groupId>
232 <artifactId>jackson-annotations</artifactId>
233 <version>${jackson.version}</version>
236 <groupId>com.fasterxml.jackson.core</groupId>
237 <artifactId>jackson-core</artifactId>
238 <version>${jackson.version}</version>
241 <groupId>com.fasterxml.jackson.core</groupId>
242 <artifactId>jackson-databind</artifactId>
243 <version>${jackson.version}</version>
246 <groupId>com.mchange</groupId>
247 <artifactId>c3p0</artifactId>
248 <version>${c3p0.version}</version>
251 <groupId>io.searchbox</groupId>
252 <artifactId>jest</artifactId>
253 <version>${io.searchbox.jest.version}</version>
256 <groupId>commons-logging</groupId>
257 <artifactId>commons-logging</artifactId>
262 <groupId>javax.servlet</groupId>
263 <artifactId>javax.servlet-api</artifactId>
264 <version>${javax.servlet-api.version}</version>
267 <groupId>junit</groupId>
268 <artifactId>junit</artifactId>
269 <version>${junit.version}</version>
271 <!-- Elastic Search -->
273 <groupId>org.elasticsearch</groupId>
274 <artifactId>elasticsearch</artifactId>
275 <version>${elasticsearch}</version>
278 <groupId>org.apache.lucene</groupId>
279 <artifactId>lucene-queryparser</artifactId>
284 <groupId>org.json</groupId>
285 <artifactId>json</artifactId>
286 <version>${org.json.version}</version>
289 <groupId>org.quartz-scheduler</groupId>
290 <artifactId>quartz</artifactId>
291 <version>${quartz.version}</version>
293 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
295 <groupId>c3p0</groupId>
296 <artifactId>c3p0</artifactId>
300 <!-- bridge to implement commons-logging using slf4j -->
302 <groupId>org.slf4j</groupId>
303 <artifactId>jcl-over-slf4j</artifactId>
304 <version>${jcl-over-slf4j.version}</version>
307 <groupId>org.springframework</groupId>
308 <artifactId>spring-context-support</artifactId>
309 <version>${springframework-version}</version>
312 <groupId>org.springframework</groupId>
313 <artifactId>spring-core</artifactId>
314 <version>${springframework-version}</version>
317 <groupId>commons-logging</groupId>
318 <artifactId>commons-logging</artifactId>
323 <groupId>org.springframework</groupId>
324 <artifactId>spring-test</artifactId>
325 <version>${springframework-version}</version>
328 <groupId>org.springframework</groupId>
329 <artifactId>spring-tx</artifactId>
330 <version>${springframework-version}</version>
333 <groupId>org.springframework</groupId>
334 <artifactId>spring-web</artifactId>
335 <version>${springframework-version}</version>
338 <groupId>org.springframework</groupId>
339 <artifactId>spring-webmvc</artifactId>
340 <version>${springframework-version}</version>
342 <!-- Jacoco for offline instrumentation -->
344 <groupId>org.jacoco</groupId>
345 <artifactId>org.jacoco.agent</artifactId>
346 <version>${jacoco.version}</version>
347 <classifier>runtime</classifier>
350 <groupId>com.sun.jersey</groupId>
351 <artifactId>jersey-json</artifactId>
352 <version>${jersey-version}</version>
355 <groupId>com.sun.jersey</groupId>
356 <artifactId>jersey-client</artifactId>
357 <version>${jersey-version}</version>
360 <groupId>com.google.guava</groupId>
361 <artifactId>guava</artifactId>
362 <version>${google.guava-version}</version>
365 <groupId>org.jsoup</groupId>
366 <artifactId>jsoup</artifactId>
367 <version>${org.jsoup.version}</version>
370 <groupId>commons-httpclient</groupId>
371 <artifactId>commons-httpclient</artifactId>
372 <version>${commons-httpclient.version}</version>