055200e5d858f8ab8a084a46da27400fb2b9a2bd
[msb/discovery.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4     Copyright 2016-2017 ZTE, Inc. and others.
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
18 -->
19 <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">
20   <modelVersion>4.0.0</modelVersion>
21   <parent>
22     <groupId>org.onap.oparent</groupId>
23     <artifactId>oparent</artifactId>
24     <version>0.1.1</version>
25   </parent>
26   
27   <groupId>org.onap.msb.discovery</groupId>
28   <artifactId>msb-discovery-parent</artifactId>
29   <version>1.0.0-SNAPSHOT</version>
30   <packaging>pom</packaging>
31   <name>msb-discovery</name> 
32
33   <properties>
34
35     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37
38
39
40     <classifier.win32>windows_386</classifier.win32>
41     <classifier.win64>windows_amd64</classifier.win64>
42     <classifier.linux64>linux_amd64</classifier.linux64>
43
44     <linux64outputdir>target/assembly/${classifier.linux64}/</linux64outputdir>
45     <win32outputdir>target/assembly/${classifier.win32}/</win32outputdir>
46     <win64outputdir>target/assembly/${classifier.win64}/</win64outputdir>
47
48     <dockerFileDir>src/main/docker</dockerFileDir>
49     <blueprintFileDir>src/main/blueprint</blueprintFileDir>
50     <version.output>target/version</version.output>
51     
52     <onap.nexus.javadocs-url>dav:https://nexus.onap.org/content/sites/site/org/onap/msb/discovery/${project.version}</onap.nexus.javadocs-url>
53    </properties>
54
55   <modules>
56     <module>sdclient</module>
57     <module>discovery-ui</module>
58     <module>nginx-ext-consul</module>
59     <module>distributions</module>
60   </modules>
61
62   <distributionManagement>
63     <site>
64       <id>ecomp-site</id>
65       <url>${onap.nexus.javadocs-url}</url>
66     </site>         
67   </distributionManagement>
68   
69   <build>
70     <resources>
71         <resource>
72             <filtering>false</filtering>
73             <directory>src/main/resources</directory>
74             <includes>
75                 <include>**/*</include>
76             </includes>
77         </resource>
78         <resource>
79             <filtering>true</filtering>
80             <directory>src/main/filters</directory>
81             <includes>
82                 <include>**/*</include>
83             </includes>
84         </resource>
85     </resources>
86
87     <pluginManagement>
88       <plugins>
89         <!-- Official maven plugins, alpha-sorted by artifactId.
90              We do not need to specify the groupId. -->
91         <plugin>
92           <artifactId>maven-antrun-plugin</artifactId>
93           <version>1.8</version>
94         </plugin>
95         
96         <plugin>
97           <artifactId>maven-clean-plugin</artifactId>
98           <version>2.6.1</version>
99         </plugin>
100         <plugin>
101           <artifactId>maven-install-plugin</artifactId>
102           <version>2.5.2</version>
103         </plugin>
104         <plugin>
105           <artifactId>maven-deploy-plugin</artifactId>
106           <version>2.8.2</version>
107         </plugin>
108         <plugin>
109           <groupId>org.codehaus.mojo</groupId>
110           <artifactId>versions-maven-plugin</artifactId>
111           <version>2.3</version>
112         </plugin>
113         <plugin>
114           <groupId>org.codehaus.mojo</groupId>
115           <artifactId>sonar-maven-plugin</artifactId>
116          <version>3.2</version>
117         </plugin>
118         <plugin>
119           <artifactId>maven-resources-plugin</artifactId>
120           <version>2.7</version>
121         </plugin>
122
123         <plugin>
124           <groupId>org.codehaus.mojo</groupId>
125           <artifactId>build-helper-maven-plugin</artifactId>
126           <version>1.9.1</version>
127         </plugin>
128        <plugin>
129           <groupId>org.apache.maven.plugins</groupId>
130           <artifactId>maven-site-plugin</artifactId>
131           <version>3.6</version>
132           <configuration>
133             <reportPlugins>
134               <plugin>
135                 <groupId>org.apache.maven.plugins</groupId>
136                 <artifactId>maven-project-info-reports-plugin</artifactId>
137                 <version>2.4</version>
138                 <configuration>
139                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
140                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
141                 </configuration>
142                 <reports>
143                   <report>dependencies</report>
144                 </reports>
145               </plugin>
146               <plugin>
147                 <groupId>org.apache.maven.plugins</groupId>
148                 <artifactId>maven-javadoc-plugin</artifactId>
149                 <version>2.8</version>
150               </plugin>
151             </reportPlugins>
152           </configuration>
153           <dependencies>
154             <dependency>
155               <groupId>org.apache.maven.wagon</groupId>
156               <artifactId>wagon-webdav-jackrabbit</artifactId>
157               <version>2.10</version>
158             </dependency>
159           </dependencies>
160         </plugin>
161       </plugins>
162     </pluginManagement>
163   </build> 
164  
165
166
167 </project>
168
169