This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new d9ad8ee1 [MDEP-957] Test org.slf4j:slf4j-simple is ignored (#460)
d9ad8ee1 is described below

commit d9ad8ee1116e4ba713ca280fc80e3107d42acff1
Author: Elliotte Rusty Harold <elh...@users.noreply.github.com>
AuthorDate: Tue Nov 12 17:47:42 2024 +0000

    [MDEP-957] Test org.slf4j:slf4j-simple is ignored (#460)
    
    
    * Expand test
---
 src/it/projects/analyze/verify.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/it/projects/analyze/verify.groovy 
b/src/it/projects/analyze/verify.groovy
index 085cf324..4b430120 100644
--- a/src/it/projects/analyze/verify.groovy
+++ b/src/it/projects/analyze/verify.groovy
@@ -36,6 +36,8 @@ assert buildLog.contains( '[WARNING]    
org.apache.maven:maven-repository-metada
 assert buildLog.contains( '[WARNING]       class 
org.apache.maven.artifact.repository.metadata.Metadata')
 assert buildLog.contains( '[WARNING] Unused declared dependencies found:')
 assert buildLog.contains( '[WARNING]    
org.apache.maven:maven-project:jar:2.0.6:compile')
-
+assert buildLog.contains( '[INFO] Ignored unused declared dependencies:')
+assert buildLog.contains( '[INFO]    
org.slf4j:slf4j-simple:jar:2.0.16:compile')
+assert !buildLog.contains( '[WARNING]    
org.slf4j:slf4j-simple:jar:2.0.16:compile')
 
 return true

Reply via email to