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.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>
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>
147 <!-- Currently, the docker-maven-plugin is used only for the development mode -->
149 <groupId>io.fabric8</groupId>
150 <artifactId>docker-maven-plugin</artifactId>
151 <version>${docker-maven-plugin.version}</version>
153 <verbose>true</verbose>
156 <name>akraino/validation:dev-ui-latest</name>
158 <from>tomcat:8.5.37</from>
160 <descriptorRef>artifact</descriptorRef>
163 <!-- must be all on one line; use CDATA
164 to turn off the Eclipse formatter -->
165 <run><![CDATA[mv /maven/*.war /usr/local/tomcat/webapps]]></run>
170 <name>akraino/validation:dev-mariadb-latest</name>
172 <from>mariadb:10.4.6</from>
174 <descriptorRef>project</descriptorRef>
177 <!-- must be all on one line; use CDATA
178 to turn off the Eclipse formatter -->
179 <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>
191 <!-- SDK overlay war -->
193 <groupId>org.onap.portal.sdk</groupId>
194 <artifactId>epsdk-app-overlay</artifactId>
195 <version>${epsdk.version}</version>
199 <groupId>org.onap.portal.sdk</groupId>
200 <artifactId>epsdk-app-common</artifactId>
201 <version>${epsdk.version}</version>
204 <!-- SDK components -->
206 <groupId>org.onap.portal.sdk</groupId>
207 <artifactId>epsdk-core</artifactId>
208 <version>${epsdk.version}</version>
211 <groupId>org.onap.portal.sdk</groupId>
212 <artifactId>epsdk-analytics</artifactId>
213 <version>${epsdk.version}</version>
216 <groupId>org.onap.portal.sdk</groupId>
217 <artifactId>epsdk-workflow</artifactId>
218 <version>${epsdk.version}</version>
221 <groupId>org.onap.portal.sdk</groupId>
222 <artifactId>epsdk-music</artifactId>
223 <version>${epsdk.version}</version>
226 <groupId>com.att.eelf</groupId>
227 <artifactId>eelf-core</artifactId>
228 <version>${eelf-core-version}</version>
232 <groupId>com.fasterxml.jackson.core</groupId>
233 <artifactId>jackson-annotations</artifactId>
234 <version>${jackson.version}</version>
237 <groupId>com.fasterxml.jackson.core</groupId>
238 <artifactId>jackson-core</artifactId>
239 <version>${jackson.version}</version>
242 <groupId>com.fasterxml.jackson.core</groupId>
243 <artifactId>jackson-databind</artifactId>
244 <version>${jackson.version}</version>
247 <groupId>com.mchange</groupId>
248 <artifactId>c3p0</artifactId>
249 <version>${c3p0.version}</version>
252 <groupId>io.searchbox</groupId>
253 <artifactId>jest</artifactId>
254 <version>${io.searchbox.jest.version}</version>
257 <groupId>commons-logging</groupId>
258 <artifactId>commons-logging</artifactId>
263 <groupId>javax.servlet</groupId>
264 <artifactId>javax.servlet-api</artifactId>
265 <version>${javax.servlet-api.version}</version>
268 <groupId>junit</groupId>
269 <artifactId>junit</artifactId>
270 <version>${junit.version}</version>
272 <!-- Elastic Search -->
274 <groupId>org.elasticsearch</groupId>
275 <artifactId>elasticsearch</artifactId>
276 <version>${elasticsearch}</version>
279 <groupId>org.apache.lucene</groupId>
280 <artifactId>lucene-queryparser</artifactId>
285 <groupId>org.json</groupId>
286 <artifactId>json</artifactId>
287 <version>${org.json.version}</version>
290 <groupId>org.quartz-scheduler</groupId>
291 <artifactId>quartz</artifactId>
292 <version>${quartz.version}</version>
294 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
296 <groupId>c3p0</groupId>
297 <artifactId>c3p0</artifactId>
301 <!-- bridge to implement commons-logging using slf4j -->
303 <groupId>org.slf4j</groupId>
304 <artifactId>jcl-over-slf4j</artifactId>
305 <version>${jcl-over-slf4j.version}</version>
308 <groupId>org.springframework</groupId>
309 <artifactId>spring-context-support</artifactId>
310 <version>${springframework-version}</version>
313 <groupId>org.springframework</groupId>
314 <artifactId>spring-core</artifactId>
315 <version>${springframework-version}</version>
318 <groupId>commons-logging</groupId>
319 <artifactId>commons-logging</artifactId>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-test</artifactId>
326 <version>${springframework-version}</version>
329 <groupId>org.springframework</groupId>
330 <artifactId>spring-tx</artifactId>
331 <version>${springframework-version}</version>
334 <groupId>org.springframework</groupId>
335 <artifactId>spring-web</artifactId>
336 <version>${springframework-version}</version>
339 <groupId>org.springframework</groupId>
340 <artifactId>spring-webmvc</artifactId>
341 <version>${springframework-version}</version>
343 <!-- Jacoco for offline instrumentation -->
345 <groupId>org.jacoco</groupId>
346 <artifactId>org.jacoco.agent</artifactId>
347 <version>${jacoco.version}</version>
348 <classifier>runtime</classifier>
351 <groupId>com.sun.jersey</groupId>
352 <artifactId>jersey-json</artifactId>
353 <version>${jersey-version}</version>
356 <groupId>com.sun.jersey</groupId>
357 <artifactId>jersey-client</artifactId>
358 <version>${jersey-version}</version>
361 <groupId>com.google.guava</groupId>
362 <artifactId>guava</artifactId>
363 <version>${google.guava-version}</version>
366 <groupId>org.jsoup</groupId>
367 <artifactId>jsoup</artifactId>
368 <version>${org.jsoup.version}</version>
371 <groupId>commons-httpclient</groupId>
372 <artifactId>commons-httpclient</artifactId>
373 <version>${commons-httpclient.version}</version>