Issue-id: OCS-9
[msb/apigateway.git] / msb-parent / msbparent-lite / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4     Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
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         Author: Zhaoxing Meng
19         email: meng.zhaoxing1@zte.com.cn
20
21 -->
22 <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">
23   <modelVersion>4.0.0</modelVersion>
24
25   <parent>
26     <groupId>org.openo.oparent</groupId>
27     <artifactId>oparent</artifactId>
28     <version>1.0.0-SNAPSHOT</version>
29     <relativePath></relativePath>
30   </parent>
31
32
33   <groupId>org.openo.common-services.microservice-bus</groupId>
34   <artifactId>msbparent-lite</artifactId>
35   <version>1.0.0-SNAPSHOT</version>
36   <packaging>pom</packaging>
37   <name>msbparent-lite</name>
38
39   <properties>
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   </properties>
69
70   <build>
71     <extensions>
72         <extension>
73             <groupId>org.apache.maven.wagon</groupId>
74             <artifactId>wagon-ssh</artifactId>
75             <version>2.10</version>
76         </extension>
77         <extension>
78             <groupId>org.apache.maven.wagon</groupId>
79             <artifactId>wagon-ftp</artifactId>
80             <version>2.10</version>
81         </extension>
82         <extension>
83             <groupId>org.apache.maven.wagon</groupId>
84             <artifactId>wagon-webdav-jackrabbit</artifactId>
85             <version>2.10</version>
86         </extension>
87     </extensions>
88     <resources>
89         <resource>
90             <filtering>false</filtering>
91             <directory>src/main/resources</directory>
92             <includes>
93                 <include>**/*</include>
94             </includes>
95         </resource>
96         <resource>
97             <filtering>true</filtering>
98             <directory>src/main/filters</directory>
99             <includes>
100                 <include>**/*</include>
101             </includes>
102         </resource>
103     </resources>
104     <testResources>
105         <testResource>
106             <filtering>false</filtering>
107             <directory>src/test/resources</directory>
108             <includes>
109                 <include>**/*</include>
110             </includes>
111         </testResource>
112         <testResource>
113             <filtering>true</filtering>
114             <directory>src/test/filters</directory>
115             <includes>
116                 <include>**/*</include>
117             </includes>
118         </testResource>
119     </testResources>
120
121     <pluginManagement>
122       <plugins>
123         <plugin>
124           <groupId>org.apache.maven.plugins</groupId>
125           <artifactId>maven-site-plugin</artifactId>
126           <version>3.4</version>
127         </plugin>
128         <plugin>
129           <groupId>org.apache.maven.plugins</groupId>
130           <artifactId>maven-project-info-reports-plugin</artifactId>
131           <version>2.8.1</version>
132         </plugin>
133
134         <!-- Official maven plugins, alpha-sorted by artifactId.
135              We do not need to specify the groupId. -->
136         <plugin>
137           <artifactId>maven-antrun-plugin</artifactId>
138           <version>${maven.antrun.plugin.version}</version>
139         </plugin>
140
141         <plugin>
142           <artifactId>maven-clean-plugin</artifactId>
143           <version>${maven.clean.plugin.version}</version>
144         </plugin>
145         <plugin>
146           <artifactId>maven-install-plugin</artifactId>
147           <version>2.5.2</version>
148         </plugin>
149         <plugin>
150           <artifactId>maven-deploy-plugin</artifactId>
151           <version>2.8.2</version>
152         </plugin>
153         <plugin>
154           <artifactId>maven-compiler-plugin</artifactId>
155           <version>${maven.compile.plugin.version}</version>
156         </plugin>
157         <plugin>
158           <artifactId>maven-enforcer-plugin</artifactId>
159           <version>${enforcer.version}</version>
160         </plugin>
161         <plugin>
162           <artifactId>maven-failsafe-plugin</artifactId>
163           <version>2.19.1</version>
164         </plugin>
165         <plugin>
166           <groupId>org.apache.maven.plugins</groupId>
167           <artifactId>maven-invoker-plugin</artifactId>
168           <version>2.0.0</version>
169         </plugin>
170         <plugin>
171           <artifactId>maven-jar-plugin</artifactId>
172           <version>${maven.jar.version}</version>
173         </plugin>
174         <plugin>
175           <artifactId>maven-javadoc-plugin</artifactId>
176           <version>${maven.javadoc.version}</version>
177           <configuration>
178             <!-- Keep things quiet except for warnings/errors -->
179             <quiet>true</quiet>
180           </configuration>
181           <executions>
182             <execution>
183               <id>attach-javadocs</id>
184               <goals>
185                 <goal>jar</goal>
186               </goals>
187             </execution>
188           </executions>
189         </plugin>
190         <plugin>
191           <artifactId>maven-release-plugin</artifactId>
192           <version>${maven.release.version}</version>
193         </plugin>
194         <plugin>
195           <groupId>org.apache.maven.plugins</groupId>
196           <artifactId>maven-dependency-plugin</artifactId>
197           <version>2.10</version>
198         </plugin>
199
200         <plugin>
201           <groupId>org.apache.maven.plugins</groupId>
202           <artifactId>maven-plugin-plugin</artifactId>
203           <version>${maven.plugin.version}</version>
204         </plugin>
205
206         <plugin>
207           <artifactId>maven-resources-plugin</artifactId>
208           <version>2.7</version>
209         </plugin>
210         <plugin>
211           <artifactId>maven-shade-plugin</artifactId>
212           <version>2.4.1</version>
213         </plugin>
214         <plugin>
215           <artifactId>maven-source-plugin</artifactId>
216           <version>2.4</version>
217           <executions>
218             <execution>
219               <id>attach-sources</id>
220               <goals>
221                 <goal>jar-no-fork</goal>
222               </goals>
223             </execution>
224           </executions>
225         </plugin>
226         <plugin>
227           <artifactId>maven-surefire-plugin</artifactId>
228           <version>${maven.surefire.version}</version>
229           <configuration>
230             <redirectTestOutputToFile>true</redirectTestOutputToFile>
231           </configuration>
232         </plugin>
233
234       </plugins>
235     </pluginManagement>
236   </build>
237
238
239
240 </project>