Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1353

Allow creating POJO config classes anywhere without requiring the plugin user to specify an implementation element

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0
    • None
    • Plugins and Lifecycle
    • None

    Description

      This is really important for several reasons:

      • I don't like to clutter my main plugin package with POJO classes. For the Cargo m2 plugin I have 7-8 POJO classes and I'd like to move them to a different package
      • I need to reuse existing POJOs from another jar and it's just too stupid to have to duplicate all the code or write wrapper classes with only getter/setters.

      I think the best solution would be to accept @implementation javadoc tags that would map a parameter to an implementation. This would need to work not only for Mojo classes but also for POJO classes being used for configuration.

      Attachments

        Activity

          People

            jvanzyl Jason van Zyl
            vmassol Vincent Massol
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: