8cb38b073d5d11478631df00bcb7d2d90f51662a
[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 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">
19   <modelVersion>4.0.0</modelVersion>
20
21   <groupId>org.onap.msb.apigateway</groupId>
22   <artifactId>msb-apigateway-parent</artifactId>
23   <version>0.0.1-SNAPSHOT</version>
24   <packaging>pom</packaging>
25   <name>onap/msb/msb-apigateway-parent</name> 
26
27   <properties>
28     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
30
31
32     <openresty.version>1.11.2.2</openresty.version>
33     <openresty-windows.version>1.11.9.1001</openresty-windows.version>
34
35     <redis.version>3.2.6</redis.version>
36     <redis-windows.version>3.2.100</redis-windows.version>
37
38     <classifier.win32>windows_386</classifier.win32>
39     <classifier.win64>windows_amd64</classifier.win64>
40     <classifier.linux64>linux_amd64</classifier.linux64>
41
42     <linux64outputdir>target/assembly/${classifier.linux64}/</linux64outputdir>
43     <win32outputdir>target/assembly/${classifier.win32}/</win32outputdir>
44     <win64outputdir>target/assembly/${classifier.win64}/</win64outputdir>
45
46     <dockerFileDir>src/main/docker</dockerFileDir>
47     <blueprintFileDir>src/main/blueprint</blueprintFileDir>
48     <version.output>target/version</version.output>
49
50   </properties>
51
52   <modules>
53     <module>apiroute</module>
54     <module>openresty-ext</module>
55     <module>redis-ext</module>
56     <module>distributions</module>
57   </modules>
58
59 <!--   <distributionManagement>
60     <repository>
61       <id>releases</id>
62       <url>${nexus.repository.release}</url>
63     </repository>
64     <snapshotRepository>
65       <id>snapshots</id>
66       <url>${nexus.repository.snapshot}</url>
67     </snapshotRepository>
68   </distributionManagement> -->
69
70 <!--   <profiles>  
71       <profile>  
72           <id>linux</id>  
73           <properties>  
74               <env.separator>:</env.separator>  
75           </properties>  
76           <activation>  
77               <activeByDefault>true</activeByDefault>  
78           </activation>
79       </profile>  
80       <profile>  
81           <id>windows</id>  
82           <properties>  
83               <env.separator>;</env.separator>   
84           </properties>   
85       </profile> 
86   </profiles>   -->
87
88   <build>
89 <!--     <extensions>
90         <extension>
91             <groupId>org.apache.maven.wagon</groupId>
92             <artifactId>wagon-ssh</artifactId>
93             <version>2.10</version>
94         </extension>
95         <extension>
96             <groupId>org.apache.maven.wagon</groupId>
97             <artifactId>wagon-ftp</artifactId>
98             <version>2.10</version>
99         </extension>
100         <extension>
101             <groupId>org.apache.maven.wagon</groupId>
102             <artifactId>wagon-webdav-jackrabbit</artifactId>
103             <version>2.10</version>
104         </extension>
105     </extensions> -->
106     <resources>
107         <resource>
108             <filtering>false</filtering>
109             <directory>src/main/resources</directory>
110             <includes>
111                 <include>**/*</include>
112             </includes>
113         </resource>
114         <resource>
115             <filtering>true</filtering>
116             <directory>src/main/filters</directory>
117             <includes>
118                 <include>**/*</include>
119             </includes>
120         </resource>
121     </resources>
122
123     <pluginManagement>
124       <plugins>
125         <!-- Official maven plugins, alpha-sorted by artifactId.
126              We do not need to specify the groupId. -->
127         <plugin>
128           <artifactId>maven-antrun-plugin</artifactId>
129           <version>1.8</version>
130         </plugin>
131         
132         <plugin>
133           <artifactId>maven-clean-plugin</artifactId>
134           <version>2.6.1</version>
135         </plugin>
136         <plugin>
137           <artifactId>maven-install-plugin</artifactId>
138           <version>2.5.2</version>
139         </plugin>
140         <plugin>
141           <artifactId>maven-deploy-plugin</artifactId>
142           <version>2.8.2</version>
143         </plugin>
144
145         <plugin>
146           <groupId>org.apache.maven.plugins</groupId>
147           <artifactId>maven-dependency-plugin</artifactId>
148           <version>2.10</version>          
149         </plugin>
150
151
152 <!--         <plugin>
153           <groupId>org.apache.maven.plugins</groupId>
154           <artifactId>maven-plugin-plugin</artifactId>
155           <version>${maven.plugin.version}</version>
156         </plugin> -->
157
158         <plugin>
159           <artifactId>maven-resources-plugin</artifactId>
160           <version>2.7</version>
161         </plugin>
162
163         <plugin>
164           <groupId>org.codehaus.mojo</groupId>
165           <artifactId>build-helper-maven-plugin</artifactId>
166           <version>1.9.1</version>
167         </plugin>
168         
169         <plugin>
170           <groupId>org.apache.maven.plugins</groupId>
171           <artifactId>maven-surefire-plugin</artifactId>
172           <version>${maven.surefire.version}</version>
173           <configuration>
174             <forkCount>3</forkCount>
175             <reuseForks>true</reuseForks>
176             <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
177           </configuration>
178         </plugin>
179        
180       </plugins>
181     </pluginManagement>
182   </build> 
183  
184
185
186 </project>
187
188