sonatype-nexus-community/nexus-format-archetype

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

nexus-format-archetype

Archetype for creating Nexus format plugin with a lot of the boilerplate required to start development already created.

How to create a format

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.