Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | ================================================================================ |
| 4 | Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 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 | d92d448 | 2017-09-21 05:42:28 +0000 | [diff] [blame] | 24 | <groupId>org.onap.dcaegen2.deployments</groupId> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 25 | <artifactId>deployments</artifactId> |
vagrant | 379c4f5 | 2017-11-25 07:08:34 +0000 | [diff] [blame] | 26 | <version>1.2.0-SNAPSHOT</version> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | <groupId>org.onap.dcaegen2.deployments</groupId> |
| 29 | <artifactId>bootstrap</artifactId> |
Lusheng Ji | 5e11184 | 2017-09-11 23:01:37 +0000 | [diff] [blame] | 30 | <name>dcaegen2-deployments-bootstrap</name> |
burdziak | d0afc3c | 2018-06-04 10:40:41 +0200 | [diff] [blame] | 31 | <version>1.2.0-SNAPSHOT</version> |
Lusheng Ji | c38ca2f | 2017-09-11 20:11:29 +0000 | [diff] [blame] | 32 | <url>http://maven.apache.org</url> |
| 33 | <properties> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | <sonar.skip>true</sonar.skip> |
| 36 | <sonar.sources>.</sonar.sources> |
| 37 | <!-- customize the SONARQUBE URL --> |
| 38 | <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> |
| 39 | <!-- below are language dependent --> |
| 40 | <!-- for Python --> |
| 41 | <sonar.language>py</sonar.language> |
| 42 | <sonar.pluginName>Python</sonar.pluginName> |
| 43 | <sonar.inclusions>**/*.py</sonar.inclusions> |
| 44 | <!-- for JavaScaript --> |
| 45 | <!-- |
| 46 | <sonar.language>js</sonar.language> |
| 47 | <sonar.pluginName>JS</sonar.pluginName> |
| 48 | <sonar.inclusions>**/*.js</sonar.inclusions> |
| 49 | --> |
| 50 | </properties> |
| 51 | <build> |
| 52 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 53 | <plugins> |
| 54 | <!-- plugin> |
| 55 | <artifactId>maven-assembly-plugin</artifactId> |
| 56 | <version>2.4.1</version> |
| 57 | <configuration> |
| 58 | <descriptors> |
| 59 | <descriptor>assembly/dep.xml</descriptor> |
| 60 | </descriptors> |
| 61 | </configuration> |
| 62 | <executions> |
| 63 | <execution> |
| 64 | <id>make-assembly</id> |
| 65 | <phase>package</phase> |
| 66 | <goals> |
| 67 | <goal>single</goal> |
| 68 | </goals> |
| 69 | </execution> |
| 70 | </executions> |
| 71 | </plugin --> |
| 72 | <!-- now we configure custom action (calling a script) at various lifecycle phases --> |
| 73 | <plugin> |
| 74 | <groupId>org.codehaus.mojo</groupId> |
| 75 | <artifactId>exec-maven-plugin</artifactId> |
| 76 | <version>1.2.1</version> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>clean phase script</id> |
| 80 | <phase>clean</phase> |
| 81 | <goals> |
| 82 | <goal>exec</goal> |
| 83 | </goals> |
| 84 | <configuration> |
| 85 | <arguments> |
| 86 | <argument>${project.artifactId}</argument> |
| 87 | <argument>clean</argument> |
| 88 | </arguments> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | <execution> |
| 92 | <id>generate-sources script</id> |
| 93 | <phase>generate-sources</phase> |
| 94 | <goals> |
| 95 | <goal>exec</goal> |
| 96 | </goals> |
| 97 | <configuration> |
| 98 | <arguments> |
| 99 | <argument>${project.artifactId}</argument> |
| 100 | <argument>generate-sources</argument> |
| 101 | </arguments> |
| 102 | </configuration> |
| 103 | </execution> |
| 104 | <execution> |
| 105 | <id>compile script</id> |
| 106 | <phase>compile</phase> |
| 107 | <goals> |
| 108 | <goal>exec</goal> |
| 109 | </goals> |
| 110 | <configuration> |
| 111 | <arguments> |
| 112 | <argument>${project.artifactId}</argument> |
| 113 | <argument>compile</argument> |
| 114 | </arguments> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | <execution> |
| 118 | <id>package script</id> |
| 119 | <phase>package</phase> |
| 120 | <goals> |
| 121 | <goal>exec</goal> |
| 122 | </goals> |
| 123 | <configuration> |
| 124 | <arguments> |
| 125 | <argument>${project.artifactId}</argument> |
| 126 | <argument>package</argument> |
| 127 | </arguments> |
| 128 | </configuration> |
| 129 | </execution> |
| 130 | <execution> |
| 131 | <id>test script</id> |
| 132 | <phase>test</phase> |
| 133 | <goals> |
| 134 | <goal>exec</goal> |
| 135 | </goals> |
| 136 | <configuration> |
| 137 | <arguments> |
| 138 | <argument>${project.artifactId}</argument> |
| 139 | <argument>test</argument> |
| 140 | </arguments> |
| 141 | </configuration> |
| 142 | </execution> |
| 143 | <execution> |
| 144 | <id>install script</id> |
| 145 | <phase>install</phase> |
| 146 | <goals> |
| 147 | <goal>exec</goal> |
| 148 | </goals> |
| 149 | <configuration> |
| 150 | <arguments> |
| 151 | <argument>${project.artifactId}</argument> |
| 152 | <argument>install</argument> |
| 153 | </arguments> |
| 154 | </configuration> |
| 155 | </execution> |
| 156 | <execution> |
| 157 | <id>deploy script</id> |
| 158 | <phase>deploy</phase> |
| 159 | <goals> |
| 160 | <goal>exec</goal> |
| 161 | </goals> |
| 162 | <configuration> |
| 163 | <arguments> |
| 164 | <argument>${project.artifactId}</argument> |
| 165 | <argument>deploy</argument> |
| 166 | </arguments> |
| 167 | </configuration> |
| 168 | </execution> |
| 169 | </executions> |
| 170 | </plugin> |
| 171 | </plugins> |
| 172 | </build> |
| 173 | </project> |