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