Skip to content

JDiscordBots/Parent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

JDiscordBots-Parent

Parent pom for easy packaging and deployment to maven central

use this parent

In order to use this parent for your maven project, add the following to your pom.xml (replace VERSION with the version in Maven Central):

<parent>
	<groupId>io.github.jdiscordbots</groupId>
	<artifactId>jdiscordbots-parent</artifactId>
	<version>VERSION</version>
</parent>

Contents

This parent adds the following repositories:

  • JCenter It adds the following plugins and configurations:
  • maven-compiler-plugin: sets the java version to 8
  • spotbugs-maven-plugin: allows you to analyze your project using mvn spotbugs:check
  • maven-assembly-plugin: quickly bundle your project into a JAR file using mvn package if you set the property main to your main class:
    <properties>
    	  <main>your.Main</main>
    </properties>
  • maven-enforcer-plugin: Sets the required maven version to 3.1.1
  • maven-notice-plugin: autogenerates a NOTICE.md file using mvn notice:generate
  • maven-source-plugin: creates a source JAR using mvn verify
  • maven-javadoc-plugin: creates a javadoc JAR using mvn verify
  • maven-gpg-plugin: signs your JARs before deploying to maven central
  • maven-deploy-plugin and nexus-staging-maven-plugin: uploads your JARs to maven central using mvn deploy

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published