1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.sdnc.oam</groupId>
7 <artifactId>installation</artifactId>
8 <version>2.4.1-SNAPSHOT</version>
11 <artifactId>installation-sdnc-web</artifactId>
12 <packaging>pom</packaging>
14 <name>sdnc-oam :: installation :: ${project.artifactId}</name>
15 <description>Creates SDN Controller WebUI Docker container</description>
18 <base.image.repo>docker.io/bitnami/nginx:1.21-debian-10</base.image.repo>
19 <image.name>onap/sdnc-web-image</image.name>
20 <sdnc.project.version>${project.version}</sdnc.project.version>
21 <sdnc.build.timestamp>${maven.build.timestamp}</sdnc.build.timestamp>
22 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
23 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
28 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
29 <artifactId>sdnr-wt-odlux-installer</artifactId>
30 <version>${ccsdk.features.version}</version>
32 <classifier>repo</classifier>
39 <groupId>org.codehaus.groovy.maven</groupId>
40 <artifactId>gmaven-plugin</artifactId>
41 <version>1.0</version>
44 <phase>validate</phase>
49 <source>${basedir}/../TagVersion.groovy</source>
55 <artifactId>maven-resources-plugin</artifactId>
56 <version>2.6</version>
59 <id>copy-dockerfile</id>
61 <goal>copy-resources</goal>
63 <phase>validate</phase>
65 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
68 <directory>src/main/docker</directory>
70 <include>Dockerfile</include>
72 <filtering>true</filtering>
78 <id>copy-siteconf</id>
80 <goal>copy-resources</goal>
82 <phase>validate</phase>
84 <outputDirectory>${basedir}/target/docker-stage/conf</outputDirectory>
87 <directory>src/main/resources</directory>
89 <include>*.conf</include>
90 <include>*.rules</include>
92 <filtering>true</filtering>
100 <goal>copy-resources</goal>
102 <phase>validate</phase>
104 <outputDirectory>${basedir}/target/docker-stage/bin</outputDirectory>
107 <directory>src/main/scripts</directory>
109 <include>*.sh</include>
110 <include>*.py</include>
112 <filtering>true</filtering>
118 <id>copy-favicon</id>
120 <goal>copy-resources</goal>
122 <phase>validate</phase>
124 <outputDirectory>${basedir}/target/docker-stage/html</outputDirectory>
127 <directory>src/main/resources</directory>
129 <include>favicon.ico</include>
130 <include>odlux.application.list</include>
132 <filtering>false</filtering>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-dependency-plugin</artifactId>
144 <id>unpack features</id>
145 <phase>generate-sources</phase>
147 <goal>unpack-dependencies</goal>
150 <outputDirectory>${basedir}/target/docker-stage/html</outputDirectory>
151 <excludeTransitive>true</excludeTransitive>
152 <overWriteReleases>false</overWriteReleases>
153 <overWriteSnapshots>true</overWriteSnapshots>
154 <overWriteIfNewer>true</overWriteIfNewer>
160 <groupId>io.fabric8</groupId>
161 <artifactId>docker-maven-plugin</artifactId>
162 <version>0.34.0</version>
163 <inherited>false</inherited>
167 <name>${image.name}</name>
169 <cleanup>try</cleanup>
170 <noCache>true</noCache>
171 <contextDir>${basedir}/target/docker-stage</contextDir>
172 <dockerFile>Dockerfile</dockerFile>
174 <tag>${project.docker.latestminortag.version}</tag>
175 <tag>${project.docker.latestfulltag.version}</tag>
176 <tag>${project.docker.latesttagtimestamp.version}</tag>
181 <verbose>${docker.verbose}</verbose>
182 <skipPush>${docker.skip.push}</skipPush>
186 <id>build-push-images</id>