Skip to content

rafabene/jdf-stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jdf-stack

Stack index

What is it?

The stacks.yaml file represents all relationship between Runtimes, Maven BOMs and Archetypes.

Run the tests

If you modify the stacks.yaml file run the tests to get sure that it is working

    mvn test

How to parse the file ?

If you need to convert the stack.yaml file to Java Objects add the following dependency to your project

    <dependency>
        <groupId>org.jboss.jdf</groupId>
        <artifactId>stacks-client</artifactId>
        <version>LATEST-VERSION</version>
    </dependency>

Then you can use the stacks-client API:

    StacksClient stacksClient = new StacksClient();
    Stacks stacks = stacksClient.getStacks();

When you get the Stacks the stacks-client will retrieve the Stacks.yaml file from its repository and cache it locally. The cache will be updated once a day (24 hours since last update)

File format evolution

Each branch represents a file format. If you need to update the stacks.yaml format, create a new branch to to avoid breaking compatibility with previous format versions

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%