78
78
<artifactId >log4j-api</artifactId >
79
79
<version >${log4j.version} </version >
80
80
</dependency >
81
+ <dependency >
82
+ <groupId >org.aspectj</groupId >
83
+ <artifactId >aspectjrt</artifactId >
84
+ <version >${aspectj.version} </version >
85
+ </dependency >
81
86
87
+ <!-- Test dependencies -->
82
88
<dependency >
83
89
<groupId >org.junit.jupiter</groupId >
84
90
<artifactId >junit-jupiter-api</artifactId >
91
97
<version >5.6.2</version >
92
98
<scope >test</scope >
93
99
</dependency >
100
+ <dependency >
101
+ <groupId >org.mockito</groupId >
102
+ <artifactId >mockito-core</artifactId >
103
+ <version >3.3.3</version >
104
+ <scope >test</scope >
105
+ </dependency >
94
106
<dependency >
95
107
<groupId >org.aspectj</groupId >
96
- <artifactId >aspectjrt </artifactId >
108
+ <artifactId >aspectjweaver </artifactId >
97
109
<version >${aspectj.version} </version >
110
+ <scope >test</scope >
111
+ </dependency >
112
+ <dependency >
113
+ <groupId >org.assertj</groupId >
114
+ <artifactId >assertj-core</artifactId >
115
+ <version >3.9.1</version >
116
+ <scope >test</scope >
98
117
</dependency >
99
118
</dependencies >
100
119
120
+ <build >
121
+ <plugins >
122
+ <plugin >
123
+ <groupId >org.apache.maven.plugins</groupId >
124
+ <artifactId >maven-compiler-plugin</artifactId >
125
+ <version >3.8.1</version >
126
+ <configuration >
127
+ <source >${maven.compiler.source} </source >
128
+ <target >${maven.compiler.target} </target >
129
+ <useIncrementalCompilation >false</useIncrementalCompilation >
130
+ </configuration >
131
+ </plugin >
132
+ <plugin >
133
+ <!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
134
+ <groupId >com.nickwongdev</groupId >
135
+ <artifactId >aspectj-maven-plugin</artifactId >
136
+ <version >1.12.1</version >
137
+ <configuration >
138
+ <source >${maven.compiler.source} </source >
139
+ <target >${maven.compiler.target} </target >
140
+ <complianceLevel >${maven.compiler.target} </complianceLevel >
141
+ <Xlint >ignore</Xlint >
142
+ <encoding >${project.build.sourceEncoding} </encoding >
143
+ </configuration >
144
+ <executions >
145
+ <execution >
146
+ <phase >process-sources</phase >
147
+ <goals >
148
+ <goal >compile</goal >
149
+ <goal >test-compile</goal >
150
+ </goals >
151
+ </execution >
152
+ </executions >
153
+ <dependencies >
154
+ <dependency >
155
+ <groupId >org.aspectj</groupId >
156
+ <artifactId >aspectjtools</artifactId >
157
+ <version >${aspectj.version} </version >
158
+ </dependency >
159
+ </dependencies >
160
+ </plugin >
161
+ <plugin >
162
+ <groupId >org.apache.maven.plugins</groupId >
163
+ <artifactId >maven-surefire-plugin</artifactId >
164
+ <version >2.22.2</version >
165
+ </plugin >
166
+ <plugin >
167
+ <groupId >org.jacoco</groupId >
168
+ <artifactId >jacoco-maven-plugin</artifactId >
169
+ <version >0.8.5</version >
170
+ <executions >
171
+ <execution >
172
+ <goals >
173
+ <goal >prepare-agent</goal >
174
+ </goals >
175
+ </execution >
176
+ <!-- attached to Maven test phase -->
177
+ <execution >
178
+ <id >report</id >
179
+ <phase >test</phase >
180
+ <goals >
181
+ <goal >report</goal >
182
+ </goals >
183
+ </execution >
184
+ </executions >
185
+ </plugin >
186
+ <plugin >
187
+ <groupId >org.apache.maven.plugins</groupId >
188
+ <artifactId >maven-javadoc-plugin</artifactId >
189
+ <version >2.9.1</version >
190
+ <configuration >
191
+ <additionalparam >-Xdoclint:none</additionalparam >
192
+ <detectJavaApiLink >false</detectJavaApiLink >
193
+ </configuration >
194
+ <executions >
195
+ <execution >
196
+ <id >attach-javadocs</id >
197
+ <goals >
198
+ <goal >jar</goal >
199
+ </goals >
200
+ </execution >
201
+ </executions >
202
+ </plugin >
203
+ </plugins >
204
+ </build >
205
+
101
206
<profiles >
102
- <profile >
103
- <id >dev</id >
104
- <activation >
105
- <activeByDefault >true</activeByDefault >
106
- </activation >
107
- <build >
108
- <plugins >
109
- <plugin >
110
- <groupId >org.apache.maven.plugins</groupId >
111
- <artifactId >maven-compiler-plugin</artifactId >
112
- <version >3.8.1</version >
113
- <configuration >
114
- <source >${maven.compiler.source} </source >
115
- <target >${maven.compiler.target} </target >
116
- <useIncrementalCompilation >false</useIncrementalCompilation >
117
- </configuration >
118
- </plugin >
119
- <plugin >
120
- <!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
121
- <groupId >com.nickwongdev</groupId >
122
- <artifactId >aspectj-maven-plugin</artifactId >
123
- <version >1.12.1</version >
124
- <configuration >
125
- <source >${maven.compiler.source} </source >
126
- <target >${maven.compiler.target} </target >
127
- <complianceLevel >${maven.compiler.target} </complianceLevel >
128
- <Xlint >ignore</Xlint >
129
- <encoding >${project.build.sourceEncoding} </encoding >
130
- </configuration >
131
- <executions >
132
- <execution >
133
- <phase >process-sources</phase >
134
- <goals >
135
- <goal >compile</goal >
136
- <goal >test-compile</goal >
137
- </goals >
138
- </execution >
139
- </executions >
140
- <dependencies >
141
- <dependency >
142
- <groupId >org.aspectj</groupId >
143
- <artifactId >aspectjtools</artifactId >
144
- <version >${aspectj.version} </version >
145
- </dependency >
146
- </dependencies >
147
- </plugin >
148
- <plugin >
149
- <groupId >org.apache.maven.plugins</groupId >
150
- <artifactId >maven-surefire-plugin</artifactId >
151
- <version >2.22.2</version >
152
- </plugin >
153
- <plugin >
154
- <groupId >org.jacoco</groupId >
155
- <artifactId >jacoco-maven-plugin</artifactId >
156
- <version >0.8.2</version >
157
- <executions >
158
- <execution >
159
- <goals >
160
- <goal >prepare-agent</goal >
161
- </goals >
162
- </execution >
163
- <!-- attached to Maven test phase -->
164
- <execution >
165
- <id >report</id >
166
- <phase >test</phase >
167
- <goals >
168
- <goal >report</goal >
169
- </goals >
170
- </execution >
171
- </executions >
172
- </plugin >
173
- <plugin >
174
- <groupId >org.apache.maven.plugins</groupId >
175
- <artifactId >maven-javadoc-plugin</artifactId >
176
- <version >2.9.1</version >
177
- <configuration >
178
- <additionalparam >-Xdoclint:none</additionalparam >
179
- <detectJavaApiLink >false</detectJavaApiLink >
180
- </configuration >
181
- <executions >
182
- <execution >
183
- <id >attach-javadocs</id >
184
- <goals >
185
- <goal >jar</goal >
186
- </goals >
187
- </execution >
188
- </executions >
189
- </plugin >
190
- </plugins >
191
- </build >
192
- </profile >
193
207
<profile >
194
208
<id >release</id >
195
209
<build >
196
210
<plugins >
197
- <plugin >
198
- <groupId >org.apache.maven.plugins</groupId >
199
- <artifactId >maven-compiler-plugin</artifactId >
200
- <version >3.8.1</version >
201
- <configuration >
202
- <source >${maven.compiler.source} </source >
203
- <target >${maven.compiler.target} </target >
204
- <useIncrementalCompilation >false</useIncrementalCompilation >
205
- </configuration >
206
- </plugin >
207
- <plugin >
208
- <!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45-->
209
- <groupId >com.nickwongdev</groupId >
210
- <artifactId >aspectj-maven-plugin</artifactId >
211
- <version >1.12.1</version >
212
- <configuration >
213
- <source >${maven.compiler.source} </source >
214
- <target >${maven.compiler.target} </target >
215
- <complianceLevel >${maven.compiler.target} </complianceLevel >
216
- <Xlint >ignore</Xlint >
217
- <encoding >${project.build.sourceEncoding} </encoding >
218
- </configuration >
219
- <executions >
220
- <execution >
221
- <phase >process-sources</phase >
222
- <goals >
223
- <goal >compile</goal >
224
- <goal >test-compile</goal >
225
- </goals >
226
- </execution >
227
- </executions >
228
- <dependencies >
229
- <dependency >
230
- <groupId >org.aspectj</groupId >
231
- <artifactId >aspectjtools</artifactId >
232
- <version >${aspectj.version} </version >
233
- </dependency >
234
- </dependencies >
235
- </plugin >
236
- <plugin >
237
- <groupId >org.apache.maven.plugins</groupId >
238
- <artifactId >maven-surefire-plugin</artifactId >
239
- <version >2.22.1</version >
240
- </plugin >
241
- <plugin >
242
- <groupId >org.jacoco</groupId >
243
- <artifactId >jacoco-maven-plugin</artifactId >
244
- <version >0.8.2</version >
245
- <executions >
246
- <execution >
247
- <goals >
248
- <goal >prepare-agent</goal >
249
- </goals >
250
- </execution >
251
- <!-- attached to Maven test phase -->
252
- <execution >
253
- <id >report</id >
254
- <phase >test</phase >
255
- <goals >
256
- <goal >report</goal >
257
- </goals >
258
- </execution >
259
- </executions >
260
- </plugin >
261
211
<plugin >
262
212
<groupId >org.apache.maven.plugins</groupId >
263
213
<artifactId >maven-source-plugin</artifactId >
271
221
</execution >
272
222
</executions >
273
223
</plugin >
274
- <plugin >
275
- <groupId >org.apache.maven.plugins</groupId >
276
- <artifactId >maven-javadoc-plugin</artifactId >
277
- <version >2.9.1</version >
278
- <configuration >
279
- <additionalparam >-Xdoclint:none</additionalparam >
280
- <detectJavaApiLink >false</detectJavaApiLink >
281
- </configuration >
282
- <executions >
283
- <execution >
284
- <id >attach-javadocs</id >
285
- <goals >
286
- <goal >jar</goal >
287
- </goals >
288
- </execution >
289
- </executions >
290
- </plugin >
291
224
<plugin >
292
225
<groupId >org.apache.maven.plugins</groupId >
293
226
<artifactId >maven-gpg-plugin</artifactId >
318
251
</profile >
319
252
</profiles >
320
253
321
-
322
254
</project >
0 commit comments