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>sdc-workflow-designer-ui</artifactId>
25 <packaging>war</packaging>
28 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
29 <artifactId>sdc-workflow-designer-parent</artifactId>
30 <version>1.9.0-SNAPSHOT</version>
40 <groupId>org.eclipse.jetty</groupId>
41 <artifactId>jetty-proxy</artifactId>
42 <version>9.4.40.v20210413</version>
45 <artifactId>jetty-http</artifactId>
46 <groupId>org.eclipse.jetty</groupId>
51 <groupId>javax.servlet</groupId>
52 <artifactId>javax.servlet-api</artifactId>
53 <version>3.0.1</version>
54 <scope>provided</scope>
57 <groupId>org.eclipse.jetty</groupId>
58 <artifactId>jetty-http</artifactId>
59 <version>9.4.40.v20210413</version>
66 <groupId>com.github.eirslett</groupId>
67 <artifactId>frontend-maven-plugin</artifactId>
68 <version>1.8.0</version>
70 <workingDirectory>src/main/frontend</workingDirectory>
71 <installDirectory>target</installDirectory>
75 <id>install node and yarn</id>
77 <goal>install-node-and-yarn</goal>
79 <phase>generate-resources</phase>
81 <nodeVersion>v10.17.0</nodeVersion>
82 <yarnVersion>v1.19.1</yarnVersion>
91 <arguments>install</arguments>
95 <id>yarn run webpack build</id>
100 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
101 <arguments>build</arguments>
110 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
111 <arguments>test-build ${jest.command}</arguments>
112 <skip>${skipTests}</skip>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-war-plugin</artifactId>
121 <version>3.2.2</version>
125 <directory>src/main/frontend/dist</directory>
127 <include>*.*</include>
131 <directory>src/main/frontend/external-resources/ping/</directory>
132 <filtering>true</filtering>
134 <include>ping</include>
144 <id>jest-windows-profile</id>
147 <family>windows</family>
151 <jest.command>--runInBand</jest.command>
157 <activeByDefault>false</activeByDefault>
162 <artifactId>maven-resources-plugin</artifactId>
163 <version>2.6</version>
166 <id>copy-resources-docker</id>
167 <phase>install</phase>
169 <goal>copy-resources</goal>
172 <outputDirectory>${basedir}/docker</outputDirectory>
175 <directory>${project.build.directory}</directory>
176 <include>${project.artifactId}-${project.version}.war</include>
184 <groupId>io.fabric8</groupId>
185 <artifactId>docker-maven-plugin</artifactId>
189 <name>onap/sdc-workflow-frontend</name>
193 <tag>${project.docker.latesttagtimestamp.version}</tag>
194 <tag>${project.docker.latesttag.version}</tag>
196 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
198 <ARTIFACT>${project.artifactId}-${project.version}.war</ARTIFACT>