1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright © 2016-2018 European Support Limited
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
9 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 ~ Modifications copyright (c) 2019 Nokia
19 <project xmlns="http://maven.apache.org/POM/4.0.0"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24 <artifactId>workflow-designer-ui</artifactId>
25 <packaging>war</packaging>
28 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
29 <artifactId>workflow-designer-parent</artifactId>
30 <version>1.6.2-SNAPSHOT</version>
40 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-proxy</artifactId>
42 <version>9.4.18.v20190429</version>
45 <groupId>javax.servlet</groupId>
46 <artifactId>javax.servlet-api</artifactId>
47 <version>3.0.1</version>
48 <scope>provided</scope>
55 <groupId>com.github.eirslett</groupId>
56 <artifactId>frontend-maven-plugin</artifactId>
57 <version>1.8.0</version>
59 <workingDirectory>src/main/frontend</workingDirectory>
60 <installDirectory>target</installDirectory>
64 <id>install node and yarn</id>
66 <goal>install-node-and-yarn</goal>
68 <phase>generate-resources</phase>
70 <nodeVersion>v10.17.0</nodeVersion>
71 <yarnVersion>v1.19.1</yarnVersion>
80 <arguments>install</arguments>
84 <id>yarn run webpack build</id>
89 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
90 <arguments>build</arguments>
99 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
100 <arguments>test-build ${jest.command}</arguments>
101 <skip>${skipTests}</skip>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-war-plugin</artifactId>
110 <version>3.2.2</version>
114 <directory>src/main/frontend/dist</directory>
116 <include>*.*</include>
120 <directory>src/main/frontend/external-resources/ping/</directory>
121 <filtering>true</filtering>
123 <include>ping</include>
133 <id>jest-windows-profile</id>
136 <family>windows</family>
140 <jest.command>--runInBand</jest.command>
146 <activeByDefault>false</activeByDefault>
151 <artifactId>maven-resources-plugin</artifactId>
152 <version>2.6</version>
155 <id>copy-resources-docker</id>
156 <phase>install</phase>
158 <goal>copy-resources</goal>
161 <outputDirectory>${basedir}/docker</outputDirectory>
164 <directory>${project.build.directory}</directory>
165 <include>${project.artifactId}-${project.version}.war</include>
173 <groupId>io.fabric8</groupId>
174 <artifactId>docker-maven-plugin</artifactId>
178 <name>onap/workflow-frontend</name>
181 <tag>${project.version}</tag>
183 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
185 <ARTIFACT>${project.artifactId}-${project.version}.war</ARTIFACT>