<?xml version="1.0" encoding="UTF-8"?>
-<!--
+<!--
============LICENSE_START==========================================
===================================================================
Copyright (C) 2018-19 IBM Intellectual Property. All rights reserved.
<parent>
<groupId>org.onap.ccsdk.cds</groupId>
- <artifactId>ui</artifactId>
- <version>0.6.1-SNAPSHOT</version>
+ <artifactId>cds-ui</artifactId>
+ <version>1.4.2-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
- <artifactId>ui-server</artifactId>
- <version>0.6.1-SNAPSHOT</version>
+ <artifactId>cds-ui-server</artifactId>
<packaging>pom</packaging>
- <name>cds-ui-server</name>
+ <name>CDS UI - Server</name>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <npm.executable>npm</npm.executable>
- <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
<image.name>onap/ccsdk-cds-ui-server</image.name>
- <docker.push.phase>deploy</docker.push.phase>
</properties>
-
<build>
<plugins>
<plugin>
<configuration>
<artifactItems>
<artifactItem>
- <groupId>org.onap.ccsdk.cds.components</groupId>
- <artifactId>proto-definition</artifactId>
- <version>${project.version}</version>
+ <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
+ <artifactId>blueprint-proto</artifactId>
+ <version>${ccsdk.cds.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/generated/proto-definition/proto</outputDirectory>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
- <version>1.3</version>
+ <version>1.12.1</version>
<configuration>
- <nodeVersion>v8.12.0</nodeVersion>
- <npmVersion>6.4.1</npmVersion>
+ <nodeVersion>v16.14.0</nodeVersion>
+ <npmVersion>8.3.0</npmVersion>
<nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
<installDirectory>./</installDirectory>
</configuration>
</goals>
<phase>generate-resources</phase>
</execution>
-
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
-
<phase>generate-resources</phase>
-
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
-
<execution>
<id>npm build</id>
<goals>
<goal>npm</goal>
</goals>
-
<phase>generate-resources</phase>
-
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
-
</executions>
</plugin>
<plugin>
</plugin>
</plugins>
</build>
-
- <profiles>
+
+ <profiles>
<profile>
<id>docker</id>
<build>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.26.1</version>
+ <version>0.34.0</version>
<inherited>false</inherited>
<configuration>
<images>
<name>${image.name}</name>
<build>
<cleanup>try</cleanup>
+ <noCache>true</noCache>
<dockerFileDir>${basedir}</dockerFileDir>
<tags>
<tag>${project.docker.latestminortag.version}</tag>
</build>
</image>
</images>
- <verbose>true</verbose>
+ <verbose>${docker.verbose}</verbose>
+ <skipPush>${docker.skip.push}</skipPush>
</configuration>
<executions>
<execution>
- <id>generate-images</id>
- <phase>package</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- <execution>
- <id>push-images</id>
- <phase>${docker.push.phase}</phase>
+ <id>build-push-images</id>
<goals>
<goal>build</goal>
<goal>push</goal>
</plugins>
</build>
</profile>
-
</profiles>
</project>