Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metio/maven-build-process
Standard Maven Build Process for Java Projects
https://github.com/metio/maven-build-process
java maven maven-archetype maven-bom maven-parent
Last synced: about 2 months ago
JSON representation
Standard Maven Build Process for Java Projects
- Host: GitHub
- URL: https://github.com/metio/maven-build-process
- Owner: metio
- License: 0bsd
- Created: 2020-05-24T01:06:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T00:44:15.000Z (8 months ago)
- Last Synced: 2024-05-23T01:41:51.625Z (8 months ago)
- Topics: java, maven, maven-archetype, maven-bom, maven-parent
- Language: Makefile
- Homepage:
- Size: 513 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Security: SECURITY.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# maven-build-process [![Chat](https://img.shields.io/badge/matrix-%23talk.metio:matrix.org-brightgreen.svg?style=social&label=Matrix)](https://matrix.to/#/#talk.metio:matrix.org)
Bunch of POMs that help to set up a [Maven](http://maven.apache.org/) based project.
## Usage
### Maven Parent
Inherit from one of the parents like this:
```xml
wtf.metio.maven.parents
maven-parents-java-prototype
${version.parent}
``````xml
wtf.metio.maven.parents
maven-parents-java-stable
${version.parent}
```Replace `${version.parent}` with either the latest [prototype](https://search.maven.org/artifact/wtf.metio.maven.parents/maven-parents-java-prototype) or [stable](https://search.maven.org/artifact/wtf.metio.maven.parents/maven-parents-java-stable) version.
Specify SCM, Issue Management, CI Management, and Distribution Management sections of your POM in case you want to deploy into [Maven Central](http://search.maven.org/) or other repositories.
#### Prototype vs Stable
| Feature | Prototype | Stable |
|:--------------------:|:---------:|:------:|
| JUnit | 5 | 5 |
| Attach Source | ✔ | ✔ |
| Attach JavaDoc | ✔ | ✔ |
| Java | 11 | 11 |
| PMD | ✘ | ✔ |
| Jacoco | 0 % | 100 % |
| Duplicate Finder | ✔ | ✔ |
| Pitest | ✘ | ✔ |
| Dependency Scan | ✔ | ✔ |
| Analyse Dependencies | ✘ | ✔ |
| Dependency Conflicts | ✔ | ✔ |
| Flatten POM | ✔ | ✔ |### Maven BOMs
This project defines multiple [Maven BOM](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#importing-dependencies)s. Include them like this:
```xml
wtf.metio.maven.boms
maven-boms-[TYPE]
${version.parent}
pom
import
```
Pick one or more of the available BOMs and replace `${version.parent}` with the appropriate version. All managed dependencies are using the latest available (released) versions and are **updated once a week**.
## License
```
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
```## Mirrors
- https://github.com/metio/maven-build-process
- https://gitlab.com/metio.wtf/maven-build-process
- https://bitbucket.org/metio-wtf/maven-build-process
- https://codeberg.org/metio.wtf/maven-build-process