Skip to content

Using a Staged Build

Joe DiPol edited this page Feb 13, 2019 · 2 revisions

As part of our release process, artifacts are first staged in https://oss.sonatype.org/content/groups/staging/. To use these staged bits you must configure your maven build with this repository. One way to do that is to define a profile in your settings.xml. We have an example of how to do that at the bottom of RELEASE.md.

Once you've defined that profile you can use it when running mvn. For example:

mvn archetype:generate -DinteractiveMode=false \
    -DarchetypeGroupId=io.helidon.archetypes \
    -DarchetypeArtifactId=helidon-quickstart-se \
    -DarchetypeVersion=1.0.0 \
    -DgroupId=io.helidon.examples \
    -DartifactId=quickstart-se \
    -Dpackage=io.helidon.examples.quickstart.se \
    -Possrh-staging

cd quickstart-se

mvn package -Possrh-staging