Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdiscordbots/parent
https://github.com/jdiscordbots/parent
Last synced: about 20 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jdiscordbots/parent
- Owner: JDiscordBots
- License: gpl-3.0
- Created: 2020-06-12T10:01:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-29T00:27:45.000Z (almost 4 years ago)
- Last Synced: 2024-04-24T12:11:30.316Z (7 months ago)
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# 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](https://maven-badges.herokuapp.com/maven-central/io.github.jdiscordbots/jdiscordbots-parent/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.jdiscordbots/jdiscordbots-parent)):
```xmlio.github.jdiscordbots
jdiscordbots-parent
VERSION```
## 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:
```xml
your.Main
```
* `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`