d9da20a547a6da03edcd62c788e7d42f2edf3c7a
[multicloud/framework.git] / multivimbroker / pom.xml
1 <?xml version="1.0"?>
2 <!--
3  Copyright (c) 2017 Wind River Systems, Inc.
4  Copyright (c) 2017-2018 VMware, Inc.
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        http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 -->
15 <project 
16     xmlns="http://maven.apache.org/POM/4.0.0" 
17     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">
18     <parent>
19         <groupId>org.onap.multicloud.framework</groupId>
20         <artifactId>multicloud-framework</artifactId>
21         <version>1.3.0-SNAPSHOT</version>
22     </parent>
23     <modelVersion>4.0.0</modelVersion>
24     <groupId>org.onap.multicloud.framework.broker</groupId>
25     <artifactId>multicloud-framework-broker</artifactId>
26     <version>1.3.0-SNAPSHOT</version>
27     <packaging>pom</packaging>
28     <name>multicloud-framework-broker</name>
29     <description>multivim broker</description>
30     <properties>
31         <encoding>UTF-8</encoding>
32         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
34         <nexusproxy>https://nexus.onap.org</nexusproxy>
35     </properties>
36     <build>
37       <pluginManagement>
38         <plugins>
39             <plugin>
40               <groupId>org.codehaus.mojo</groupId>
41               <artifactId>exec-maven-plugin</artifactId>
42               <version>1.1.1</version>
43               <configuration>
44                 <executable>${project.basedir}/sonar.sh</executable>
45                 <environmentVariables>
46                   <!-- make mvn properties as env for our script -->
47                   <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>
48                   <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>
49                   <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>
50                 </environmentVariables>
51               </configuration>
52             </plugin>
53         </plugins>
54       </pluginManagement>
55       <plugins>
56         <plugin>
57             <groupId>org.codehaus.mojo</groupId>
58             <artifactId>exec-maven-plugin</artifactId>
59             <version>1.1.1</version>
60             <executions>
61               <execution>
62                 <id>clean phase script</id>
63                 <phase>clean</phase>
64                 <goals>
65                   <goal>exec</goal>
66                 </goals>
67                 <configuration>
68                   <arguments>
69                     <argument>__</argument>
70                     <argument>clean</argument>
71                   </arguments>
72                 </configuration>
73               </execution>
74               <execution>
75                 <id>test script</id>
76                 <phase>test</phase>
77                 <goals>
78                   <goal>exec</goal>
79                 </goals>
80                 <configuration>
81                   <arguments>
82                     <argument>__</argument>
83                     <argument>test</argument>
84                   </arguments>
85                 </configuration>
86               </execution>
87             </executions>
88         </plugin>
89         <plugin>
90             <artifactId>maven-assembly-plugin</artifactId>
91             <configuration>
92                 <appendAssemblyId>false</appendAssemblyId>
93                 <descriptors>
94                     <descriptor>assembly.xml</descriptor>
95                 </descriptors>
96             </configuration>
97             <executions>
98                <execution>
99                    <id>make-assembly</id>
100                    <phase>package</phase>
101                    <goals>
102                        <goal>single</goal>
103                    </goals>
104                </execution>
105             </executions>
106         </plugin>
107       </plugins>
108     </build>
109 </project>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use