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

Compare with Current View Page History

« Previous Version 5 Next »

projectdoc Toolbox

Imports information from a Maven artifact identified by its artifact coordinates.

Since
2.0
Path
/{space-key}/version/{gav}

The service fetches a artifact created by Maven referenced by {gav} and imports the information to a version page. This makes it easier to automate the export of artifact information to Confluence.

If the page exists, the information is overridden. Otherwise a new document tree is created with the new version document as its root.

If the artifact is a Maven plugin, the Plugin Descriptor information is imported. For this and all other artifacts the POM information the build metadata (if provided as XML) is also imported.

POST

The service only provides the HTTP method POST.

Parameters

space-key

The key of the space the version document is to be written to.

gav

The artifact coordinates (GAV = groupId:artifactId:version) to fetch from.

versioned-title

The query parameter controls whether to create documents with titles that contain the version for uniqueness (true) or to render it to a version agnostic page title (false).

  • No labels