Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Fri, 9 Apr 2004 10:08 PM

should work since RC2
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPMULTIPROJECT-22

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPMULTIPROJECT-22
    Summary: Velocity plugin cannot find a logging system in Maven 1.1
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-multiproject-plugin

   Assignee: Brett Porter
   Reporter: Svetlin Stanchev

    Created: Mon, 16 Feb 2004 12:26 PM
    Updated: Fri, 9 Apr 2004 10:08 PM
Environment: Win2k, Maven v. 1.1-SNAPSHOT from 20040207-UTC (last buildable to-date)

Description:
maven multiproject fails with the following trace:
----------------------------------
multiproject:site:
multiproject:site-init:

multiproject:create-nav:
    [echo] Producing aggregate navigation...
PANIC : Velocity cannot find any of the specified or default logging systems in
the classpath, or the classpath doesn't contain the necessary classes to support
 them. Please consult the documentation regarding logging. Exception : java.lang
.NoClassDefFoundError: org/apache/log/format/Formatter
PANIC : Velocity cannot find any of the specified or default logging systems in
the classpath, or the classpath doesn't contain the necessary classes to support
 them. Please consult the documentation regarding logging. Exception : java.lang
.NoClassDefFoundError: org/apache/log/format/Formatter

BUILD FAILED
File...... file:/C:/Documents and Settings/sstanchev/.maven/plugins/maven-multip
roject-plugin-1.2-SNAPSHOT/
Element... velocity:merge
Line...... 119
Column.... 11
org/apache/log/format/Formatter
Feb 16, 2004 5:22:10 PM org.apache.maven.cli.App doMain
INFO: Total time: 14 seconds
Feb 16, 2004 5:22:10 PM org.apache.maven.cli.App doMain
INFO: Finished at: Mon Feb 16 17:22:10 CET 2004
Feb 16, 2004 5:22:10 PM org.apache.maven.cli.App doMain
INFO:
----------------------------------

However,
maven site-all
(calling the subordinate projects one by one) finds SimpleLog4J, albeit with other 
errors:

----------------------------------
2004-02-16 13:17:36,609 - SimpleLog4JLogSystem initialized using logfile 'velocity.log'
2004-02-16 13:17:36,609 - 
************************************************************** 
2004-02-16 13:17:36,609 - Starting Jakarta Velocity v1.4-dev
2004-02-16 13:17:36,609 - RuntimeInstance initializing.
2004-02-16 13:17:36,609 - Default Properties File: 
org\apache\velocity\runtime\defaults\velocity.properties
2004-02-16 13:17:36,609 - Trying to use logger class 
org.apache.velocity.runtime.log.AvalonLogSystem
2004-02-16 13:17:36,609 - Couldn't find class 
org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting classes in 
classpath. Exception : java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
2004-02-16 13:17:36,609 - Trying to use logger class 
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2004-02-16 13:17:36,609 - Using logger class 
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2004-02-16 13:17:36,609 - Default ResourceManager initializing. (class 
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2004-02-16 13:17:36,625 - Resource Loader Instantiated: 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:36,625 - FileResourceLoader : initialization starting.
2004-02-16 13:17:36,625 - FileResourceLoader : adding path 'C:\Documents and 
Settings\sstanchev\.maven\plugins\maven-xdoc-plugin-1.6-SNAPSHOT\plugin-resources/templates'
2004-02-16 13:17:36,625 - FileResourceLoader : initialization complete.
2004-02-16 13:17:36,625 - ResourceCache : initialized. (class 
org.apache.velocity.runtime.resource.ResourceCacheImpl)
2004-02-16 13:17:36,625 - Default ResourceManager initialization complete.
2004-02-16 13:17:36,640 - Loaded System Directive: 
org.apache.velocity.runtime.directive.Literal
2004-02-16 13:17:36,640 - Loaded System Directive: 
org.apache.velocity.runtime.directive.Macro
2004-02-16 13:17:36,640 - Loaded System Directive: 
org.apache.velocity.runtime.directive.Parse
2004-02-16 13:17:36,656 - Loaded System Directive: 
org.apache.velocity.runtime.directive.Include
2004-02-16 13:17:36,656 - Loaded System Directive: 
org.apache.velocity.runtime.directive.Foreach
2004-02-16 13:17:36,937 - Created: 20 parsers.
2004-02-16 13:17:36,953 - Velocimacro : initialization starting.
2004-02-16 13:17:36,953 - Velocimacro : adding VMs from VM library template : 
VM_global_library.vm
2004-02-16 13:17:36,953 - ResourceManager : unable to find resource 
'VM_global_library.vm' in any resource loader.
2004-02-16 13:17:36,953 - Velocimacro : error using  VM library template 
VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable 
to find resource 'VM_global_library.vm'
2004-02-16 13:17:36,953 - Velocimacro :  VM library template macro registration 
complete.
2004-02-16 13:17:36,953 - Velocimacro : allowInline = true : VMs can be defined inline 
in templates
2004-02-16 13:17:36,953 - Velocimacro : allowInlineToOverride = false : VMs defined 
inline may NOT replace previous VM definitions
2004-02-16 13:17:36,953 - Velocimacro : allowInlineLocal = false : VMs defined inline 
will be  global in scope if allowed.
2004-02-16 13:17:36,953 - Velocimacro : messages on  : VM system will output logging 
messages
2004-02-16 13:17:36,968 - Velocimacro : autoload off  : VM system will not 
automatically reload global library macros
2004-02-16 13:17:36,968 - Velocimacro : initialization complete.
2004-02-16 13:17:36,968 - Velocity successfully started.
2004-02-16 13:17:37,031 - ResourceManager : found cvs-usage.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,062 - ResourceManager : found index.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,062 - ResourceManager : found maven-reports.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,078 - ResourceManager : found dependencies.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,093 - ResourceManager : found issue-tracking.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,109 - Velocimacro : added new VM : #displayLink( label link ) : 
source = mail-lists.xml
2004-02-16 13:17:37,156 - ResourceManager : found mail-lists.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,156 - ResourceManager : found project-info.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2004-02-16 13:17:37,171 - ResourceManager : found team-list.xml with loader 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
----------------------------------




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to