116
116
</dependency >
117
117
</dependencies >
118
118
119
+ <build >
120
+ <plugins >
121
+ <plugin >
122
+ <groupId >org.apache.maven.plugins</groupId >
123
+ <artifactId >maven-compiler-plugin</artifactId >
124
+ <version >3.8.1</version >
125
+ <configuration >
126
+ <source >${maven.compiler.source} </source >
127
+ <target >${maven.compiler.target} </target >
128
+ <useIncrementalCompilation >false</useIncrementalCompilation >
129
+ </configuration >
130
+ </plugin >
131
+ <plugin >
132
+ <!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
133
+ <groupId >com.nickwongdev</groupId >
134
+ <artifactId >aspectj-maven-plugin</artifactId >
135
+ <version >1.12.1</version >
136
+ <configuration >
137
+ <source >${maven.compiler.source} </source >
138
+ <target >${maven.compiler.target} </target >
139
+ <complianceLevel >${maven.compiler.target} </complianceLevel >
140
+ <Xlint >ignore</Xlint >
141
+ <encoding >${project.build.sourceEncoding} </encoding >
142
+ </configuration >
143
+ <executions >
144
+ <execution >
145
+ <phase >process-sources</phase >
146
+ <goals >
147
+ <goal >compile</goal >
148
+ <goal >test-compile</goal >
149
+ </goals >
150
+ </execution >
151
+ </executions >
152
+ <dependencies >
153
+ <dependency >
154
+ <groupId >org.aspectj</groupId >
155
+ <artifactId >aspectjtools</artifactId >
156
+ <version >${aspectj.version} </version >
157
+ </dependency >
158
+ </dependencies >
159
+ </plugin >
160
+ <plugin >
161
+ <groupId >org.apache.maven.plugins</groupId >
162
+ <artifactId >maven-surefire-plugin</artifactId >
163
+ <version >2.22.2</version >
164
+ </plugin >
165
+ <plugin >
166
+ <groupId >org.jacoco</groupId >
167
+ <artifactId >jacoco-maven-plugin</artifactId >
168
+ <version >0.8.5</version >
169
+ <executions >
170
+ <execution >
171
+ <goals >
172
+ <goal >prepare-agent</goal >
173
+ </goals >
174
+ </execution >
175
+ <!-- attached to Maven test phase -->
176
+ <execution >
177
+ <id >report</id >
178
+ <phase >test</phase >
179
+ <goals >
180
+ <goal >report</goal >
181
+ </goals >
182
+ </execution >
183
+ </executions >
184
+ </plugin >
185
+ <plugin >
186
+ <groupId >org.apache.maven.plugins</groupId >
187
+ <artifactId >maven-javadoc-plugin</artifactId >
188
+ <version >2.9.1</version >
189
+ <configuration >
190
+ <additionalparam >-Xdoclint:none</additionalparam >
191
+ <detectJavaApiLink >false</detectJavaApiLink >
192
+ </configuration >
193
+ <executions >
194
+ <execution >
195
+ <id >attach-javadocs</id >
196
+ <goals >
197
+ <goal >jar</goal >
198
+ </goals >
199
+ </execution >
200
+ </executions >
201
+ </plugin >
202
+ </plugins >
203
+ </build >
204
+
119
205
<profiles >
120
- <profile >
121
- <id >dev</id >
122
- <activation >
123
- <activeByDefault >true</activeByDefault >
124
- </activation >
125
- <build >
126
- <plugins >
127
- <plugin >
128
- <groupId >org.apache.maven.plugins</groupId >
129
- <artifactId >maven-compiler-plugin</artifactId >
130
- <version >3.8.1</version >
131
- <configuration >
132
- <source >${maven.compiler.source} </source >
133
- <target >${maven.compiler.target} </target >
134
- <useIncrementalCompilation >false</useIncrementalCompilation >
135
- </configuration >
136
- </plugin >
137
- <plugin >
138
- <!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
139
- <groupId >com.nickwongdev</groupId >
140
- <artifactId >aspectj-maven-plugin</artifactId >
141
- <version >1.12.1</version >
142
- <configuration >
143
- <source >${maven.compiler.source} </source >
144
- <target >${maven.compiler.target} </target >
145
- <complianceLevel >${maven.compiler.target} </complianceLevel >
146
- <Xlint >ignore</Xlint >
147
- <encoding >${project.build.sourceEncoding} </encoding >
148
- </configuration >
149
- <executions >
150
- <execution >
151
- <phase >process-sources</phase >
152
- <goals >
153
- <goal >compile</goal >
154
- <goal >test-compile</goal >
155
- </goals >
156
- </execution >
157
- </executions >
158
- <dependencies >
159
- <dependency >
160
- <groupId >org.aspectj</groupId >
161
- <artifactId >aspectjtools</artifactId >
162
- <version >${aspectj.version} </version >
163
- </dependency >
164
- </dependencies >
165
- </plugin >
166
- <plugin >
167
- <groupId >org.apache.maven.plugins</groupId >
168
- <artifactId >maven-surefire-plugin</artifactId >
169
- <version >2.22.2</version >
170
- </plugin >
171
- <plugin >
172
- <groupId >org.jacoco</groupId >
173
- <artifactId >jacoco-maven-plugin</artifactId >
174
- <version >0.8.5</version >
175
- <executions >
176
- <execution >
177
- <goals >
178
- <goal >prepare-agent</goal >
179
- </goals >
180
- </execution >
181
- <!-- attached to Maven test phase -->
182
- <execution >
183
- <id >report</id >
184
- <phase >test</phase >
185
- <goals >
186
- <goal >report</goal >
187
- </goals >
188
- </execution >
189
- </executions >
190
- </plugin >
191
- <plugin >
192
- <groupId >org.apache.maven.plugins</groupId >
193
- <artifactId >maven-javadoc-plugin</artifactId >
194
- <version >2.9.1</version >
195
- <configuration >
196
- <additionalparam >-Xdoclint:none</additionalparam >
197
- <detectJavaApiLink >false</detectJavaApiLink >
198
- </configuration >
199
- <executions >
200
- <execution >
201
- <id >attach-javadocs</id >
202
- <goals >
203
- <goal >jar</goal >
204
- </goals >
205
- </execution >
206
- </executions >
207
- </plugin >
208
- </plugins >
209
- </build >
210
- </profile >
211
206
<profile >
212
207
<id >release</id >
213
208
<build >
214
209
<plugins >
215
- <plugin >
216
- <groupId >org.apache.maven.plugins</groupId >
217
- <artifactId >maven-compiler-plugin</artifactId >
218
- <version >3.8.1</version >
219
- <configuration >
220
- <source >${maven.compiler.source} </source >
221
- <target >${maven.compiler.target} </target >
222
- <useIncrementalCompilation >false</useIncrementalCompilation >
223
- </configuration >
224
- </plugin >
225
- <plugin >
226
- <!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45-->
227
- <groupId >com.nickwongdev</groupId >
228
- <artifactId >aspectj-maven-plugin</artifactId >
229
- <version >1.12.1</version >
230
- <configuration >
231
- <source >${maven.compiler.source} </source >
232
- <target >${maven.compiler.target} </target >
233
- <complianceLevel >${maven.compiler.target} </complianceLevel >
234
- <Xlint >ignore</Xlint >
235
- <encoding >${project.build.sourceEncoding} </encoding >
236
- </configuration >
237
- <executions >
238
- <execution >
239
- <phase >process-sources</phase >
240
- <goals >
241
- <goal >compile</goal >
242
- <goal >test-compile</goal >
243
- </goals >
244
- </execution >
245
- </executions >
246
- <dependencies >
247
- <dependency >
248
- <groupId >org.aspectj</groupId >
249
- <artifactId >aspectjtools</artifactId >
250
- <version >${aspectj.version} </version >
251
- </dependency >
252
- </dependencies >
253
- </plugin >
254
- <plugin >
255
- <groupId >org.apache.maven.plugins</groupId >
256
- <artifactId >maven-surefire-plugin</artifactId >
257
- <version >2.22.1</version >
258
- </plugin >
259
- <plugin >
260
- <groupId >org.jacoco</groupId >
261
- <artifactId >jacoco-maven-plugin</artifactId >
262
- <version >0.8.5</version >
263
- <executions >
264
- <execution >
265
- <goals >
266
- <goal >prepare-agent</goal >
267
- </goals >
268
- </execution >
269
- <!-- attached to Maven test phase -->
270
- <execution >
271
- <id >report</id >
272
- <phase >test</phase >
273
- <goals >
274
- <goal >report</goal >
275
- </goals >
276
- </execution >
277
- </executions >
278
- </plugin >
279
210
<plugin >
280
211
<groupId >org.apache.maven.plugins</groupId >
281
212
<artifactId >maven-source-plugin</artifactId >
289
220
</execution >
290
221
</executions >
291
222
</plugin >
292
- <plugin >
293
- <groupId >org.apache.maven.plugins</groupId >
294
- <artifactId >maven-javadoc-plugin</artifactId >
295
- <version >2.9.1</version >
296
- <configuration >
297
- <additionalparam >-Xdoclint:none</additionalparam >
298
- <detectJavaApiLink >false</detectJavaApiLink >
299
- </configuration >
300
- <executions >
301
- <execution >
302
- <id >attach-javadocs</id >
303
- <goals >
304
- <goal >jar</goal >
305
- </goals >
306
- </execution >
307
- </executions >
308
- </plugin >
309
223
<plugin >
310
224
<groupId >org.apache.maven.plugins</groupId >
311
225
<artifactId >maven-gpg-plugin</artifactId >
336
250
</profile >
337
251
</profiles >
338
252
339
-
340
253
</project >
0 commit comments