<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
The latest version of the JBoss Stacks format is right here: <a
href="https://github.com/jboss-jdf/jdf-stack/blob/Beta2/stacks.yaml">https://github.com/jboss-jdf/jdf-stack/blob/Beta2/stacks.yaml</a>
<br>
I think that this format finally met our requirements.<br>
<br>
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.<br>
<br>
I committed the parser on the same repo because the parser is tied
to the file format.<br>
<br>
The Stacks class is now the root of the Yaml file ( more detail on
attached diagram - modified since last email ).<br>
<br>
The API use is simple as:<br>
<br>
Stacks stacks = parser.parse(inputStream);<br>
<br>
After we just navigate on the graph (various paths are possible):<br>
<i><br>
stacks.getAvailableBoms().get(SOME);<br>
stacks.getAvailableRuntimes().get(SOME);<br>
stacks.getMajorReleases().get(SOME).getMinorReleases().get(OTHER).getRecommendedRuntime().getBoms().get(ANOTHER).<br>
stacks.getMinorReleases().get(SOME).getRecommendedRuntime().getRecommendedBOM().getAvailableVersions();</i><br>
<br>
Now I will update the jdf-plugin to use the jdf-stack parser API.
</body>
</html>