File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/main/java/org/apache/maven/plugins/dependency/analyze Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -228,11 +228,15 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
228
228
* For example, <code>org.apache.*</code> will match all artifacts whose group id starts with
229
229
* <code>org.apache.</code>, and <code>:::*-SNAPSHOT</code> will match all snapshot artifacts.
230
230
* </p>
231
+ * <p>
232
+ * By default, org.slf4j:slf4j-simple is ignored. Setting this property to an empty list
233
+ * will allow it to be detected.
234
+ * </p>
231
235
*
232
236
* @since 2.10
233
237
*/
234
238
@ Parameter
235
- private String [] ignoredUnusedDeclaredDependencies = new String [ 0 ] ;
239
+ private String [] ignoredUnusedDeclaredDependencies = { "org.slf4j:slf4j-simple::" } ;
236
240
237
241
/**
238
242
* List of dependencies that will be ignored if they are in not test scope but are only used in test classes.
@@ -248,11 +252,15 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
248
252
* For example, <code>org.apache.*</code> will match all artifacts whose group id starts with
249
253
* <code>org.apache.</code>, and <code>:::*-SNAPSHOT</code> will match all snapshot artifacts.
250
254
* </p>
255
+ * <p>
256
+ * By default, org.slf4j:slf4j-simple is ignored. Setting this property to an empty list
257
+ * will allow it to be detected.
258
+ * </p>
251
259
*
252
260
* @since 3.3.0
253
261
*/
254
262
@ Parameter
255
- private String [] ignoredNonTestScopedDependencies = new String [ 0 ] ;
263
+ private String [] ignoredNonTestScopedDependencies = { "org.slf4j:slf4j-simple::" } ;
256
264
257
265
/**
258
266
* List of project packaging that will be ignored.
You can’t perform that action at this time.
0 commit comments