https://github.com/eitco/bom-maven-plugin
a maven plugin helping to create a bill of materials of your project
https://github.com/eitco/bom-maven-plugin
Last synced: about 1 year ago
JSON representation
a maven plugin helping to create a bill of materials of your project
- Host: GitHub
- URL: https://github.com/eitco/bom-maven-plugin
- Owner: eitco
- License: mit
- Created: 2024-05-10T16:23:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T10:39:36.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T09:52:40.901Z (almost 2 years ago)
- Language: Java
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bill of Materials Maven Plugin
[](https://opensource.org/license/mit)
[](https://github.com/eitco/bom-maven-plugin/actions/workflows/deploy.yaml)
[](https://central.sonatype.com/artifact/de.eitco.cicd/bom-maven-plugin)
This goal scans the current project and creates a bill of materials (bom) pom containing the current project
and all of its (sub-) modules with the current version as dependency management.
activate it in the following way:
```xml
...
...
...
de.eitco.cicd
bom-maven-plugin
5.0.0
create
```
Check for the latest version [here](https://central.sonatype.com/artifact/de.eitco.cicd/bom-maven-plugin). This enables the following goals:
It can be customized with the following parameters:
## additionalBoms
This parameter specifies a list of additional pom files whose dependency management
will be included in the generated bom.
Consider using the [flatten-maven-plugin](https://github.com/mojohaus/flatten-maven-plugin) to generate a pom containing the projects dependency management and
specifying the generated file as `additionalBom`. The [integration tests](./src/it) provide an [example for that](./src/it/modules).
## typesByPackaging
This parameter holds a map of artifact types indexed by their packaging. The plugin needs this map to deduce
the types of artifacts given their packaging. The default types (`pom`, `jar`, `war`) are always known. Use this
parameter if you have some custom packaging to use in your bom.