# licensing-maven-plugin
**Repository Path**: mirrors_neo4j/licensing-maven-plugin
## Basic Information
- **Project Name**: licensing-maven-plugin
- **Description**: Licensing Maven Plugin
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: textreport
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-19
- **Last Updated**: 2025-06-15
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Licensing Maven Plugin
## Getting Started
```shell
$ mvn org.neo4j.build.plugins:licensing-maven-plugin:check -DfailIfMissing=false
```
This will walk through your multimodule project and create
target/third-party-licensing.xml everywhere.
```shell
$ mvn org.neo4j.build.plugins:licensing-maven-plugin:collect-reports
```
This will walk through your multimodule project, finding all those
third-party-licensing.xml files and aggregate them together into a
target/aggregated-third-party-licensing.xml.
If you're attaching this to an execution, use:
```shell
$ mvn org.neo4j.build.plugins:licensing-maven-plugin:aggregate
```
This will only generate a `target/aggregated-third-party-licensing.xml` in your parent project (without failing your build).
## Examples
Here's an example licensing requirements XML file:
```xml
Spring Source License
GNU Public License Version 2
The GNU Public License, Version 2.0
GPLv2
LGPL
xom:xom:jar:1.0
```
Here's an example of how to bind the plugin into your build:
```xml
org.neo4j.build.plugins
licensing-maven-plugin
1.5-SNAPSHOT
enforce-licensing
compile
check
true
true
licensing-requirements.xml
org.example
generate-licensing-xml
install
aggregate
licensing-requirements.xml
org.example
org.linuxstuff.example
license-requirements
1.0-SNAPSHOT
```
## TODO
- attach aggregated-third-party-licensing.xml to be deployed
- format output XML
- make a proper maven site for the plugin