Plugin Documentation
This report describes goals, parameters details, requirements and sample usage of this plugin.
Goals
Goals available for this plugin:
Goal | Description |
---|---|
njord:drop | Drops given store. |
njord:drop-all | Tabula rasa: drops all stores. For safety reasons, you need extra -Dyes . |
njord:export | Exports a store as "remote Maven repository" directory structure to given directory. |
njord:export-bundle | Exports a store as "bundle" ZIP to given path. The ZIP file has remote repository layout and contains all the artifacts and metadata. |
njord:help | Display help information on njord.
Call mvn njord:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
njord:list | List all existing stores. |
njord:list-content | Lists content of given store. |
njord:list-publishers | Lists available publishers. |
njord:list-templates | List all existing templates. |
njord:merge | Merges from store onto to store, eventually dropping from store. |
njord:publish | Publishes given store to given target. |
njord:redeploy | Redeploys from store onto to store, eventually dropping from store. |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | [3.9.9,) |
JDK | 17 |
System Requirements History
The following specifies the minimum requirements to run this Maven plugin for historical versions:
Plugin Version | Maven | JDK |
---|---|---|
from 0.1.1 to 0.2.0 | - | 17 |
0.1.0 | - | - |
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>eu.maveniverse.maven.plugins</groupId>
<artifactId>njord</artifactId>
<version>0.2.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>eu.maveniverse.maven.plugins</groupId>
<artifactId>njord</artifactId>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"