# Simplest Possible MicroProfile Maven Kickstarter

Execute:
    mvn archetype:generate -DarchetypeGroupId=com.airhacks
        -DarchetypeArtifactId=microprofile-essentials-archetype -DarchetypeVersion=0.0.2
for interactive mode or (replace [PROJECT_NAME]) in batch mode:

    mvn archetype:generate -DarchetypeGroupId=com.airhacks
        -DarchetypeArtifactId=microprofile-essentials-archetype -DarchetypeVersion=0.0.2 -DgroupId=com.airhacks
        -DartifactId=[PROJECT_NAME] -Dversion=0.0.1 -Darchetype.interactive=false --batch-mode


    Output: MicroProfile 1.3 ThinWar (4.5kB) project with:


    MicroProfile HealthCheck: LivenessCheck
    No-dependencies pom.xml (25 LoC)
    Configured JAX-RS resource /resources/ping
    Configured DI in beans.xml descriptor (a single tag, formatted. Takes 5 LoC)



    Payara 5 Full and openliberty.io
    servers, are not only Java EE 8 compliant,
    they also come with MicroProfile 1.3 APIs -- so you don't have to use any esoteric runtimes.


    Payara 5, OpenLiberty Dockerfile is also available from: docklands.
    The Maven Archetype is available in: https://github.com/AdamBien/microprofile-essentials-archetype.


    
        See you at MicroProfile With or
            Without Jakarta EE, at Munich Airport, Terminal 2
