Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zaplatynski/java-bom
Marian's Java Bill Of Materials
https://github.com/zaplatynski/java-bom
bill bom java materials maven
Last synced: 12 days ago
JSON representation
Marian's Java Bill Of Materials
- Host: GitHub
- URL: https://github.com/zaplatynski/java-bom
- Owner: zaplatynski
- License: apache-2.0
- Created: 2018-08-21T09:54:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T18:47:32.000Z (over 6 years ago)
- Last Synced: 2024-12-28T17:34:51.422Z (13 days ago)
- Topics: bill, bom, java, materials, maven
- Homepage: https://zaplatynski.github.io/java-bom/
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Marian's Java Bill Of Materials [![Build Status](https://travis-ci.org/zaplatynski/java-bom.svg?branch=master)](https://travis-ci.org/zaplatynski/java-bom)
================================This is a bill of materials (BOM) suitable for most OpenSource Java projects as Maven parent pom using Java 8. There is no Java 9+ support at the moment.
It configures:
* The Maven Java compiler plugin to a *certain version*, e.g. 8 (1.8)
* Takes care that all dependencies have *maximum byte code compatible transitive dependencies of certain version* e.g. 8 (1.8)
* Checks that all *transitive dependencies resolves to common version* and forces the developer to declare it e.g. inside the dependency management.
* Adds the *Maven information* such as name and ids such as artifact id and group id to the Java's *jar manifest file*
* Creates additional jar files for *source* and *JavaDoc* as required by Maven Central for easy access of the source code by IDEs such as Eclipse or IDEA
* Provides *JUnit 5* as unit test engine with support for *JUnit 3* and *JUnit 4* tests so that all unit tests of JUnit 3, 4 and 5 can run at the same time
* Adds *Mockito, *AssertJ* and *Hamcrest* support for unit testsHow to add to your Maven project
--------------------------------Just reference the BOM as the parent POM in your project's pom.xml:
```xml
com.github.zaplatynski
java-bom
1.1.2
...
```
How to modify a version such as the Java version
------------------------------------------------All versions are stored inside properties for easy adaption e.g. use Java 7 instead of 8:
```xml
com.github.zaplatynski
java-bom
1.1.2
...
1.7
...
```