Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ================================================================================ |
Vijay Venkatesh Kumar | 09f9785 | 2020-02-07 04:20:32 +0000 | [diff] [blame] | 4 | Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved. |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | ============LICENSE_END========================================================= |
| 18 | |
| 19 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 20 | --> |
| 21 | <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"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
Lusheng Ji | 88648fc | 2017-09-20 02:18:20 +0000 | [diff] [blame] | 24 | <groupId>org.onap.dcaegen2.utils</groupId> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 25 | <artifactId>utils</artifactId> |
vagrant | 21ec33e | 2017-11-25 06:17:09 +0000 | [diff] [blame] | 26 | <version>1.2.0-SNAPSHOT</version> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | <groupId>org.onap.dcaegen2.utils</groupId> |
Tommy Carpenter | c3a485a | 2017-09-20 15:11:00 -0400 | [diff] [blame] | 29 | <artifactId>onap-dcae-cbs-docker-client</artifactId> |
Lusheng Ji | 88648fc | 2017-09-20 02:18:20 +0000 | [diff] [blame] | 30 | <name>dcaegen2-utils-python-cbs-docker-client</name> |
Hansen, Tony (th1395) | 51348c0 | 2021-07-20 22:05:23 +0000 | [diff] [blame] | 31 | <version>2.2.1-SNAPSHOT</version> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 32 | <url>http://maven.apache.org</url> |
| 33 | |
| 34 | <properties> |
| 35 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Tommy Carpenter | 7b31008 | 2017-09-25 11:45:12 -0400 | [diff] [blame] | 36 | <!-- Sonar --> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 37 | <sonar.sources>.</sonar.sources> |
Tommy Carpenter | 7b31008 | 2017-09-25 11:45:12 -0400 | [diff] [blame] | 38 | <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath> |
Vijay Venkatesh Kumar | 09f9785 | 2020-02-07 04:20:32 +0000 | [diff] [blame] | 39 | <sonar.python.coverage.reportPaths>coverage.xml</sonar.python.coverage.reportPaths> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 40 | <sonar.language>py</sonar.language> |
| 41 | <sonar.pluginName>Python</sonar.pluginName> |
| 42 | <sonar.inclusions>**/*.py</sonar.inclusions> |
Andrew Gauld | 373f0f3 | 2018-02-21 11:14:46 -0500 | [diff] [blame] | 43 | <sonar.exclusions>tests/*,setup.py</sonar.exclusions> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 44 | </properties> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 45 | <build> |
| 46 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 47 | <pluginManagement> |
| 48 | <plugins> |
| 49 | <!-- the following plugins are invoked from oparent, we do not need them --> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 50 | <plugin> |
| 51 | <groupId>org.sonatype.plugins</groupId> |
| 52 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 53 | <version>1.6.7</version> |
| 54 | <configuration> |
| 55 | <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
| 56 | </configuration> |
| 57 | </plugin> |
| 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
| 60 | <artifactId>maven-deploy-plugin</artifactId> |
| 61 | <!-- This version supports the "deployAtEnd" parameter --> |
| 62 | <version>2.8</version> |
| 63 | <configuration> |
| 64 | <skip>true</skip> |
| 65 | </configuration> |
| 66 | </plugin> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 67 | <!-- first disable the default Java plugins at various stages --> |
Tommy Carpenter | c7a0582 | 2018-10-25 13:56:41 -0400 | [diff] [blame] | 68 | <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 69 | the resources dir. we do not need it --> |
| 70 | <plugin> |
| 71 | <groupId>org.apache.maven.plugins</groupId> |
| 72 | <artifactId>maven-resources-plugin</artifactId> |
| 73 | <version>2.6</version> |
| 74 | <configuration> |
| 75 | <skip>true</skip> |
| 76 | </configuration> |
| 77 | </plugin> |
| 78 | <!-- maven-compiler-plugin is called during "compile" phases by default behavior. we do not need it --> |
| 79 | <plugin> |
| 80 | <groupId>org.apache.maven.plugins</groupId> |
| 81 | <artifactId>maven-compiler-plugin</artifactId> |
| 82 | <version>3.1</version> |
| 83 | <configuration> |
| 84 | <skip>true</skip> |
| 85 | </configuration> |
| 86 | </plugin> |
| 87 | <!-- maven-jar-plugin is called during "compile" phase by default behavior. we do not need it --> |
| 88 | <plugin> |
| 89 | <groupId>org.apache.maven.plugins</groupId> |
| 90 | <artifactId>maven-jar-plugin</artifactId> |
| 91 | <version>2.4</version> |
| 92 | <executions> |
| 93 | <execution> |
| 94 | <id>default-jar</id> |
| 95 | <phase/> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
Tommy Carpenter | c7a0582 | 2018-10-25 13:56:41 -0400 | [diff] [blame] | 99 | <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 100 | target dir to ~/.m2. we do not need it --> |
| 101 | <plugin> |
| 102 | <groupId>org.apache.maven.plugins</groupId> |
| 103 | <artifactId>maven-install-plugin</artifactId> |
| 104 | <version>2.4</version> |
| 105 | <configuration> |
| 106 | <skip>true</skip> |
| 107 | </configuration> |
| 108 | </plugin> |
| 109 | <!-- maven-surefire-plugin is called during "test" phase by default behavior. it triggers junit test. |
| 110 | we do not need it --> |
| 111 | <plugin> |
| 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-surefire-plugin</artifactId> |
| 114 | <version>2.12.4</version> |
| 115 | <configuration> |
| 116 | <skipTests>true</skipTests> |
| 117 | </configuration> |
| 118 | </plugin> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 119 | </plugins> |
| 120 | </pluginManagement> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 121 | <plugins> |
| 122 | <!-- plugin> |
| 123 | <artifactId>maven-assembly-plugin</artifactId> |
| 124 | <version>2.4.1</version> |
| 125 | <configuration> |
| 126 | <descriptors> |
| 127 | <descriptor>assembly/dep.xml</descriptor> |
| 128 | </descriptors> |
| 129 | </configuration> |
| 130 | <executions> |
| 131 | <execution> |
| 132 | <id>make-assembly</id> |
| 133 | <phase>package</phase> |
| 134 | <goals> |
| 135 | <goal>single</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin --> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 140 | <!-- now we configure custom action (calling a script) at various lifecycle phases --> |
| 141 | <plugin> |
| 142 | <groupId>org.codehaus.mojo</groupId> |
| 143 | <artifactId>exec-maven-plugin</artifactId> |
| 144 | <version>1.2.1</version> |
| 145 | <executions> |
| 146 | <execution> |
| 147 | <id>clean phase script</id> |
| 148 | <phase>clean</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 149 | <goals> |
| 150 | <goal>exec</goal> |
| 151 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 152 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 153 | <arguments> |
| 154 | <argument>${project.artifactId}</argument> |
| 155 | <argument>clean</argument> |
| 156 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 157 | </configuration> |
| 158 | </execution> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 159 | <execution> |
| 160 | <id>generate-sources script</id> |
| 161 | <phase>generate-sources</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 162 | <goals> |
| 163 | <goal>exec</goal> |
| 164 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 165 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 166 | <arguments> |
| 167 | <argument>${project.artifactId}</argument> |
| 168 | <argument>generate-sources</argument> |
| 169 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 170 | </configuration> |
| 171 | </execution> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 172 | <execution> |
| 173 | <id>compile script</id> |
| 174 | <phase>compile</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 175 | <goals> |
| 176 | <goal>exec</goal> |
| 177 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 178 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 179 | <arguments> |
| 180 | <argument>${project.artifactId}</argument> |
| 181 | <argument>compile</argument> |
| 182 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 183 | </configuration> |
| 184 | </execution> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 185 | <execution> |
| 186 | <id>package script</id> |
| 187 | <phase>package</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 188 | <goals> |
| 189 | <goal>exec</goal> |
| 190 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 191 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 192 | <arguments> |
| 193 | <argument>${project.artifactId}</argument> |
| 194 | <argument>package</argument> |
| 195 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 196 | </configuration> |
| 197 | </execution> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 198 | <execution> |
| 199 | <id>test script</id> |
| 200 | <phase>test</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 201 | <goals> |
| 202 | <goal>exec</goal> |
| 203 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 204 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 205 | <arguments> |
| 206 | <argument>${project.artifactId}</argument> |
| 207 | <argument>test</argument> |
| 208 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 209 | </configuration> |
| 210 | </execution> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 211 | <execution> |
| 212 | <id>install script</id> |
| 213 | <phase>install</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 214 | <goals> |
| 215 | <goal>exec</goal> |
| 216 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 217 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 218 | <arguments> |
| 219 | <argument>${project.artifactId}</argument> |
| 220 | <argument>install</argument> |
| 221 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 222 | </configuration> |
| 223 | </execution> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 224 | <execution> |
| 225 | <id>deploy script</id> |
| 226 | <phase>deploy</phase> |
Lusheng Ji | dbae9d3 | 2017-09-07 12:59:00 +0000 | [diff] [blame] | 227 | <goals> |
| 228 | <goal>exec</goal> |
| 229 | </goals> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 230 | <configuration> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 231 | <arguments> |
| 232 | <argument>${project.artifactId}</argument> |
| 233 | <argument>deploy</argument> |
| 234 | </arguments> |
Lusheng Ji | 5bc79f4 | 2017-08-29 14:20:46 +0000 | [diff] [blame] | 235 | </configuration> |
| 236 | </execution> |
| 237 | </executions> |
| 238 | </plugin> |
| 239 | </plugins> |
| 240 | </build> |
| 241 | </project> |