Streamline architectural design and visualization with an as-code approach. Integrates C4 Model and ArchiMate for efficient workflow.
The following commands assume the ArchiCode workspace is located in the current directory.
Show the help information
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode --help
Generate all views
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode views generate
Get the JSON schema for the Workspace resource
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode query schemas workspace
Get the JSON schema for the Manifest resource
docker run \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/workdir" -w "/workdir" \
--rm ghcr.io/tmorin/archicode query schemas manifest
Dependencies upgrade
./mvnw versions:display-dependency-updates
Quarkus update
./mvnw quarkus:update
Release
./mvnw --batch-mode release:clean \
&& ./mvnw --batch-mode release:prepare \
-DreleaseVersion=X.Y.Z \
-DdevelopmentVersion=Y.X.Z-SNAPSHOT
Build package and OIC image
./mvnw package -Dquarkus.container-image.build=true
Build package and OIC image without test execution
./mvnw package -Dquarkus.container-image.build=true -Dmaven.test.skip
./mvnw clean package -Dquarkus.container-image.build=true