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