Commit 1620e1e
authored
Replace Plexus dependency by more extensive usage of
Remove the dependency to Plexus, replaced by more reliance on `java.nio`. This commit contains the following work items:
* Replacement of Plexus includes/excludes filters by `java.nio.file.PathMatcher`.
* Use `java.nio.file.FileVisitor` for walking over files and directory trees.
* Changes in some logging messages and exceptions.
* The `IOException` throws by Java is no longer wrapped in another `IOException`.
Pull request: #243java.nio (#243)1 parent e734c70 commit 1620e1e
File tree
8 files changed
+749
-421
lines changed- src
- main/java/org/apache/maven/plugins/clean
- test/java/org/apache/maven/plugins/clean
8 files changed
+749
-421
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
| |||
Lines changed: 7 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
253 | | - | |
| 251 | + | |
| 252 | + | |
254 | 253 | | |
255 | 254 | | |
256 | 255 | | |
257 | | - | |
| 256 | + | |
258 | 257 | | |
259 | 258 | | |
260 | | - | |
261 | 259 | | |
262 | 260 | | |
263 | 261 | | |
264 | 262 | | |
265 | 263 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 264 | + | |
279 | 265 | | |
280 | 266 | | |
281 | | - | |
282 | 267 | | |
283 | 268 | | |
284 | 269 | | |
| |||
290 | 275 | | |
291 | 276 | | |
292 | 277 | | |
293 | | - | |
| 278 | + | |
294 | 279 | | |
295 | 280 | | |
296 | 281 | | |
| |||
307 | 292 | | |
308 | 293 | | |
309 | 294 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 295 | | |
0 commit comments