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 Shared Components
  • Maven Shared Components
  • MSHARED-96

Sample code is not working

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: file-management-1.2
  • Fix Version/s: file-management-1.2.2
  • Component/s: file-management
  • Labels:
    None
  • Environment:
    Windows XP Home SP2
    JDK 1.6.0_11
  • Number of attachments :
    0

Description

When running the code from this web site:

http://maven.apache.org/shared/file-management/examples/mojo.html

You will end up with the following problem:

Cause: Error loading class 'mypath.myplugin.Fileset'

The problem seems to be that the <fileset> child of the <configuration> pom.xml element is not translated to the corresponding "FileSet" (upper case S, package of the File Management API) class of Maven File Management API, but maven searches a "Fileset" (lower case S, different package) class in the custom plugin. So it seems the documentation on the web site is not complete, at least the part about "How to tell Maven how to map <fileset> to FileSet class?" is missing.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Markus KARG
Vote (0)
Watch (0)

Dates

  • Created:
    28/Feb/09 5:18 AM
    Updated:
    28/Feb/09 10:14 AM
    Resolved:
    28/Feb/09 5:54 AM
  • 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.