1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--* ============LICENSE_START====================================================
3 * ===========================================================================
5 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.aaf.cadi.sidecar</groupId>
26 <artifactId>sidecar</artifactId>
27 <version>2.1.10-SNAPSHOT</version>
30 <artifactId>tproxy-config</artifactId>
31 <packaging>jar</packaging>
33 <name>Sidecar tproxy-config</name>
34 <description>ONAP AAF InitContainer For Pluggable Security</description>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39 <version.io.fabric8.fabric8-maven-plugin>3.5.32</version.io.fabric8.fabric8-maven-plugin>
40 <docker.location>${basedir}/target</docker.location>
41 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
47 <groupId>com.mycila</groupId>
48 <artifactId>license-maven-plugin</artifactId>
50 <header>License.txt</header>
52 <include>src/main/bin/**</include>
53 <include>src/docker/bin/**</include>
54 <include>pom.xml</include>
56 <skipExistingHeaders>true</skipExistingHeaders>
61 <!-- Set goal from "check" to "format" to auto update license headers -->
64 <phase>validate</phase>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-resources-plugin</artifactId>
72 <version>3.0.2</version>
75 <id>copy-docker-file</id>
76 <phase>package</phase>
78 <goal>copy-resources</goal>
81 <outputDirectory>target</outputDirectory>
82 <overwrite>true</overwrite>
85 <directory>${basedir}/src/main/docker</directory>
86 <filtering>true</filtering>
89 <directory>${basedir}/src/main/bin/</directory>
90 <filtering>true</filtering>
98 <groupId>com.spotify</groupId>
99 <artifactId>docker-maven-plugin</artifactId>
100 <version>0.4.11</version>
102 <verbose>true</verbose>
103 <serverId>docker-hub</serverId>
104 <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
105 <dockerDirectory>${docker.location}</dockerDirectory>
107 <imageTag>latest</imageTag>
109 <forceTags>true</forceTags>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-deploy-plugin</artifactId>