R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ================================================================================
4 Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
5 Copyright (c) 2020 Pantheon.tech. All rights reserved.
6 Copyright (c) 2020-2021 Nokia. All rights reserved.
7 Copyright (c) 2020 J. F. Lucas.  All rights reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13      http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
21 -->
22 <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">
23   <modelVersion>4.0.0</modelVersion>
24   <parent>
25     <groupId>org.onap.dcaegen2.platform</groupId>
26     <artifactId>plugins</artifactId>
27     <version>1.2.0-SNAPSHOT</version>
28   </parent>
29   <groupId>org.onap.dcaegen2.platform.plugins</groupId>
30   <artifactId>k8s</artifactId>
31   <name>k8s-plugin</name>
32   <version>3.9.0-SNAPSHOT</version>
33   <url>http://maven.apache.org</url>
34   <properties>
35     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36     <sonar.sources>.</sonar.sources>
37     <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
38     <sonar.python.coverage.reportPaths>coverage.xml</sonar.python.coverage.reportPaths>
39     <sonar.language>py</sonar.language>
40     <sonar.pluginName>Python</sonar.pluginName>
41     <sonar.inclusions>**/*.py</sonar.inclusions>
42     <sonar.exclusions>tests/*,setup.py</sonar.exclusions>
43   </properties>
44   <build>
45     <finalName>${project.artifactId}-${project.version}</finalName>
46     <plugins>
47       <!-- plugin>
48         <artifactId>maven-assembly-plugin</artifactId>
49         <version>2.4.1</version>
50         <configuration>
51           <descriptors>
52             <descriptor>assembly/dep.xml</descriptor>
53           </descriptors>
54         </configuration>
55         <executions>
56           <execution>
57             <id>make-assembly</id>
58             <phase>package</phase>
59             <goals>
60               <goal>single</goal>
61             </goals>
62           </execution>
63         </executions>
64       </plugin -->
65       <!-- now we configure custom action (calling a script) at various lifecycle phases -->
66       <plugin>
67         <groupId>org.codehaus.mojo</groupId>
68         <artifactId>exec-maven-plugin</artifactId>
69         <version>1.2.1</version>
70         <executions>
71           <execution>
72             <id>clean phase script</id>
73             <phase>clean</phase>
74             <goals>
75               <goal>exec</goal>
76             </goals>
77             <configuration>
78               <arguments>
79                 <argument>${project.artifactId}</argument>
80                 <argument>clean</argument>
81               </arguments>
82             </configuration>
83           </execution>
84           <execution>
85             <id>generate-sources script</id>
86             <phase>generate-sources</phase>
87             <goals>
88               <goal>exec</goal>
89             </goals>
90             <configuration>
91               <arguments>
92                 <argument>${project.artifactId}</argument>
93                 <argument>generate-sources</argument>
94               </arguments>
95             </configuration>
96           </execution>
97           <execution>
98             <id>compile script</id>
99             <phase>compile</phase>
100             <goals>
101               <goal>exec</goal>
102             </goals>
103             <configuration>
104               <arguments>
105                 <argument>${project.artifactId}</argument>
106                 <argument>compile</argument>
107               </arguments>
108             </configuration>
109           </execution>
110           <execution>
111             <id>package script</id>
112             <phase>package</phase>
113             <goals>
114               <goal>exec</goal>
115             </goals>
116             <configuration>
117               <arguments>
118                 <argument>${project.artifactId}</argument>
119                 <argument>package</argument>
120               </arguments>
121             </configuration>
122           </execution>
123           <execution>
124             <id>test script</id>
125             <phase>test</phase>
126             <goals>
127               <goal>exec</goal>
128             </goals>
129             <configuration>
130               <arguments>
131                 <argument>${project.artifactId}</argument>
132                 <argument>test</argument>
133               </arguments>
134             </configuration>
135           </execution>
136           <execution>
137             <id>install script</id>
138             <phase>install</phase>
139             <goals>
140               <goal>exec</goal>
141             </goals>
142             <configuration>
143               <arguments>
144                 <argument>${project.artifactId}</argument>
145                 <argument>install</argument>
146               </arguments>
147             </configuration>
148           </execution>
149           <execution>
150             <id>deploy script</id>
151             <phase>deploy</phase>
152             <goals>
153               <goal>exec</goal>
154             </goals>
155             <configuration>
156               <arguments>
157                 <argument>${project.artifactId}</argument>
158                 <argument>deploy</argument>
159               </arguments>
160             </configuration>
161           </execution>
162         </executions>
163       </plugin>
164     </plugins>
165   </build>
166 </project>