Plugin Documentation

Goals available for this plugin:

Goal Description
doctype:build Builds the ORB artifact for the add-on project in the target folder.
doctype:concat-docmaps Create a docmap JSON file from resources found in the file system.
doctype:create Creates a new project based on the doctype add-on archetype.
doctype:create-model Creates a new project based on the doctype model archetype.
doctype:create-patch-tree Creates a basic patch tree in the models folder.
doctype:generate Applies changes to a doctype add-on project for the projectdoc Toolbox for Confluence. There is no rollback or backup function! Make sure to run this only against projects that are in version control and up-to-date. On any problem sources (not files in the target folder) have to be fetched from version control.
doctype:help Display help information on doctype-maven-plugin.
Call mvn doctype:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
doctype:run Runs the Confluence locally in debug mode. This is quite crude.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.1
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>de.smartics.maven.plugin</groupId>
          <artifactId>doctype-maven-plugin</artifactId>
          <version>1.9.4</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>de.smartics.maven.plugin</groupId>
        <artifactId>doctype-maven-plugin</artifactId>
        <version>1.9.4</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"