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.

Name
doctype:generate
Full Name
de.smartics.maven.plugin:doctype-maven-plugin:1.8.0:generate
Phase
generate-resources
Since
1.0
Inherited by Default
true
Requires Project
true
Instantiation Strategy
per-lookup
Execute Strategy
once-per-session

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.

Parameters

Required Parameters

NameSinceData TypeShort Description
doctypeMetadataFolder
1.0
String
mainSpaceId
1.0
String
The identifier of the main space to associate the subspace blueprint.
modelsFolder
1.0
String
The location of the model descriptors.
rdfFolder
1.0
String
The location of the RDF files for doctype models.
shortId
1.0
String
The identifier part of artifact ID and package path of the new project.

Optional Parameters

NameSinceData TypeShort Description
artifactIdPrefix
1.0
String
Artifact ID for the project files in the target folder. null if in archetype mode.
generateCategoryTree
1.0
boolean
Controls whether or not the category tree JSON file should be generate.
generateDocmap
1.0
boolean
Controls whether or not the docmap JSON file should be generated. This fragment needs to be deployed to the server for documentation support on doctypes. The map allows to link to sections on a doctype documentation document.
generateRdf
1.0
boolean
Controls whether or not the RDF files for doctypes and the whole add-on should be generated or not.
groupId
1.0
String
Group ID for the project files in the target folder. null if in archetype mode.
mode
1.0
String
Instruction on whether doctypes should only be created (create) or updated (update). Creation will not run, if a template of a doctype already exists. If the update mode is selected, the doctype will be removed and the resources in the resource bundle will be updated.
packagePrefix
1.0
String
The package prefix for the new project. Defaults to 'com.myorg.projectdoc.doctypes'.
pathTemplate
1.0
String
pluginArtifacts
1.0
List
projectName
1.0
String
The name of the add-on. Defaults to the value of the short ID.
references
1.0
List
skip
1.0
boolean
A simple flag to skip the build process for the add-on project.
skipPatching
1.0
boolean
A simple flag to skip the patching process.
verbose
1.0
boolean
A simple flag to log verbosely.