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