1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ ~ Copyright (c) 2019. houbinbin Inc.
4
+ ~ id All rights reserved.
5
+ -->
6
+
7
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
8
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
10
+ <modelVersion >4.0.0</modelVersion >
11
+
12
+ <groupId >com.github.houbb</groupId >
13
+ <artifactId >id</artifactId >
14
+ <version >0.0.5-SNAPSHOT</version >
15
+
16
+ <properties >
17
+ <!-- ============================== All Plugins START ==============================-->
18
+ <plugin .compiler.version>3.2</plugin .compiler.version>
19
+ <plugin .compiler.version>3.2</plugin .compiler.version>
20
+ <plugin .surefire.version>2.18.1</plugin .surefire.version>
21
+ <plugin .surefire.skip-it>false</plugin .surefire.skip-it>
22
+ <plugin .surefire.ignore-failure>false</plugin .surefire.ignore-failure>
23
+
24
+ <plugin .maven-source-plugin.version>2.2.1</plugin .maven-source-plugin.version>
25
+ <plugin .maven-javadoc-plugin.version>2.9.1</plugin .maven-javadoc-plugin.version>
26
+ <plugin .maven-gpg-plugin.version>1.5</plugin .maven-gpg-plugin.version>
27
+
28
+ <!-- ============================== MAIN ==============================-->
29
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
30
+ <project .compiler.level>1.7</project .compiler.level>
31
+
32
+ <!-- ============================== INTER ==============================-->
33
+ <heaven .version>0.1.104</heaven .version>
34
+
35
+ <!-- ============================== OTHER ==============================-->
36
+ <junit .version>4.12</junit .version>
37
+ </properties >
38
+
39
+ <dependencies >
40
+ <!-- ============================== SELF ==============================-->
41
+
42
+ <!-- ============================== INTER ==============================-->
43
+ <dependency >
44
+ <groupId >com.github.houbb</groupId >
45
+ <artifactId >heaven</artifactId >
46
+ <version >${heaven.version} </version >
47
+ </dependency >
48
+
49
+ <!-- ============================== OTHER ==============================-->
50
+ <dependency >
51
+ <groupId >junit</groupId >
52
+ <artifactId >junit</artifactId >
53
+ <version >${junit.version} </version >
54
+ <optional >true</optional >
55
+ <scope >test</scope >
56
+ </dependency >
57
+
58
+ </dependencies >
59
+
60
+ <build >
61
+ <plugins >
62
+ <!-- compiler plugin -->
63
+ <plugin >
64
+ <groupId >org.apache.maven.plugins</groupId >
65
+ <artifactId >maven-compiler-plugin</artifactId >
66
+ <version >${plugin.compiler.version} </version >
67
+ <configuration >
68
+ <source >${project.compiler.level} </source >
69
+ <target >${project.compiler.level} </target >
70
+ <encoding >${project.build.sourceEncoding} </encoding >
71
+ </configuration >
72
+ </plugin >
73
+
74
+ <plugin >
75
+ <groupId >org.apache.maven.plugins</groupId >
76
+ <artifactId >maven-surefire-plugin</artifactId >
77
+ <version >${plugin.surefire.version} </version >
78
+ <configuration >
79
+ <skipTests >${plugin.surefire.skip-it} </skipTests >
80
+ <testFailureIgnore >${plugin.surefire.ignore-failure} </testFailureIgnore >
81
+ </configuration >
82
+ </plugin >
83
+
84
+ <!-- mvn cobertura:cobertura coveralls:report -DrepoToken=yourcoverallsprojectrepositorytoken-->
85
+ <plugin >
86
+ <groupId >org.eluder.coveralls</groupId >
87
+ <artifactId >coveralls-maven-plugin</artifactId >
88
+ <version >4.3.0</version >
89
+ </plugin >
90
+
91
+ <plugin >
92
+ <groupId >org.codehaus.mojo</groupId >
93
+ <artifactId >cobertura-maven-plugin</artifactId >
94
+ <version >2.7</version >
95
+ <configuration >
96
+ <format >xml</format >
97
+ <maxmem >256m</maxmem >
98
+ <!-- aggregated reports for multi-module projects -->
99
+ <aggregate >true</aggregate >
100
+ <instrumentation >
101
+ <excludes >
102
+ <exclude >**/*Test.class</exclude >
103
+ <exclude >**/HelpMojo.class</exclude >
104
+ <exclude >**/*Vo.class</exclude >
105
+ </excludes >
106
+ </instrumentation >
107
+ </configuration >
108
+ </plugin >
109
+
110
+ <!-- mvn clean install sonar:sonar -Dmaven.test.skip=true -Dsonar.host.url=http://localhost:9000-->
111
+ <!-- sonar-->
112
+ <plugin >
113
+ <groupId >org.sonarsource.scanner.maven</groupId >
114
+ <artifactId >sonar-maven-plugin</artifactId >
115
+ <version >3.1.1</version >
116
+ </plugin >
117
+
118
+ <!-- Javadoc -->
119
+ <plugin >
120
+ <groupId >org.apache.maven.plugins</groupId >
121
+ <artifactId >maven-javadoc-plugin</artifactId >
122
+ <version >${plugin.maven-javadoc-plugin.version} </version >
123
+ </plugin >
124
+
125
+ </plugins >
126
+ </build >
127
+
128
+ <!-- ============================== ADD For sonatype START ==============================-->
129
+ <name >id</name >
130
+ <description >The time schedule framework for java.</description >
131
+
132
+ <parent >
133
+ <groupId >org.sonatype.oss</groupId >
134
+ <artifactId >oss-parent</artifactId >
135
+ <version >7</version >
136
+ </parent >
137
+ <licenses >
138
+ <license >
139
+ <name >The Apache Software License, Version 2.0</name >
140
+ <url >http://www.apache.org/licenses/LICENSE-2.0.txt</url >
141
+ <distribution >repo</distribution >
142
+ </license >
143
+ </licenses >
144
+ <scm >
145
+ <url >https://github.com/houbb/id</url >
146
+ <connection >https://github.com/houbb/id.git</connection >
147
+ <developerConnection >https://houbb.github.io/</developerConnection >
148
+ </scm >
149
+ <developers >
150
+ <developer >
151
+ <name >houbb</name >
152
+
153
+ <url >https://houbb.github.io/</url >
154
+ </developer >
155
+ </developers >
156
+ <!-- ============================== ADD For sonatype END ==============================-->
157
+
158
+
159
+ <profiles >
160
+ <profile >
161
+ <id >release</id >
162
+ <build >
163
+ <plugins >
164
+ <!-- Source -->
165
+ <plugin >
166
+ <groupId >org.apache.maven.plugins</groupId >
167
+ <artifactId >maven-source-plugin</artifactId >
168
+ <version >${plugin.maven-source-plugin.version} </version >
169
+ <executions >
170
+ <execution >
171
+ <phase >package</phase >
172
+ <goals >
173
+ <goal >jar-no-fork</goal >
174
+ </goals >
175
+ </execution >
176
+ </executions >
177
+ </plugin >
178
+ <!-- Javadoc -->
179
+ <plugin >
180
+ <groupId >org.apache.maven.plugins</groupId >
181
+ <artifactId >maven-javadoc-plugin</artifactId >
182
+ <version >${plugin.maven-javadoc-plugin.version} </version >
183
+ <executions >
184
+ <execution >
185
+ <phase >package</phase >
186
+ <goals >
187
+ <goal >jar</goal >
188
+ </goals >
189
+ </execution >
190
+ </executions >
191
+ </plugin >
192
+ <!-- GPG -->
193
+ <plugin >
194
+ <groupId >org.apache.maven.plugins</groupId >
195
+ <artifactId >maven-gpg-plugin</artifactId >
196
+ <version >${plugin.maven-gpg-plugin.version} </version >
197
+ <executions >
198
+ <execution >
199
+ <phase >verify</phase >
200
+ <goals >
201
+ <goal >sign</goal >
202
+ </goals >
203
+ </execution >
204
+ </executions >
205
+ </plugin >
206
+ </plugins >
207
+ </build >
208
+ <distributionManagement >
209
+ <snapshotRepository >
210
+ <id >oss</id >
211
+ <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
212
+ </snapshotRepository >
213
+ <repository >
214
+ <id >oss</id >
215
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
216
+ </repository >
217
+ </distributionManagement >
218
+ </profile >
219
+ </profiles >
220
+
221
+ </project >
0 commit comments