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.11.0-SNAPSHOT</version>
35 <jetty.version>9.4.45.v20220203</jetty.version>
41 <groupId>org.eclipse.jetty</groupId>
42 <artifactId>jetty-proxy</artifactId>
43 <version>${jetty.version}</version>
46 <artifactId>jetty-http</artifactId>
47 <groupId>org.eclipse.jetty</groupId>
52 <groupId>javax.servlet</groupId>
53 <artifactId>javax.servlet-api</artifactId>
54 <version>3.0.1</version>
55 <scope>provided</scope>
58 <groupId>org.eclipse.jetty</groupId>
59 <artifactId>jetty-http</artifactId>
60 <version>${jetty.version}</version>
67 <groupId>com.github.eirslett</groupId>
68 <artifactId>frontend-maven-plugin</artifactId>
69 <version>1.8.0</version>
71 <workingDirectory>src/main/frontend</workingDirectory>
72 <installDirectory>target</installDirectory>
76 <id>install node and yarn</id>
78 <goal>install-node-and-yarn</goal>
80 <phase>generate-resources</phase>
82 <nodeVersion>v10.17.0</nodeVersion>
83 <yarnVersion>v1.19.1</yarnVersion>
92 <arguments>install</arguments>
96 <id>yarn run webpack build</id>
101 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
102 <arguments>build</arguments>
111 <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
112 <arguments>test-build ${jest.command}</arguments>
113 <skip>${skipTests}</skip>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-war-plugin</artifactId>
122 <version>3.2.2</version>
126 <directory>src/main/frontend/dist</directory>
128 <include>*.*</include>
132 <directory>src/main/frontend/external-resources/ping/</directory>
133 <filtering>true</filtering>
135 <include>ping</include>
145 <id>jest-windows-profile</id>
148 <family>windows</family>
152 <jest.command>--runInBand</jest.command>
158 <activeByDefault>false</activeByDefault>
163 <artifactId>maven-resources-plugin</artifactId>
164 <version>2.6</version>
167 <id>copy-resources-docker</id>
168 <phase>install</phase>
170 <goal>copy-resources</goal>
173 <outputDirectory>${basedir}/docker</outputDirectory>
176 <directory>${project.build.directory}</directory>
177 <include>${project.artifactId}-${project.version}.war</include>
185 <groupId>io.fabric8</groupId>
186 <artifactId>docker-maven-plugin</artifactId>
188 <apiVersion>${docker.api.version}</apiVersion>
191 <name>onap/sdc-workflow-frontend</name>
195 <tag>${project.docker.latesttagtimestamp.version}</tag>
196 <tag>${project.docker.latesttag.version}</tag>
198 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
200 <ARTIFACT>${project.artifactId}-${project.version}.war</ARTIFACT>