Skip to content

An example on how to scan a Java project with maven build system for the used licensed and how to blacklist some of them

License

Notifications You must be signed in to change notification settings

renepanke/java-maven-license-scan-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Maven License Scan Example

Acknowledgments to the plugin author

All functionality-wise credits go to github.com: carlomorelli/licensescan-maven-plugin. This repository does only provide an example on how to use the plugin.


This repository holds a basic example for scanning a maven project for licenses that can't be used in proprietary projects.

DISCLAIMER: THIS IS NOT LEGAL ADVICE NOR DOES THIS LIST CLAIM TO BE EXHAUSTIVE.

FEEL FREE TO OPEN A PULL REQUEST TO SUBMIT ADDITIONAL LICENSES THAT DO REQUIRE TO DISCLOSE SOURCE CODE.

Executing the scan

You can execute the license scan by executing mvn clean package licensescan:audit on the command line.

A report is generated under ${projectDir}/target/license-scan-resulsts/index.html which can be opened with any browser.

Usage/Examples

Try adding the commented out projects and see the licensescan:audit command failing. Also have a look on the report.

About

An example on how to scan a Java project with maven build system for the used licensed and how to blacklist some of them

Topics

Resources

License

Stars

Watchers

Forks

Languages