jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x and 3.x Site Plugin
  • Maven 2.x and 3.x Site Plugin
  • MSITE-142

Velocity verbosity errors

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Duplicate
  • Affects Version/s: 2.0-beta-5
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Linux
  • Number of attachments :
    0

Description

This bug is about the importance of Maven's first impression. I'm a new user trying to follow the procedure in the book (better builds with maven) . I had two issues that made me wonder about the stability of the product. I love the ideas behind maven and I would hate to see the progress of the product slowed due to a bad first impression.

#1) When issuing the archetype command it stopped in the middle of the procedure without an error message. I re-issued the command and it worked the second time around.

$ mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

#2) When issuing the command "mvn site" there are ERROR messages that appear on the screen, again making me wonder about the stability of the product. See section of output below:

[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [site:site]
[INFO] Generate "Continuous Integration" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] Generate "Dependencies" report.

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MSITE-170 [ERROR] VM #displayTree: error : too few arguments to macro

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MSITE-286 [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Mike Perham added a comment - 23/May/06 4:25 PM

Marked as a bug because there are previous issues on this which were supposedly resolved.

Show
Mike Perham added a comment - 23/May/06 4:25 PM Marked as a bug because there are previous issues on this which were supposedly resolved.
Hide
Permalink
Mike Perham added a comment - 23/May/06 4:27 PM

Frank, it is recommended that you open a new issue for each different error. Don't report multiple bugs in a single JIRA issue because then it is hard to categorize and track each individual problem. I'm not sure there's enough context for the archetype problem to be resolved.

Show
Mike Perham added a comment - 23/May/06 4:27 PM Frank, it is recommended that you open a new issue for each different error. Don't report multiple bugs in a single JIRA issue because then it is hard to categorize and track each individual problem. I'm not sure there's enough context for the archetype problem to be resolved.

People

  • Assignee:
    Unassigned
    Reporter:
    Frank Gutierrez
Vote (2)
Watch (3)

Dates

  • Created:
    03/May/06 6:09 AM
    Updated:
    29/Mar/07 8:10 AM
    Resolved:
    10/Nov/06 12:44 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.