
checkout:
    post:
        # clone the Glowkit submodule (see https://circleci.com/docs/configuration)
        - git submodule sync
        - git submodule update --init
        # setup for mvn dependency:resolve (see http://stackoverflow.com/questions/7772556/maven-fails-to-resolve-dependency)
        - (cd Glowkit && mvn install)

test:
    post:
        # release artifacts for API jar and server
        - rm Glowkit/target/*shaded*
        - cp Glowkit/target/*.jar $CIRCLE_ARTIFACTS/
        - cp -r target/glowstone*.jar $CIRCLE_ARTIFACTS/


checkout:
    post:
        # clone the Glowkit submodule (see https://circleci.com/docs/configuration)
        - git submodule sync
        - git submodule update --init
        # setup for mvn dependency:resolve (see http://stackoverflow.com/questions/7772556/maven-fails-to-resolve-dependency)
        - (cd Glowkit && mvn install)

test:
    post:
        - cp -r target/glowstone*.jar $CIRCLE_ARTIFACTS/

Remove API jar from CircleCI release artifacts
Remove API jar from CircleCI release artifacts

No need to deploy on https://circleci.com/gh/deathcap/GlowstonePlusPlus
when you can already get it from https://circleci.com/gh/deathcap/Glowkit
