blob: af1d38f4fd340d2e3e566859bd67aeed0a08a26c [file] [log] [blame]
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +01001<?xml version="1.0" encoding="UTF-8"?>
Sai Gandham25129102018-11-06 11:29:31 -06002<!--* ============LICENSE_START====================================================
3 * ===========================================================================
4 * org.onap.aaf
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
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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====================================================
19 * -->
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010020<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>
23
24 <parent>
Ravi Geda1931e662018-09-25 21:54:30 +010025 <groupId>org.onap.aaf.cadi.sidecar</groupId>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010026 <artifactId>sidecar</artifactId>
GANDHAM05e395c2019-10-15 09:16:11 -050027 <version>2.1.16-SNAPSHOT</version>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010028 </parent>
29
30 <artifactId>tproxy-config</artifactId>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010031 <packaging>jar</packaging>
32
Instrumentalc7014072018-11-07 11:21:03 -060033 <name>Sidecar tproxy-config</name>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010034 <description>ONAP AAF InitContainer For Pluggable Security</description>
35
36 <properties>
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>
Simon Hrabos25c00562019-09-20 15:19:24 +020040 <docker.location>${project.basedir}/target/${project.artifactId}-${project.version}-build</docker.location>
Sai Gandhama14cb892018-10-07 19:05:09 -050041 <!-- <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> -->
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010042 </properties>
43
44 <build>
45 <plugins>
46 <plugin>
47 <groupId>com.mycila</groupId>
48 <artifactId>license-maven-plugin</artifactId>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010049 <configuration>
50 <header>License.txt</header>
51 <includes>
52 <include>src/main/bin/**</include>
53 <include>src/docker/bin/**</include>
54 <include>pom.xml</include>
55 </includes>
56 <skipExistingHeaders>true</skipExistingHeaders>
57 </configuration>
58 <executions>
59 <execution>
60 <goals>
61 <!-- Set goal from "check" to "format" to auto update license headers -->
62 <goal>check</goal>
63 </goals>
64 <phase>validate</phase>
65 </execution>
66 </executions>
67 </plugin>
Simon Hrabos25c00562019-09-20 15:19:24 +020068
69 <plugin>
70 <artifactId>maven-assembly-plugin</artifactId>
71 <configuration>
72 <descriptors>
73 <descriptor>src/main/assembly/descriptor.xml</descriptor>
74 </descriptors>
75 </configuration>
76 <executions>
77 <execution>
78 <id>make-assembly</id>
79 <phase>package</phase>
80 <goals>
81 <goal>single</goal>
82 </goals>
83 </execution>
84 </executions>
85 </plugin>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +010086
GANDHAM1bba2762019-10-15 11:28:03 -050087 <!--<plugin>
Simon Hrabos25c00562019-09-20 15:19:24 +020088 <groupId>io.fabric8</groupId>
89 <artifactId>docker-maven-plugin</artifactId>
90 <version>0.28.0</version>
91 <configuration>
92 <verbose>true</verbose>
93 <apiVersion>${docker.apiVersion}</apiVersion>
94 <pullRegistry>${docker.pull.registry}</pullRegistry>
95 <pushRegistry>${docker.push.registry}</pushRegistry>
96 <images>
97 <image>
98 <name>${docker.push.registry}/onap/${project.artifactId}</name>
99 <build>
100 <cleanup>try</cleanup>
101 <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>
102 <tags>
103 <tag>latest</tag>
104 </tags>
105 <assembly>
106 <inline>
107 <fileSets>
108 <fileSet>
109 <directory>${docker.location}</directory>
110 <outputDirectory>/${project.artifactId}</outputDirectory>
111 </fileSet>
112 </fileSets>
113 </inline>
114 </assembly>
115 </build>
116 </image>
117 </images>
118 </configuration>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +0100119 <executions>
Simon Hrabos25c00562019-09-20 15:19:24 +0200120 <execution>
121 <id>generate-images</id>
122 <phase>install</phase>
Simon Hrabos25c00562019-09-20 15:19:24 +0200123 </execution>
124 <execution>
125 <id>push-images</id>
126 <phase>deploy</phase>
127 <goals>
128 <goal>push</goal>
129 </goals>
130 </execution>
131 </executions>
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +0100132 </plugin>
Simon Hrabos25c00562019-09-20 15:19:24 +0200133
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +0100134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-deploy-plugin</artifactId>
137 <configuration>
138 <skip>true</skip>
139 </configuration>
GANDHAM1bba2762019-10-15 11:28:03 -0500140 </plugin> -->
Blackwell, Ian (ib733q)98b93b72018-09-20 15:56:25 +0100141 </plugins>
142 </build>
143</project>