Uploaded image for project: 'Apache Commons All'
  1. Apache Commons All
  2. COMMONSSITE-81

commons-build-plugin README/CONTRIBUTING.md handle multi-modules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5-SNAPSHOT
    • None
    • Commons Build Plugin

    Description

      The following patch will allow the commons-build-plugin to generate the correct README/CONTRIBUTING.md even when we are in a multi-module scenario.

      It will especially not use artifact-id for URLs (but `commons-${commons.componentId}`).

      This requires that the componentid does not contain "commons-" prefix (which is not given for the plugin itself).

      There is a hack for creating a usefull maven artifact dependency. If the current project contains "-project" it is removed as it is asumed that the main artifact you want to include is not the meta-artifact.

      (This "hack" works for VFS but it is a bit ugly, thats why I did not simply commit it).

      The patch also uses https for all the links.

      BTW: for VFS the generated 2 files in the top level directory work (besides the download-link and apidoc).

      Attachments

        1. multi-readme.patch
          12 kB
          Bernd Eckenfels

        Activity

          People

            britter Benedikt Ritter
            b.eckenfels Bernd Eckenfels
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: