Uploaded image for project: 'maven-jdocbook-plugin'
  1. maven-jdocbook-plugin
  2. MPJDOCBOOK-30

Allow injection of information into docbook sources

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.0
    • Labels:
      None

      Description

      Wanted to let you know that I am experimenting with adding support for this in trunk (-> 2.2.0).

      There are 2 options in play here:
      1) <options><applyStandardInjectionEntities>true</applyStandardInjectionEntities></options> (true is the default). Makes some "standard" information available to your docbook source in the form of DTD entities. Currently there are just 2: (1) "version" which is the defined version from pom; (2) "today" which is a new Date() formatted as "MMMM d yyyy"
      2) <entities><entity><name>version</name><value$

      {pom.version}

      </value></entity></entities> would again make available a DTD entity named "version" available to your docbook as a DTD entity with the value of your pom-defined version.

      I think this should allow coverage of most cases.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sebersole Steve Ebersole
                  Reporter:
                  thomas.diesler Thomas Diesler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: