You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 

Using the Maven Plugin. List of usage scenarios.

Prerequisites

We assume readers are familiar with Maven, especially POM files and the concept of archetypes. Since the license plugin for maven is configured with the generated POM file, you need to apply license file headers (mvn initialize license:format) before running mvn install.

To run the short form of commands shown in this usage scenario, the plugin group de.smartics.maven.plugin needs to be registered in the Maven Settings file.

<settings
  xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <pluginGroups>
    ...
    <pluginGroup>de.smartics.maven.plugin</pluginGroup>
    ...
  </pluginGroups>
</settings>

Users need also know how page and space blueprints for Confluence work. The plugin does not support many details in dealing with them, so expect to be opening the atlassian-plugin.xml, JavaScript, CSS, and Soy files.

You also need to have the Atlassian Software Development Kit (SDK) and to know how to work with it. This includes access to the Atlassian artifact server and manually installing the projectdoc artifacts to your local artifact repository.

Deploy projectdoc Artifacts to local Artifact Repository

 

To actually compile and start the project, you need to have the references artifacts on your artifact repository. Access to Atlassian's artifacts should already been configured when you have installed the Atlassian SDK.

You need to download the projectdoc artifacts and install them manually since they are currently not available on a public repository.

Here are the coordinates of the compile time dependency (download trial version of the projectdoc Toolbox from the Atlassian Marketplace).

    <dependency>
      <groupId>de.smartics.atlassian.confluence</groupId>
      <artifactId>smartics-projectdoc-confluence</artifactId>
      <version>2.4.0</version>
    </dependency>

And this is the additional runtime dependency (download free version of the projectdoc Core Blueprints Add-on from the Atlassian Marketplace).

<pluginArtifact>
  <groupId>de.smartics.atlassian.confluence</groupId>
  <artifactId>smartics-projectdoc-confluence-space-core</artifactId>
  <version>11.1.0</version>
</pluginArtifact>

The project settings allow to specify defaults (for instance groupId and artifactIdPrefix) for the creation of new projects. It is recommended to store the organization specific defaults in that file.

Usage Scenarios

The following usage scenarios help users to execute these tasks quickly.

Resources

Information related to the usage scenarios.

projectdoc Model Descriptors
Provides an overview over the model descriptors to describe the add-on, spaces, and doctypes.
Project Settings
The project-settings.xml allows user specific defaults for parameter values used for the project creation process.

Goals

Goals available for this plugin.
projectdoc Toolbox Online Manual
The online manual for version 1 of the projectdoc Toolbox for Confluence.
  • No labels