2 <!-- ============LICENSE_START=======================================================
3 org.onap.dmaap ================================================================================
4 Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 use this file except in compliance with the License. You may obtain a copy
7 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
8 by applicable law or agreed to in writing, software distributed under the
9 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
10 OF ANY KIND, either express or implied. See the License for the specific
11 language governing permissions and limitations under the License. ============LICENSE_END=========================================================
12 ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
13 <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">
14 <modelVersion>4.0.0</modelVersion>
17 <groupId>org.onap.oparent</groupId>
18 <artifactId>oparent</artifactId>
19 <version>1.2.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>
56 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId>
57 <version>3.0.2</version> </plugin> -->
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-source-plugin</artifactId>
62 <version>3.0.0</version>
65 <id>attach-sources</id>
67 <goal>jar-no-fork</goal>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-release-plugin</artifactId>
75 <version>2.5.3</version>
77 <autoVersionSubmodules>true</autoVersionSubmodules>
78 <checkModificationExcludes>
79 </checkModificationExcludes>
83 <groupId>org.apache.maven.scm</groupId>
84 <artifactId>maven-scm-provider-gitexe</artifactId>
85 <version>1.9.4</version>
91 <groupId>org.sonatype.plugins</groupId>
92 <artifactId>nexus-staging-maven-plugin</artifactId>
93 <extensions>false</extensions>
96 <id>injected-nexus-deploy</id>
102 <artifactId>maven-deploy-plugin</artifactId>
103 <version>2.8</version>
106 <id>default-deploy</id>
118 <groupId>com.spotify</groupId>
119 <artifactId>docker-maven-plugin</artifactId>
120 <version>1.0.0</version>
122 <imageName>onap/dmaap/kafka01101</imageName>
123 <dockerDirectory>src/main/docker</dockerDirectory>
124 <serverId>docker-hub</serverId>
126 <imageTag>${KafkaImg}</imageTag>
127 <imageTag>latest</imageTag>
129 <forceTags>true</forceTags>
131 <!-- <resource> <targetPath>/</targetPath> <directory>${dockerLocation}</directory>
132 <include>${project.build.finalName}.jar</include> </resource> -->
134 <targetPath>/</targetPath>
135 <directory>${project.build.directory}</directory>
136 <include>**/**</include>
143 <phase>install</phase>
148 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
153 <id>tag-image-project-version</id>
154 <phase>install</phase>
159 <image>onap/dmaap/kafka01101</image>
160 <newName>${docker.push.registry}/onap/dmaap/kafka01101:${KafkaImg}</newName>
161 <skipDockerTag>${skip.docker.push}</skipDockerTag>
166 <id>tag-image-latest</id>
167 <phase>install</phase>
172 <image>onap/dmaap/kafka01101</image>
173 <newName>${docker.push.registry}/onap/dmaap/kafka01101:latest</newName>
174 <skipDockerTag>${skip.docker.push}</skipDockerTag>
180 <phase>deploy</phase>
185 <imageName>${docker.push.registry}/onap/dmaap/kafka01101:${KafkaImg}</imageName>
186 <skipDockerPush>${skip.docker.push}</skipDockerPush>
191 <id>push-image-latest</id>
192 <phase>deploy</phase>
197 <imageName>${docker.push.registry}/onap/dmaap/kafka01101:latest</imageName>
198 <skipDockerPush>${skip.docker.push}</skipDockerPush>
208 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
209 <KafkaImg>0.0.1</KafkaImg>
210 <sitePath>/content/sites/site/org/onap/dmaap/kafka0111/${project.artifactId}/${project.version}</sitePath>
211 <skip.docker.build>true</skip.docker.build>
212 <skip.docker.push>true</skip.docker.push>
213 <nexusproxy>https://nexus.onap.org</nexusproxy>
214 <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
217 <!-- Distribution management -->
218 <distributionManagement>
221 <url>dav:${nexusproxy}${sitePath}</url>
223 </distributionManagement>
232 <skip.docker.build>false</skip.docker.build>
233 <skip.docker.tag>false</skip.docker.tag>
234 <skip.docker.push>false</skip.docker.push>