fix jenkins msb-discovery-master-stage-site-java
[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.host>nexus.onap.org</onap.nexus.host>
53     <onap.nexus.url>https://${onap.nexus.host}/content</onap.nexus.url>
54     <onap.nexus.snapshot-url>${onap.nexus.url}/repositories/snapshots/</onap.nexus.snapshot-url>
55     <onap.nexus.release-url>${onap.nexus.url}/repositories/releases/</onap.nexus.release-url>
56     <onap.nexus.javadocs-url>dav:${onap.nexus.url}/sites/site/org/onap/msb/apigateway/${project.version}</onap.nexus.javadocs-url>
57   </properties>
58
59   <modules>
60     <module>sdclient</module>
61     <module>discovery-ui</module>
62     <module>nginx-ext-consul</module>
63     <module>distributions</module>
64   </modules>
65
66   <distributionManagement>
67     <site>
68       <id>onap-site</id>
69       <url>${onap.nexus.javadocs-url}</url>
70     </site>         
71   </distributionManagement>
72   
73   <build>
74     <resources>
75         <resource>
76             <filtering>false</filtering>
77             <directory>src/main/resources</directory>
78             <includes>
79                 <include>**/*</include>
80             </includes>
81         </resource>
82         <resource>
83             <filtering>true</filtering>
84             <directory>src/main/filters</directory>
85             <includes>
86                 <include>**/*</include>
87             </includes>
88         </resource>
89     </resources>
90
91     <pluginManagement>
92       <plugins>
93         <!-- Official maven plugins, alpha-sorted by artifactId.
94              We do not need to specify the groupId. -->
95         <plugin>
96           <artifactId>maven-antrun-plugin</artifactId>
97           <version>1.8</version>
98         </plugin>
99         
100         <plugin>
101           <artifactId>maven-clean-plugin</artifactId>
102           <version>2.6.1</version>
103         </plugin>
104         <plugin>
105           <artifactId>maven-install-plugin</artifactId>
106           <version>2.5.2</version>
107         </plugin>
108         <plugin>
109           <artifactId>maven-deploy-plugin</artifactId>
110           <version>2.8.2</version>
111         </plugin>
112         <plugin>
113           <groupId>org.codehaus.mojo</groupId>
114           <artifactId>versions-maven-plugin</artifactId>
115           <version>2.3</version>
116         </plugin>
117
118
119         <plugin>
120           <artifactId>maven-resources-plugin</artifactId>
121           <version>2.7</version>
122         </plugin>
123
124         <plugin>
125           <groupId>org.codehaus.mojo</groupId>
126           <artifactId>build-helper-maven-plugin</artifactId>
127           <version>1.9.1</version>
128         </plugin>
129        <plugin>
130           <groupId>org.apache.maven.plugins</groupId>
131           <artifactId>maven-site-plugin</artifactId>
132           <version>3.6</version>
133           <configuration>
134             <reportPlugins>
135               <plugin>
136                 <groupId>org.apache.maven.plugins</groupId>
137                 <artifactId>maven-project-info-reports-plugin</artifactId>
138                 <version>2.4</version>
139                 <configuration>
140                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
141                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
142                 </configuration>
143                 <reports>
144                   <report>dependencies</report>
145                 </reports>
146               </plugin>
147               <plugin>
148                 <groupId>org.apache.maven.plugins</groupId>
149                 <artifactId>maven-javadoc-plugin</artifactId>
150                 <version>2.8</version>
151               </plugin>
152             </reportPlugins>
153           </configuration>
154           <dependencies>
155             <dependency>
156               <groupId>org.apache.maven.wagon</groupId>
157               <artifactId>wagon-webdav-jackrabbit</artifactId>
158               <version>2.10</version>
159             </dependency>
160           </dependencies>
161         </plugin>
162       </plugins>
163     </pluginManagement>
164   </build> 
165  
166
167
168 </project>
169
170