Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleDetails


Section
titleSpace Properties

The macro uses the following Space Properties:

Property NameDescriptionDefault Value
nexus-serviceThe path on the Nexus server to the service that provides access to the artifacts/service/local/artifact/maven/redirect?r=central
url-(systemId)The URL to the Nexus server. For details please refer to System Identifier.none
shortcut-id-(systemId)The property allows to map the System Identifier to another value for lookup in Confluence's shortcuts.nexus
nexus-default-repo-id

The default repository identifier to be used for the artifact service (value for parameter 'r').

Note Box

From version 1.8.0 a value of '*' switches to construct a path to the artifact relative to the repository (instead of the Nexus root). That is, if your path look like http://www.mycorp.com/nexus you will want to specify the repository. But if your path is http://www.mycorp.com/nexus/content/repository/central, specify an asterisk to construct a path. In this case nexus-service defaults to blank. Note that a path requires the version to be set. Queries may omit it.


central



Section
titleAutoconvert

To create the macro authors may simply paste the URI to the artifact on a Nexus server to the editor.

All is needed is a configuration of the Nexus base URI. For more information on this topic, please refer to Autoconvert Information System URIs.


...