How can I compile a report showing all used licenses with Ant?

I am currently using Ant and Maven on different projects. To be in accordance with some rules, I am responsible for listing all the licenses used in each project.

This is easy with Maven, as the Maven Project Info Plugin automatically generates such a report.

Since I do not like license searches for all of my JARs that I use in projects, I would like to know if there is a plugin for Ant performing this task.

Thanks in advance!

+5
source share
1 answer

Since this question didn’t have any hints, pointers or even answers, I hacked the solution myself: license report on github

license-report - Ant, jar. :

  • META-INF/MANIFEST.MF
  • META-INF/LICENSE
  • LICENSE.txt
  • LICENSE
  • license/LICENSE.txt
  • license/LICENSE

Open Source/Free Software. (, Spring).
.

, xml html- . " ".

Ant.

XML . ( Ant) ant build.xml license-report-demo. XML . XSLT, XML HTML-. , .

XML (, CI-, Hudson/Jenkins). .

+2

All Articles