1+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <groupId >com.xiaolinoc</groupId >
5+ <artifactId >oc-parent</artifactId >
6+ <version >0.0.1-SNAPSHOT</version >
7+ <packaging >pom</packaging >
8+
9+ <properties >
10+ <!-- Plugin的属性定义 -->
11+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
12+ <jdk .version>1.6</jdk .version>
13+ <jackson .version>2.0.6</jackson .version>
14+
15+ <lombok .version>0.10.8</lombok .version>
16+ </properties >
17+
18+ <build >
19+ <plugins >
20+ <!-- compiler插件, 设定JDK版本 -->
21+ <plugin >
22+ <groupId >org.apache.maven.plugins</groupId >
23+ <artifactId >maven-compiler-plugin</artifactId >
24+ <version >2.5.1</version >
25+ <configuration >
26+ <source >${jdk.version} </source >
27+ <target >${jdk.version} </target >
28+ <showWarnings >true</showWarnings >
29+ <encoding >UTF-8</encoding >
30+ </configuration >
31+ </plugin >
32+
33+ <plugin >
34+ <groupId >org.apache.felix</groupId >
35+ <artifactId >maven-bundle-plugin</artifactId >
36+ <extensions >true</extensions >
37+ </plugin >
38+ </plugins >
39+ </build >
40+
41+
42+
43+ <dependencies >
44+ <dependency >
45+ <groupId >org.projectlombok</groupId >
46+ <artifactId >lombok</artifactId >
47+ <version >${lombok.version} </version >
48+ </dependency >
49+
50+ <dependency >
51+ <groupId >junit</groupId >
52+ <artifactId >junit</artifactId >
53+ <version >4.10</version >
54+ </dependency >
55+
56+ <dependency >
57+ <groupId >org.slf4j</groupId >
58+ <artifactId >slf4j-log4j12</artifactId >
59+ <version >1.7.2</version >
60+ </dependency >
61+
62+ </dependencies >
63+
64+ </project >
0 commit comments