You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Balazic <Da...@hermes-softlab.com> on 2007/07/18 16:02:03 UTC

wrong log level in dependency plugin

Hi!
 
This is mvn 2.0.7 and maven-dependency-plugin 2.0-alpha-4 on Windows 2000, JDK 1.5.0_09
 
$ mvn  dependency:analyze
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building psm-interface-base
[INFO]    task-segment: [dependency:analyze]
[INFO] ----------------------------------------------------------------------------
[INFO] Preparing dependency:analyze
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [dependency:analyze]
[INFO] Used declared dependencies:
[INFO]    jboss:jboss-ejb3x:jar:4.0.4.GA:provided
[INFO] Used undeclared dependencies:
[WARNING]    None
[INFO] Unused declared dependencies:
[INFO]    com.bearingpoint.infonova.base:commons:jar:AAPT_CD008_V05:compile
[WARNING] Potential problems discovered.
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO]    None
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Jul 18 15:57:31 CEST 2007
[INFO] Final Memory: 6M/13M
[INFO] ------------------------------------------------------------------------

As you see, "None" is marked as WARNING, when it reports a normal condition, while
the Unused declared dependencies entry is "INFO" , when it should be WARNING.
 
Regards,
David

RE: wrong log level in dependency plugin

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
This is already fixed in the next release, but thanks for reporting it.

-----Original Message-----
From: David Balazic [mailto:David.Balazic@hermes-softlab.com] 
Sent: Wednesday, July 18, 2007 10:02 AM
To: users@maven.apache.org
Subject: wrong log level in dependency plugin

Hi!
 
This is mvn 2.0.7 and maven-dependency-plugin 2.0-alpha-4 on Windows
2000, JDK 1.5.0_09
 
$ mvn  dependency:analyze
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]
------------------------------------------------------------------------
----
[INFO] Building psm-interface-base
[INFO]    task-segment: [dependency:analyze]
[INFO]
------------------------------------------------------------------------
----
[INFO] Preparing dependency:analyze
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [dependency:analyze]
[INFO] Used declared dependencies:
[INFO]    jboss:jboss-ejb3x:jar:4.0.4.GA:provided
[INFO] Used undeclared dependencies:
[WARNING]    None
[INFO] Unused declared dependencies:
[INFO]
com.bearingpoint.infonova.base:commons:jar:AAPT_CD008_V05:compile
[WARNING] Potential problems discovered.
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO]    None
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Jul 18 15:57:31 CEST 2007
[INFO] Final Memory: 6M/13M
[INFO]
------------------------------------------------------------------------

As you see, "None" is marked as WARNING, when it reports a normal
condition, while
the Unused declared dependencies entry is "INFO" , when it should be
WARNING.
 
Regards,
David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org