Convert streams_publishes and streams_subscribes json strings under applicationConfig...
[dcaegen2/platform.git] / mod2 / ui / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~  org.onap.dcae
5   ~  ================================================================================
6   ~  Copyright (c) 2020 AT&T Intellectual Property. All rights reserved.
7   ~  ================================================================================
8   ~  Licensed under the Apache License, Version 2.0 (the "License");
9   ~  you may not use this file except in compliance with the License.
10   ~  You may obtain a copy of the License at
11   ~
12   ~       http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~  Unless required by applicable law or agreed to in writing, software
15   ~  distributed under the License is distributed on an "AS IS" BASIS,
16   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~  See the License for the specific language governing permissions and
18   ~  limitations under the License.
19   ~  ============LICENSE_END=========================================================
20   -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.oparent</groupId>
28         <artifactId>oparent</artifactId>
29         <version>2.0.0</version>
30     </parent>
31     <groupId>org.onap.dcaegen2.platform.mod</groupId>
32     <artifactId>ui</artifactId>
33     <version>1.0.0-SNAPSHOT</version>
34
35     <properties>
36         <dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
37         <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
38     </properties>
39
40     <build>
41         <plugins>
42             <plugin>
43                 <groupId>com.spotify</groupId>
44                 <artifactId>dockerfile-maven-plugin</artifactId>
45                 <version>${dockerfile-maven-plugin.version}</version>
46                 <configuration>
47                     <contextDirectory>${project.basedir}</contextDirectory>
48                     <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
49                     <buildArgs>
50                         <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
51                         <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
52                     </buildArgs>
53                 </configuration>
54                 <executions>
55                     <execution>
56                         <id>build-image</id>
57                         <phase>package</phase>
58                         <goals>
59                             <goal>build</goal>
60                         </goals>
61                     </execution>
62                     <execution>
63                         <id>tag-and-push-image-latest</id>
64                         <phase>package</phase>
65                         <goals>
66                             <goal>tag</goal>
67                             <goal>push</goal>
68                         </goals>
69                         <configuration>
70                             <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
71                             <tag>latest</tag>
72                             <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
73                         </configuration>
74                     </execution>
75                     <execution>
76                         <id>tag-and-push-image-with-version</id>
77                         <phase>package</phase>
78                         <goals>
79                             <goal>tag</goal>
80                             <goal>push</goal>
81                         </goals>
82                         <configuration>
83                             <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository>
84                             <tag>${project.version}</tag>
85                             <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
86                         </configuration>
87                     </execution>
88                 </executions>      
89             </plugin>
90         </plugins>
91     </build>
92 </project>