Name: sponge-plugin-archetype
Owner: SpongePowered
Description: null
Created: 2015-03-05 01:02:28.0
Updated: 2016-11-01 19:15:44.0
Pushed: 2016-11-01 19:16:25.0
Homepage: null
Size: 43
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a simple archetype that generates the basic structure for a Sponge plugin.
The generated pom includes a release profile that generates gpg-signed jars for javadocs, binary, and sources as recommended in the guidelines for submitting projects to Sonatype OSS (However, this option is not currently available for Sponge plugins due to the fact that Sponge API is not currently hosted on Maven Central).
The archetype plugin accepts a few properties
Property | Example value | Description ————–|————————–|——————————————————————— groupId | io.github.user | The maven groupId, useful more for plugins used as dependencies, but should more or less match your package name artifactId | myproject | The project id, also used as plugin id and name of the generated folder version | 1.0-SNAPSHOT | The initial version for your plugin. Can (and should) be changed as development progresses package | io.github.user.myproject | The package your plugin class will be generated in githubProject | user/repo | The github project. If a value is specified that is not user/repo, issue tracking and SCM sections are added to the pom
These can be specified as arguments to Maven in the form -Dproperty=value
This archetype requires Maven 3 or newer. Invoke maven with the goal archetype:generate. Maven will prompt for any required paramaters, but optional parameters must be specified on the command line. Everything before -DgithubProject...
is mandatory.
n archetype:generate -DarchetypeArtifactId=sponge-plugin-archetype -DarchetypeGroupId=org.spongepowered -DarchetypeRepository=http://repo.spongepowered.org/maven -DarchetypeVersion=1.2.1 -DgithubProject=waylon531/spongeparty