4fe6fcc74cc2e7f59ff9c3a7bd970c54ee16a2c1
[msb/apigateway.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
4  
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8  
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     See the License for the specific language governing permissions and
15     limitations under the License.
16  
17 -->
18 <project 
19   xmlns="http://maven.apache.org/POM/4.0.0" 
20   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.oparent</groupId>
24     <artifactId>oparent</artifactId>
25     <version>1.0.0-SNAPSHOT</version>
26   </parent>
27   <groupId>org.onap.msb.apigateway</groupId>
28   <artifactId>msb-apigateway-parent</artifactId>
29   <version>1.0.0-SNAPSHOT</version>
30   <packaging>pom</packaging>
31   <name>onap/msb/msb-apigateway-parent</name>
32   <properties>
33     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35     <maven.surefire.version>2.18.1</maven.surefire.version>
36     <openresty.version>1.11.2.2</openresty.version>
37     <openresty-windows.version>1.11.9.1001</openresty-windows.version>
38     <redis.version>3.2.6</redis.version>
39     <redis-windows.version>3.2.100</redis-windows.version>
40     <classifier.win32>windows_386</classifier.win32>
41     <classifier.win64>windows_amd64</classifier.win64>
42     <classifier.linux64>linux_amd64</classifier.linux64>
43     <linux64outputdir>target/assembly/${classifier.linux64}/</linux64outputdir>
44     <win32outputdir>target/assembly/${classifier.win32}/</win32outputdir>
45     <win64outputdir>target/assembly/${classifier.win64}/</win64outputdir>
46     <dockerFileDir>src/main/docker</dockerFileDir>
47     <blueprintFileDir>src/main/blueprint</blueprintFileDir>
48     <version.output>target/version</version.output>
49     <onap.nexus.host>nexus.onap.org</onap.nexus.host>
50     <onap.nexus.url>https://${onap.nexus.host}/content</onap.nexus.url>
51     <onap.nexus.snapshot-url>${onap.nexus.url}/repositories/snapshots/</onap.nexus.snapshot-url>
52     <onap.nexus.release-url>${onap.nexus.url}/repositories/releases/</onap.nexus.release-url>
53     <onap.nexus.javadocs-url>dav:${onap.nexus.url}/sites/site/org/onap/msb/apigateway/${project.version}</onap.nexus.javadocs-url>
54   </properties>
55   <distributionManagement>
56     <site>
57       <id>onap-site</id>
58       <url>${onap.nexus.javadocs-url}</url>
59     </site>         
60   </distributionManagement>
61   <modules>
62     <module>apiroute</module>
63     <module>openresty-ext</module>
64     <module>redis-ext</module>
65     <module>distributions</module>
66   </modules>
67   <build>
68     <resources>
69       <resource>
70         <filtering>false</filtering>
71         <directory>src/main/resources</directory>
72         <includes>
73           <include>**/*</include>
74         </includes>
75       </resource>
76       <resource>
77         <filtering>true</filtering>
78         <directory>src/main/filters</directory>
79         <includes>
80           <include>**/*</include>
81         </includes>
82       </resource>
83     </resources>
84     <pluginManagement>
85       <plugins>
86         <!-- Official maven plugins, alpha-sorted by artifactId.
87              We do not need to specify the groupId. -->
88         <plugin>
89           <artifactId>maven-antrun-plugin</artifactId>
90           <version>1.8</version>
91         </plugin>
92         <plugin>
93           <artifactId>maven-clean-plugin</artifactId>
94           <version>2.6.1</version>
95         </plugin>
96         <plugin>
97           <artifactId>maven-install-plugin</artifactId>
98           <version>2.5.2</version>
99         </plugin>
100         <plugin>
101           <artifactId>maven-deploy-plugin</artifactId>
102           <version>2.8.2</version>
103         </plugin>
104         <plugin>
105           <groupId>org.apache.maven.plugins</groupId>
106           <artifactId>maven-dependency-plugin</artifactId>
107           <version>2.10</version>
108         </plugin>
109         <plugin>
110           <artifactId>maven-resources-plugin</artifactId>
111           <version>2.7</version>
112         </plugin>
113         <plugin>
114           <groupId>org.codehaus.mojo</groupId>
115           <artifactId>build-helper-maven-plugin</artifactId>
116           <version>1.9.1</version>
117         </plugin>
118         <plugin>
119           <groupId>org.apache.maven.plugins</groupId>
120           <artifactId>maven-surefire-plugin</artifactId>
121           <version>${maven.surefire.version}</version>
122           <configuration>
123             <forkCount>3</forkCount>
124             <reuseForks>true</reuseForks>
125             <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
126           </configuration>
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 </project>