Build PhoneBlock immediately after checkout#204
Conversation
c6d097a to
a730ef1
Compare
- Remove global <filters> configuration that was applied during process-resources phase - Keep filtering in maven-war-plugin for deployment-time configuration injection - Allow developers to compile and test without needing environment-specific .phoneblock file Fixes haumacher#202
a730ef1 to
0856b31
Compare
|
Ich habe den Branch auf den aktuellen Verworfen (nicht mehr nötig):
Behalten (weiterhin relevant):
Der PR enthält jetzt nur noch diesen einen Commit (force-push mit |
Restores the resource filtering that injects deployment-time configuration (database URL, OAuth credentials, SMTP settings) from the .phoneblock file, and replaces the earlier workaround (removing filtering entirely) with a maven-enforcer-plugin check that runs in the validate phase. If .phoneblock is missing, the build now fails early with a clear message pointing the developer to .phoneblock.template, instead of producing a confusing resource-filtering error later in the build. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Ich habe einen weiteren Commit ergänzt, der den Ansatz ändert: Die Resource-Filterung wird nicht entfernt, sondern beibehalten — sie wird zum Einweben projekt-spezifischer Werte (DB-URL, OAuth-Credentials, SMTP) ins Build-Artefakt verwendet und ist damit Teil des Deployment-Mechanismus. Stattdessen prüft jetzt das Damit bleibt das ursprüngliche Problem (unverständlicher Fehler direkt nach Checkout) gelöst, ohne die Deployment-Konfiguration zu verändern. |
GitHub Packages requires an authentication token to download artifacts, which forces every contributor to set up a personal access token before they can build the project. JitPack serves public Maven artifacts built on demand from tagged releases without any authentication. mjSIP is a multi-module Maven project. JitPack builds the whole reactor and publishes every submodule under the group id com.github.<User>.<Repo> (note the dot separator between user and repo). Transitive references between mjsip-ua, mjsip-sip, mjsip-sound, ... are rewritten automatically by JitPack during the build. Verified: jitpack.io/com/github/haumacher/mjSIP/2.0.5 builds successfully and exposes all submodule jars; mvn dependency:resolve pulls mjsip-ua plus its transitive mjsip-* modules without any credentials. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Weiterer Commit ergänzt: Die Trotz Multi-Module-Struktur von Vorab verifiziert über |
This PR contains minor changes to the project build so that the build can be successfully executed locally immediately after a checkout.
Fixes #202