Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-257

deprecate classical Maven objects as components

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: None
    • Labels:
      None

      Description

      such component annotations added in MPLUGIN-204 were a bad idea, because they cause confusion with Plexus components

      it's better to remove the feature and add examples in documentation:

      @Parameter( defaultValue="${session}", readonly=true )
      private MavenSession session;
      
      @Parameter( defaultValue="${project}", readonly=true )
      private MavenProject project;
      
      @Parameter( defaultValue="${mojo}", readonly=true )
      private MojoExecution mojo;
      
      @Parameter( defaultValue="${plugin}", readonly=true )
      private PluginDescriptor plugin;
      
      @Parameter( defaultValue="${settings}", readonly=true )
      private Settings settings;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Herve Boutemy
                Reporter:
                hboutemy Herve Boutemy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: