Fix merge and daily build jenkins job
[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>1.0.0-SNAPSHOT</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>onap/msb/msb-discovery-parent</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/apigateway/${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>onap-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
114
115         <plugin>
116           <artifactId>maven-resources-plugin</artifactId>
117           <version>2.7</version>
118         </plugin>
119
120         <plugin>
121           <groupId>org.codehaus.mojo</groupId>
122           <artifactId>build-helper-maven-plugin</artifactId>
123           <version>1.9.1</version>
124         </plugin>
125        <plugin>
126           <groupId>org.apache.maven.plugins</groupId>
127           <artifactId>maven-site-plugin</artifactId>
128           <version>3.6</version>
129           <configuration>
130             <reportPlugins>
131               <plugin>
132                 <groupId>org.apache.maven.plugins</groupId>
133                 <artifactId>maven-project-info-reports-plugin</artifactId>
134                 <version>2.4</version>
135                 <configuration>
136                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
137                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
138                 </configuration>
139                 <reports>
140                   <report>dependencies</report>
141                 </reports>
142               </plugin>
143               <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-javadoc-plugin</artifactId>
146                 <version>2.8</version>
147               </plugin>
148             </reportPlugins>
149           </configuration>
150           <dependencies>
151             <dependency>
152               <groupId>org.apache.maven.wagon</groupId>
153               <artifactId>wagon-webdav-jackrabbit</artifactId>
154               <version>2.10</version>
155             </dependency>
156           </dependencies>
157         </plugin>
158       </plugins>
159     </pluginManagement>
160   </build> 
161  
162
163
164 </project>
165
166