Mojo
  1. Mojo
  2. MOJO-165

New Docbook plugin submission

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: _Plugin Submission
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      3

      Description

      This is a inital release of a plugin supporting transformation of Docbook files. As mentioned in some threads at Maven lists, I think it would be a good idea to have a separate Docbook plugin in Maven, in addition to the current support in Doxia. This plugin is based on the transformations contained in the Docbook stylesheets you may find at http://docbook.sourceforge.net/. This way this plugin could automate generation in a lot of formats from Docbook source files with minimal effort, just using the JAXP transformation API.

      I've tried to make the plugin as complete as possible in terms of documentation, source format,... Please tell me if there is anything else needed in order to publish this plugin at the Mojo project. The plugin also includes some Docbook source files to show the implemented functionality.

      Comments are welcome regarding default place for Docbook source and target files, generated database, possibility of integration with site generation, ...

      Thanks in advance, best regards
      Jose

        Activity

        Hide
        Jose Gonzalez Gomez added a comment -

        Here you have a JDK1.4 friendly version working properly (at least for me). The problem was related to xalan and xerces versions: I was using the latest versions of both, that included support for JAXP 1.3, that was included in JDK1.5. That's why you were getting that class not found exception.

        Could anybody using JDK1.4 please test this? Take into account that this plugin in its default cofiguration reads the docbook stylesheet from the Internet, so things may slow down a lot inthis case. You may download the stylesheets and place them in your local disk, and the configure the plugin including something like this:

        <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>maven-docbook-plugin</artifactId>
        <configuration> <stylesheetLocation>file:/C:/Documents%20and%20Settings/user/My%20documents/software/docbook-xsl-1.69.1/</stylesheetLocation>
        </configuration>
        </plugin>

        Show
        Jose Gonzalez Gomez added a comment - Here you have a JDK1.4 friendly version working properly (at least for me). The problem was related to xalan and xerces versions: I was using the latest versions of both, that included support for JAXP 1.3, that was included in JDK1.5. That's why you were getting that class not found exception. Could anybody using JDK1.4 please test this? Take into account that this plugin in its default cofiguration reads the docbook stylesheet from the Internet, so things may slow down a lot inthis case. You may download the stylesheets and place them in your local disk, and the configure the plugin including something like this: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>maven-docbook-plugin</artifactId> <configuration> <stylesheetLocation> file:/C:/Documents%20and%20Settings/user/My%20documents/software/docbook-xsl-1.69.1/ </stylesheetLocation> </configuration> </plugin>
        Hide
        Corridor Software Developer added a comment -

        Happy New year folks. Jose & watchers, taking another look at this over the next few days.

        Show
        Corridor Software Developer added a comment - Happy New year folks. Jose & watchers, taking another look at this over the next few days.
        Hide
        Jose Gonzalez Gomez added a comment -

        Happy New Year... I hope you haven't forgotten this, as your last message is from a week ago :o)

        Should you need any help with this, feel free to contact me any time.

        Thanks again

        Show
        Jose Gonzalez Gomez added a comment - Happy New Year... I hope you haven't forgotten this, as your last message is from a week ago :o) Should you need any help with this, feel free to contact me any time. Thanks again
        Hide
        Corridor Software Developer added a comment -

        Nope, just juggling lots of large objects with sharp points. And our internal dev environment just migrated to jdk 1.5 . I'll be at an office where I can test the plugin in 1.4 with little effort later today. If everything goes well, I'll commit your plugin to the sandbox..

        Show
        Corridor Software Developer added a comment - Nope, just juggling lots of large objects with sharp points. And our internal dev environment just migrated to jdk 1.5 . I'll be at an office where I can test the plugin in 1.4 with little effort later today. If everything goes well, I'll commit your plugin to the sandbox..
        Hide
        Corridor Software Developer added a comment -

        Added this to the mojo sandbox.
        Performed a docbook:transform on the existing docbook directory. It was sloooow, but produced documents in the site folder.
        At some point, I expect that this will need to be converted to a report plugin.

        Show
        Corridor Software Developer added a comment - Added this to the mojo sandbox. Performed a docbook:transform on the existing docbook directory. It was sloooow, but produced documents in the site folder. At some point, I expect that this will need to be converted to a report plugin.

          People

          • Assignee:
            Corridor Software Developer
            Reporter:
            Jose Gonzalez Gomez
          • Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: