a7b68c5f4184d3f025b7657400f0218e8c588aca
[msb/apigateway.git] / msb-parent / msbparent-lite / 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 <!--
22   <parent>
23     <groupId>org.openo.oparent</groupId>
24     <artifactId>oparent</artifactId>
25     <version>1.0.0-SNAPSHOT</version>
26   </parent>
27 -->
28
29   <groupId>org.openo.msb</groupId>
30   <artifactId>msbparent-lite</artifactId>
31   <version>1.0.0</version>
32   <packaging>pom</packaging>
33   <name>msbparent-lite</name> 
34
35   <properties>
36     
37     <nexus.repository.release>dav:http://nexus.open-o.com/repos/content/repositories/releases</nexus.repository.release>
38     <nexus.repository.snapshot>dav:http://nexus.open-o.com/repos/content/repositories/snapshots</nexus.repository.snapshot>
39
40     <stream>latest</stream><!-- CI should pass in -Dstream={stream} -->
41
42     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
44
45     <!-- Java Versions -->
46     <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
47     <maven.compiler.source>1.7</maven.compiler.source>
48     <maven.compiler.target>1.7</maven.compiler.target>
49     <java.version.source>${maven.compiler.source}</java.version.source>
50     <java.version.target>${maven.compiler.target}</java.version.target>  
51
52
53     <!-- Maven plugin versions, in the 'canonical' format -->
54     <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
55     <maven.bundle.version>3.0.0</maven.bundle.version>
56     <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
57     <maven.compile.plugin.version>3.3</maven.compile.plugin.version>
58     <maven.jar.version>2.6</maven.jar.version>
59     <maven.javadoc.version>2.10.3</maven.javadoc.version>
60     <maven.plugin.version>3.4</maven.plugin.version>
61     <maven.release.version>2.5.2</maven.release.version>
62     <maven.surefire.version>2.18.1</maven.surefire.version>
63
64     <!-- Maven plugin versions, in random formats -->
65     <checkstyle.version>2.16</checkstyle.version>
66     <compiler.version>${maven.compile.plugin.version}</compiler.version>
67     <enforcer.version>1.4</enforcer.version>
68
69
70
71   </properties>
72
73   <distributionManagement>
74     <repository>
75       <id>releases</id>
76       <url>${nexus.repository.release}</url>
77     </repository>
78     <snapshotRepository>
79       <id>snapshots</id>
80       <url>${nexus.repository.snapshot}</url>
81     </snapshotRepository>
82   </distributionManagement>
83
84
85   <build>
86     <extensions>
87         <extension>
88             <groupId>org.apache.maven.wagon</groupId>
89             <artifactId>wagon-ssh</artifactId>
90             <version>2.10</version>
91         </extension>
92         <extension>
93             <groupId>org.apache.maven.wagon</groupId>
94             <artifactId>wagon-ftp</artifactId>
95             <version>2.10</version>
96         </extension>
97         <extension>
98             <groupId>org.apache.maven.wagon</groupId>
99             <artifactId>wagon-webdav-jackrabbit</artifactId>
100             <version>2.10</version>
101         </extension>
102     </extensions>
103     <resources>
104         <resource>
105             <filtering>false</filtering>
106             <directory>src/main/resources</directory>
107             <includes>
108                 <include>**/*</include>
109             </includes>
110         </resource>
111         <resource>
112             <filtering>true</filtering>
113             <directory>src/main/filters</directory>
114             <includes>
115                 <include>**/*</include>
116             </includes>
117         </resource>
118     </resources>
119     <testResources>
120         <testResource>
121             <filtering>false</filtering>
122             <directory>src/test/resources</directory>
123             <includes>
124                 <include>**/*</include>
125             </includes>
126         </testResource>
127         <testResource>
128             <filtering>true</filtering>
129             <directory>src/test/filters</directory>
130             <includes>
131                 <include>**/*</include>
132             </includes>
133         </testResource>
134     </testResources>
135
136     <pluginManagement>
137       <plugins>
138         <plugin>
139           <groupId>org.apache.maven.plugins</groupId>
140           <artifactId>maven-site-plugin</artifactId>
141           <version>3.4</version>
142         </plugin>
143         <plugin>
144           <groupId>org.apache.maven.plugins</groupId>
145           <artifactId>maven-project-info-reports-plugin</artifactId>
146           <version>2.8.1</version>
147         </plugin>
148
149         <!-- Official maven plugins, alpha-sorted by artifactId.
150              We do not need to specify the groupId. -->
151         <plugin>
152           <artifactId>maven-antrun-plugin</artifactId>
153           <version>${maven.antrun.plugin.version}</version>
154         </plugin>
155         
156         <plugin>
157           <artifactId>maven-clean-plugin</artifactId>
158           <version>${maven.clean.plugin.version}</version>
159         </plugin>
160         <plugin>
161           <artifactId>maven-install-plugin</artifactId>
162           <version>2.5.2</version>
163         </plugin>
164         <plugin>
165           <artifactId>maven-deploy-plugin</artifactId>
166           <version>2.8.2</version>
167         </plugin>
168         <plugin>
169           <artifactId>maven-compiler-plugin</artifactId>
170           <version>${maven.compile.plugin.version}</version>
171         </plugin>
172         <plugin>
173           <artifactId>maven-enforcer-plugin</artifactId>
174           <version>${enforcer.version}</version>
175         </plugin>
176         <plugin>
177           <artifactId>maven-failsafe-plugin</artifactId>
178           <version>${failsafe.version}</version>
179         </plugin>
180         <plugin>
181           <groupId>org.apache.maven.plugins</groupId>
182           <artifactId>maven-invoker-plugin</artifactId>
183           <version>2.0.0</version>
184         </plugin>
185         <plugin>
186           <artifactId>maven-jar-plugin</artifactId>
187           <version>${maven.jar.version}</version>
188         </plugin>
189         <plugin>
190           <artifactId>maven-javadoc-plugin</artifactId>
191           <version>${maven.javadoc.version}</version>
192           <configuration>
193             <!-- Keep things quiet except for warnings/errors -->
194             <quiet>true</quiet>
195           </configuration>
196           <executions>
197             <execution>
198               <id>attach-javadocs</id>
199               <goals>
200                 <goal>jar</goal>
201               </goals>
202             </execution>
203           </executions>
204         </plugin>
205         <plugin>
206           <artifactId>maven-release-plugin</artifactId>
207           <version>${maven.release.version}</version>
208         </plugin>
209         <plugin>
210           <groupId>org.apache.maven.plugins</groupId>
211           <artifactId>maven-dependency-plugin</artifactId>
212           <version>2.10</version>          
213         </plugin>
214
215         <plugin>
216           <groupId>org.apache.maven.plugins</groupId>
217           <artifactId>maven-plugin-plugin</artifactId>
218           <version>${maven.plugin.version}</version>
219         </plugin>
220
221         <plugin>
222           <artifactId>maven-resources-plugin</artifactId>
223           <version>2.7</version>
224         </plugin>
225         <plugin>
226           <artifactId>maven-shade-plugin</artifactId>
227           <version>2.4.1</version>
228         </plugin>
229         <plugin>
230           <artifactId>maven-source-plugin</artifactId>
231           <version>2.4</version>
232           <executions>
233             <execution>
234               <id>attach-sources</id>
235               <goals>
236                 <goal>jar-no-fork</goal>
237               </goals>
238             </execution>
239           </executions>
240         </plugin>
241         <plugin>
242           <artifactId>maven-surefire-plugin</artifactId>
243           <version>${maven.surefire.version}</version>
244           <configuration>
245             <redirectTestOutputToFile>true</redirectTestOutputToFile>
246           </configuration>
247         </plugin>
248        
249       </plugins>
250     </pluginManagement>
251   </build> 
252  
253
254
255 </project>