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

generated plugin-help.xml ignores descriptor mojo outputDirectory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.6.1
    • Plugin Plugin
    • None

    Description

      maven-plugin-plugin:descriptor mojo supports specifying custom output directory (https://maven.apache.org/components/plugin-tools-archives/plugin-tools-3.5/maven-plugin-plugin/descriptor-mojo.html#outputDirectory) but it is only used for generation of plugin.xml plugin-help.xml is always generated under default build directory.

       

      In code:

      File f = new File( destinationDirectory, "plugin.xml" );
      f = new File( mavenProject.getBuild().getOutputDirectory(), PluginHelpGenerator.getPluginHelpPath( mavenProject ) );

       

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            dk_apache Dariusz Kuc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: