The latest version of the JBoss Stacks format is right here: https://github.com/jboss-jdf/jdf-stack/blob/Beta2/stacks.yaml
I think that this format finally met our requirements.

For now, I put only JBoss EAP 6.0 and JBoss AS 7.0.0 runtimes just to illustrate how it should be. The archetypes will also follow the same structure.

I committed the parser on the same repo because the parser is tied to the file format.

The Stacks class is now the root of the Yaml file ( more detail on attached diagram - modified since last email ).

The API use is simple as:

Stacks stacks = parser.parse(inputStream);

After we just navigate on the graph (various paths are possible):

stacks.getAvailableBoms().get(SOME);
stacks.getAvailableRuntimes().get(SOME);
stacks.getMajorReleases().get(SOME).getMinorReleases().get(OTHER).getRecommendedRuntime().getBoms().get(ANOTHER).
stacks.getMinorReleases().get(SOME).getRecommendedRuntime().getRecommendedBOM().getAvailableVersions();


Now I will update the jdf-plugin to use the jdf-stack parser API.