A tool to generate a CPE (Common Platform Enumeration) directory entries for Eclipse Temurin using the Adoptium API.
This tool adheres to the NIST CPE design specification, keeping it simple and in a format that can be easily generated by scripts. The goal is to represent each Temurin release product. The specification for these entries can be found here.
Clone the repository:
git clone https://github.com/adoptium/temurin-cpe-generator
cd temurin-cpe-generator
Install the dependencies
npm install
To fetch all the GA releases and generate the CPE directory:
node generator.js
The output will be an XML format representation, which you can save or further process as needed.