1 <!-- ============LICENSE_START=======================================================
2 org.onap.dmaap ================================================================================
3 Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
4 Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 use this file except in compliance with the License. You may obtain a copy
6 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
7 by applicable law or agreed to in writing, software distributed under the
8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
9 OF ANY KIND, either express or implied. See the License for the specific
10 language governing permissions and limitations under the License. ============LICENSE_END=========================================================
11 ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
12 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
14 <modelVersion>4.0.0</modelVersion>
17 <groupId>org.onap.oparent</groupId>
18 <artifactId>oparent</artifactId>
19 <version>1.1.0</version>
22 <groupId>org.onap.dmaap.kafka</groupId>
23 <artifactId>kafka11aaf</artifactId>
24 <version>1.0.0-SNAPSHOT</version>
25 <name>kafka11aaf</name>
28 <name>Apache License Version 2.0</name>
34 <name>Sunil Unnava</name>
36 <organization>ATT</organization>
37 <organizationUrl>www.att.com</organizationUrl>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-site-plugin</artifactId>
46 <version>3.6</version>
49 <groupId>org.apache.maven.wagon</groupId>
50 <artifactId>wagon-webdav-jackrabbit</artifactId>
51 <version>2.10</version>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-jar-plugin</artifactId>
59 <version>3.0.2</version>
63 <groupId>org.apache.maven.plugins</groupId>
64 <artifactId>maven-source-plugin</artifactId>
65 <version>3.0.0</version>
68 <id>attach-sources</id>
70 <goal>jar-no-fork</goal>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-release-plugin</artifactId>
78 <version>2.5.3</version>
80 <autoVersionSubmodules>true</autoVersionSubmodules>
81 <checkModificationExcludes>
82 </checkModificationExcludes>
86 <groupId>org.apache.maven.scm</groupId>
87 <artifactId>maven-scm-provider-gitexe</artifactId>
88 <version>1.9.4</version>
94 <groupId>com.spotify</groupId>
95 <artifactId>docker-maven-plugin</artifactId>
96 <version>1.0.0</version>
98 <imageName>onap/dmaap/kafka01101</imageName>
99 <dockerDirectory>src/main/docker</dockerDirectory>
100 <serverId>docker-hub</serverId>
102 <imageTag>${KafkaImg}</imageTag>
103 <imageTag>latest</imageTag>
105 <forceTags>true</forceTags>
107 <!-- <resource> <targetPath>/</targetPath> <directory>${dockerLocation}</directory>
108 <include>${project.build.finalName}.jar</include> </resource> -->
110 <targetPath>/</targetPath>
111 <directory>${project.build.directory}</directory>
112 <include>**/**</include>
119 <phase>install</phase>
124 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
129 <id>tag-image-project-version</id>
130 <phase>install</phase>
135 <image>onap/dmaap/kafka01101</image>
136 <newName>${docker.push.registry}/onap/dmaap/kafka01101:${KafkaImg}</newName>
137 <skipDockerTag>${skip.docker.push}</skipDockerTag>
142 <id>tag-image-latest</id>
143 <phase>install</phase>
148 <image>onap/dmaap/kafka01101</image>
149 <newName>${docker.push.registry}/onap/dmaap/kafka01101:latest</newName>
150 <skipDockerTag>${skip.docker.push}</skipDockerTag>
156 <phase>deploy</phase>
161 <imageName>${docker.push.registry}/onap/dmaap/kafka01101:${KafkaImg}</imageName>
162 <skipDockerPush>${skip.docker.push}</skipDockerPush>
167 <id>push-image-latest</id>
168 <phase>deploy</phase>
173 <imageName>${docker.push.registry}/onap/dmaap/kafka01101:latest</imageName>
174 <skipDockerPush>${skip.docker.push}</skipDockerPush>
184 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
185 <KafkaImg>0.0.1</KafkaImg>
186 <sitePath>/content/sites/site/org/onap/dmaap/kafka0111/${project.artifactId}/${project.version}</sitePath>
187 <skip.docker.build>true</skip.docker.build>
188 <skip.docker.push>true</skip.docker.push>
189 <nexusproxy>https://nexus.onap.org</nexusproxy>
190 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
193 <!-- Distribution management -->
194 <distributionManagement>
197 <url>dav:${nexusproxy}${sitePath}</url>
199 </distributionManagement>
208 <skip.docker.build>false</skip.docker.build>
209 <skip.docker.tag>false</skip.docker.tag>
210 <skip.docker.push>false</skip.docker.push>