versioneye / versioneye_maven_plugin

Maven Plugin for VersionEye
50 stars 22 forks source link

Included licenses tag from pom.xml to the generated pom.json file. #73

Closed manoelcampos closed 7 years ago

manoelcampos commented 7 years ago

The licenses tag is read from the pom.xml and included into the pom.json files to enable versioneye server to show license information for maven projects without querying the maven central for that.

Some examples of generated json files are provided below:

{
    "prod_type":"Maven2",
    "licenses":[{"name":"GPLv3","url":"http://www.gnu.org/licenses/lgpl-3.0.txt","distribution":null,"comments":null}],
    "group_id":"org.cloudsimplus", "artifact_id":"cloudsim-plus", 
    "version":"1.0", "name":"CloudSim Plus API", "language":"Java",
    "dependencies":[]
}
{
    "prod_type":"Maven2", 
    "licenses":[{"name":"GPLv3","url":"http://www.gnu.org/licenses/lgpl-3.0.txt","distribution":null,"comments":null}],
    "group_id":"org.cloudsimplus", "language":"Java", "artifact_id":"cloudsim-plus-examples", 
    "version":"1.0", "name":"CloudSim Plus Examples",
    "dependencies":[]
}
reiz commented 7 years ago

@manoelcampos Thanks! 👍