Update DCAE Committer in INFO.yaml
[dcaegen2/platform/cli.git] / component-json-schemas / pom.xml
1 <?xml version="1.0"?>
2 <!--
3 ================================================================================
4 Copyright (c) 2017-2019 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 -->
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.platform.cli</groupId>
24     <artifactId>cli</artifactId>
25     <version>1.2.0-SNAPSHOT</version>
26   </parent>
27   <groupId>org.onap.dcaegen2.platform.cli</groupId>
28   <artifactId>component-json-schemas</artifactId>
29   <name>dcaegen2-platform-cli-component-json-schemas</name>
30   <version>1.1.0-SNAPSHOT</version>
31   <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     <pluginManagement>
53       <plugins>
54         <plugin>
55           <groupId>org.sonatype.plugins</groupId>
56           <artifactId>nexus-staging-maven-plugin</artifactId>
57           <version>1.6.7</version>
58           <configuration>
59             <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
60           </configuration>
61         </plugin>
62         <plugin>
63           <groupId>org.apache.maven.plugins</groupId>
64           <artifactId>maven-deploy-plugin</artifactId>
65           <!-- This version supports the "deployAtEnd" parameter -->
66           <version>2.8</version>
67           <configuration>
68             <skip>true</skip>
69           </configuration>
70         </plugin>
71         <!-- first disable the default Java plugins at various stages -->
72         <!-- maven-resources-plugin is called during "*resource" phases by default behavior.  it prepares
73          the resources dir.  we do not need it -->
74         <plugin>
75           <groupId>org.apache.maven.plugins</groupId>
76           <artifactId>maven-resources-plugin</artifactId>
77           <version>2.6</version>
78           <configuration>
79             <skip>true</skip>
80           </configuration>
81         </plugin>
82         <!-- maven-compiler-plugin is called during "compile" phases by default behavior.  we do not need it -->
83         <plugin>
84           <groupId>org.apache.maven.plugins</groupId>
85           <artifactId>maven-compiler-plugin</artifactId>
86           <version>3.1</version>
87           <configuration>
88             <skip>true</skip>
89           </configuration>
90         </plugin>
91         <!-- maven-jar-plugin is called during "compile" phase by default behavior.  we do not need it -->
92         <plugin>
93           <groupId>org.apache.maven.plugins</groupId>
94           <artifactId>maven-jar-plugin</artifactId>
95           <version>2.4</version>
96           <executions>
97             <execution>
98               <id>default-jar</id>
99               <phase/>
100             </execution>
101           </executions>
102         </plugin>
103         <!-- maven-install-plugin is called during "install" phase by default behavior.  it tries to copy stuff under
104          target dir to ~/.m2.  we do not need it -->
105         <plugin>
106           <groupId>org.apache.maven.plugins</groupId>
107           <artifactId>maven-install-plugin</artifactId>
108           <version>2.4</version>
109           <configuration>
110             <skip>true</skip>
111           </configuration>
112         </plugin>
113         <!-- maven-surefire-plugin is called during "test" phase by default behavior.  it triggers junit test.
114          we do not need it -->
115         <plugin>
116           <groupId>org.apache.maven.plugins</groupId>
117           <artifactId>maven-surefire-plugin</artifactId>
118           <version>2.12.4</version>
119           <configuration>
120             <skipTests>true</skipTests>
121           </configuration>
122         </plugin>
123       </plugins>
124     </pluginManagement>
125     <plugins>
126       <!-- plugin>
127         <artifactId>maven-assembly-plugin</artifactId>
128         <version>2.4.1</version>
129         <configuration>
130           <descriptors>
131             <descriptor>assembly/dep.xml</descriptor>
132           </descriptors>
133         </configuration>
134         <executions>
135           <execution>
136             <id>make-assembly</id>
137             <phase>package</phase>
138             <goals>
139               <goal>single</goal>
140             </goals>
141           </execution>
142         </executions>
143       </plugin -->
144       <!-- now we configure custom action (calling a script) at various lifecycle phases -->
145       <plugin>
146         <groupId>org.codehaus.mojo</groupId>
147         <artifactId>exec-maven-plugin</artifactId>
148         <version>1.2.1</version>
149         <executions>
150           <execution>
151             <id>clean phase script</id>
152             <phase>clean</phase>
153             <goals>
154               <goal>exec</goal>
155             </goals>
156             <configuration>
157               <arguments>
158                 <argument>${project.artifactId}</argument>
159                 <argument>clean</argument>
160               </arguments>
161             </configuration>
162           </execution>
163           <execution>
164             <id>generate-sources script</id>
165             <phase>generate-sources</phase>
166             <goals>
167               <goal>exec</goal>
168             </goals>
169             <configuration>
170               <arguments>
171                 <argument>${project.artifactId}</argument>
172                 <argument>generate-sources</argument>
173               </arguments>
174             </configuration>
175           </execution>
176           <execution>
177             <id>compile script</id>
178             <phase>compile</phase>
179             <goals>
180               <goal>exec</goal>
181             </goals>
182             <configuration>
183               <arguments>
184                 <argument>${project.artifactId}</argument>
185                 <argument>compile</argument>
186               </arguments>
187             </configuration>
188           </execution>
189           <execution>
190             <id>package script</id>
191             <phase>package</phase>
192             <goals>
193               <goal>exec</goal>
194             </goals>
195             <configuration>
196               <arguments>
197                 <argument>${project.artifactId}</argument>
198                 <argument>package</argument>
199               </arguments>
200             </configuration>
201           </execution>
202           <execution>
203             <id>test script</id>
204             <phase>test</phase>
205             <goals>
206               <goal>exec</goal>
207             </goals>
208             <configuration>
209               <arguments>
210                 <argument>${project.artifactId}</argument>
211                 <argument>test</argument>
212               </arguments>
213             </configuration>
214           </execution>
215           <execution>
216             <id>install script</id>
217             <phase>install</phase>
218             <goals>
219               <goal>exec</goal>
220             </goals>
221             <configuration>
222               <arguments>
223                 <argument>${project.artifactId}</argument>
224                 <argument>install</argument>
225               </arguments>
226             </configuration>
227           </execution>
228           <execution>
229             <id>deploy script</id>
230             <phase>deploy</phase>
231             <goals>
232               <goal>exec</goal>
233             </goals>
234             <configuration>
235               <arguments>
236                 <argument>${project.artifactId}</argument>
237                 <argument>deploy</argument>
238               </arguments>
239             </configuration>
240           </execution>
241         </executions>
242       </plugin>
243     </plugins>
244   </build>
245 </project>