Name: nexus-format-archetype
Owner: Sonatype Community
Description: Archetype for creating Nexus format plugin
Created: 2017-10-11 09:50:49.0
Updated: 2018-05-08 18:49:31.0
Pushed: 2018-05-08 18:50:17.0
Homepage: null
Size: 24
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Archetype for creating Nexus format plugin with a lot of the boilerplate required to start development already created.
Once the code has been checked out.
Build the archetype:
mvn clean install
Change directory to a new folder where you wish to generate the format boilerplate code.
Generating a format plugin is as easy as running the following:
mvn archetype:generate \
-DarchetypeArtifactId=nexus-format-archetype \
-DarchetypeGroupId=org.sonatype.nexus.archetype \
-DarchetypeVersion=1.0-SNAPSHOT \
-DgroupId=org.sonatype.nexus.plugins \
-DartifactId=nexus-repository-foo \
-DpluginFormat=foo \
-DpluginClass=Foo \
-Dversion=0.1-SNAPSHOT \
It is recommended to keep the naming of the following parameters consistent with the plugin you wish to develop:
pluginFormat = A name with no whitespace that best describes the format (e.g. raw, yum, npm etc.)
pluginClass = The class name that will be used to generate the plugin boilerplate code (e.g. Raw, Yum, Npm etc.)
version = The version of the format to be developed