[UI] UI enhancements
[validation.git] / ui / pom.xml
1 <?xml version="1.0"?>
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>
14
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>
20
21     <properties>
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
27             .. -->
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     </properties>
56
57     <repositories>
58         <repository>
59             <id>onap-releases</id>
60             <name>onap-releases</name>
61             <url>https://nexus.onap.org/content/repositories/releases/</url>
62         </repository>
63     </repositories>
64
65     <build>
66         <!-- The war file name carries no version number -->
67         <finalName>AECBlueprintValidationUI</finalName>
68
69         <plugins>
70             <plugin>
71                 <groupId>org.apache.maven.plugins</groupId>
72                 <artifactId>maven-surefire-plugin</artifactId>
73                 <version>${maven-surefire-plugin-version}</version>
74                 <configuration>
75                     <skipTests>${skiptests}</skipTests>
76                     <includes>
77                         <include>**/Test*.java</include>
78                         <include>**/*Test.java</include>
79                         <include>**/*TestCase.java</include>
80                     </includes>
81                     <additionalClasspathElements>
82                         <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
83                     </additionalClasspathElements>
84                     <systemPropertyVariables>
85                         <container.classpath>classpath:</container.classpath>
86                     </systemPropertyVariables>
87                 </configuration>
88             </plugin>
89
90             <!-- add version number to manifest -->
91             <plugin>
92                 <groupId>org.apache.maven.plugins</groupId>
93                 <artifactId>maven-war-plugin</artifactId>
94                 <version>${maven-war-plugin-version}</version>
95                 <configuration>
96                     <archive>
97                         <manifest>
98                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
99                         </manifest>
100                         <manifestEntries>
101                             <Build-Number>${project.version}</Build-Number>
102                             <Build-Time>${maven.build.timestamp}</Build-Time>
103                         </manifestEntries>
104                     </archive>
105                     <overlays>
106                         <overlay>
107                             <groupId>org.onap.portal.sdk</groupId>
108                             <artifactId>epsdk-app-overlay</artifactId>
109                             <excludes>
110                                 <exclude>app/fusion/scripts/DS2-view-models/welcome-content.html</exclude>
111                             </excludes>
112                         </overlay>
113                     </overlays>
114                 </configuration>
115             </plugin>
116
117             <plugin>
118                 <groupId>org.apache.maven.plugins</groupId>
119                 <artifactId>maven-assembly-plugin</artifactId>
120                 <version>${maven-assembly-plugin.version}</version>
121                 <configuration>
122                     <skipAssembly>${skipassembly}</skipAssembly>
123                     <descriptors>
124                         <descriptor>${basedir}/distribution.xml</descriptor>
125                     </descriptors>
126                 </configuration>
127                 <executions>
128                     <execution>
129                         <id>make-assembly</id>
130                         <phase>package</phase>
131                         <goals>
132                             <goal>single</goal>
133                         </goals>
134                     </execution>
135                 </executions>
136             </plugin>
137
138             <plugin>
139                 <groupId>org.apache.maven.plugins</groupId>
140                 <artifactId>maven-deploy-plugin</artifactId>
141                 <version>${maven-deploy-plugin-version}</version>
142                 <configuration>
143                     <skip>true</skip>
144                 </configuration>
145             </plugin>
146
147             <!-- Currently, the docker-maven-plugin is used only for the development mode -->
148             <plugin>
149                 <groupId>io.fabric8</groupId>
150                 <artifactId>docker-maven-plugin</artifactId>
151                 <version>${docker-maven-plugin.version}</version>
152                 <configuration>
153                     <verbose>true</verbose>
154                     <images>
155                         <image>
156                             <name>akraino/validation:dev-ui-latest</name>
157                             <build>
158                                 <from>tomcat:8.5.37</from>
159                                 <assembly>
160                                     <descriptorRef>artifact</descriptorRef>
161                                 </assembly>
162                                 <runCmds>
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>
166                                 </runCmds>
167                             </build>
168                         </image>
169                         <image>
170                             <name>akraino/validation:dev-mariadb-latest</name>
171                             <build>
172                                 <from>mariadb:10.4.6</from>
173                                 <assembly>
174                                     <descriptorRef>project</descriptorRef>
175                                 </assembly>
176                                 <runCmds>
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>
180                                 </runCmds>
181                             </build>
182                         </image>
183                     </images>
184                 </configuration>
185             </plugin>
186
187         </plugins>
188     </build>
189
190     <dependencies>
191         <!-- SDK overlay war -->
192         <dependency>
193             <groupId>org.onap.portal.sdk</groupId>
194             <artifactId>epsdk-app-overlay</artifactId>
195             <version>${epsdk.version}</version>
196             <type>war</type>
197         </dependency>
198         <dependency>
199             <groupId>org.onap.portal.sdk</groupId>
200             <artifactId>epsdk-app-common</artifactId>
201             <version>${epsdk.version}</version>
202             <type>jar</type>
203         </dependency>
204         <!-- SDK components -->
205         <dependency>
206             <groupId>org.onap.portal.sdk</groupId>
207             <artifactId>epsdk-core</artifactId>
208             <version>${epsdk.version}</version>
209         </dependency>
210         <dependency>
211             <groupId>org.onap.portal.sdk</groupId>
212             <artifactId>epsdk-analytics</artifactId>
213             <version>${epsdk.version}</version>
214         </dependency>
215         <dependency>
216             <groupId>org.onap.portal.sdk</groupId>
217             <artifactId>epsdk-workflow</artifactId>
218             <version>${epsdk.version}</version>
219         </dependency>
220         <dependency>
221             <groupId>org.onap.portal.sdk</groupId>
222             <artifactId>epsdk-music</artifactId>
223             <version>${epsdk.version}</version>
224         </dependency>
225         <dependency>
226             <groupId>com.att.eelf</groupId>
227             <artifactId>eelf-core</artifactId>
228             <version>${eelf-core-version}</version>
229         </dependency>
230         <!-- Mapper -->
231         <dependency>
232             <groupId>com.fasterxml.jackson.core</groupId>
233             <artifactId>jackson-annotations</artifactId>
234             <version>${jackson.version}</version>
235         </dependency>
236         <dependency>
237             <groupId>com.fasterxml.jackson.core</groupId>
238             <artifactId>jackson-core</artifactId>
239             <version>${jackson.version}</version>
240         </dependency>
241         <dependency>
242             <groupId>com.fasterxml.jackson.core</groupId>
243             <artifactId>jackson-databind</artifactId>
244             <version>${jackson.version}</version>
245         </dependency>
246         <dependency>
247             <groupId>com.mchange</groupId>
248             <artifactId>c3p0</artifactId>
249             <version>${c3p0.version}</version>
250         </dependency>
251         <dependency>
252             <groupId>io.searchbox</groupId>
253             <artifactId>jest</artifactId>
254             <version>${io.searchbox.jest.version}</version>
255             <exclusions>
256                 <exclusion>
257                     <groupId>commons-logging</groupId>
258                     <artifactId>commons-logging</artifactId>
259                 </exclusion>
260             </exclusions>
261         </dependency>
262         <dependency>
263             <groupId>javax.servlet</groupId>
264             <artifactId>javax.servlet-api</artifactId>
265             <version>${javax.servlet-api.version}</version>
266         </dependency>
267         <dependency>
268             <groupId>junit</groupId>
269             <artifactId>junit</artifactId>
270             <version>${junit.version}</version>
271         </dependency>
272         <!-- Elastic Search -->
273         <dependency>
274             <groupId>org.elasticsearch</groupId>
275             <artifactId>elasticsearch</artifactId>
276             <version>${elasticsearch}</version>
277             <exclusions>
278                 <exclusion>
279                     <groupId>org.apache.lucene</groupId>
280                     <artifactId>lucene-queryparser</artifactId>
281                 </exclusion>
282             </exclusions>
283         </dependency>
284         <dependency>
285             <groupId>org.json</groupId>
286             <artifactId>json</artifactId>
287             <version>${org.json.version}</version>
288         </dependency>
289         <dependency>
290             <groupId>org.quartz-scheduler</groupId>
291             <artifactId>quartz</artifactId>
292             <version>${quartz.version}</version>
293             <exclusions>
294                 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
295                 <exclusion>
296                     <groupId>c3p0</groupId>
297                     <artifactId>c3p0</artifactId>
298                 </exclusion>
299             </exclusions>
300         </dependency>
301         <!-- bridge to implement commons-logging using slf4j -->
302         <dependency>
303             <groupId>org.slf4j</groupId>
304             <artifactId>jcl-over-slf4j</artifactId>
305             <version>${jcl-over-slf4j.version}</version>
306         </dependency>
307         <dependency>
308             <groupId>org.springframework</groupId>
309             <artifactId>spring-context-support</artifactId>
310             <version>${springframework-version}</version>
311         </dependency>
312         <dependency>
313             <groupId>org.springframework</groupId>
314             <artifactId>spring-core</artifactId>
315             <version>${springframework-version}</version>
316             <exclusions>
317                 <exclusion>
318                     <groupId>commons-logging</groupId>
319                     <artifactId>commons-logging</artifactId>
320                 </exclusion>
321             </exclusions>
322         </dependency>
323         <dependency>
324             <groupId>org.springframework</groupId>
325             <artifactId>spring-test</artifactId>
326             <version>${springframework-version}</version>
327         </dependency>
328         <dependency>
329             <groupId>org.springframework</groupId>
330             <artifactId>spring-tx</artifactId>
331             <version>${springframework-version}</version>
332         </dependency>
333         <dependency>
334             <groupId>org.springframework</groupId>
335             <artifactId>spring-web</artifactId>
336             <version>${springframework-version}</version>
337         </dependency>
338         <dependency>
339             <groupId>org.springframework</groupId>
340             <artifactId>spring-webmvc</artifactId>
341             <version>${springframework-version}</version>
342         </dependency>
343         <!-- Jacoco for offline instrumentation -->
344         <dependency>
345             <groupId>org.jacoco</groupId>
346             <artifactId>org.jacoco.agent</artifactId>
347             <version>${jacoco.version}</version>
348             <classifier>runtime</classifier>
349         </dependency>
350         <dependency>
351             <groupId>com.sun.jersey</groupId>
352             <artifactId>jersey-json</artifactId>
353             <version>${jersey-version}</version>
354         </dependency>
355         <dependency>
356             <groupId>com.sun.jersey</groupId>
357             <artifactId>jersey-client</artifactId>
358             <version>${jersey-version}</version>
359         </dependency>
360         <dependency>
361             <groupId>com.google.guava</groupId>
362             <artifactId>guava</artifactId>
363             <version>${google.guava-version}</version>
364         </dependency>
365         <dependency>
366             <groupId>org.jsoup</groupId>
367             <artifactId>jsoup</artifactId>
368             <version>${org.jsoup.version}</version>
369         </dependency>
370         <dependency>
371             <groupId>commons-httpclient</groupId>
372             <artifactId>commons-httpclient</artifactId>
373             <version>${commons-httpclient.version}</version>
374         </dependency>
375
376     </dependencies>
377 </project>