Switch to maven-dependency-plugin and adjust build output

Replaced `maven-shade-plugin` with `maven-dependency-plugin` for dependency management, simplifying the build process and separating runtime dependencies into a dedicated `lib/` directory. Updated `Dockerfile` and GitHub Actions config to account for these changes, ensuring all dependencies are correctly packaged and deployed.
This commit is contained in:
anthorob committed 2026-10-18 02:10:38 -04:00
1 parent dad2e0356e
commit 01bf94c60a
3 files changed
+14 -43

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ ARG API_PORT=9000
EXPOSE ${API_PORT}
COPY startup.sh ./
COPY --from=build /build/target/lib ./lib
COPY --from=build /build/target/netneutrality.jar ./
RUN ["chmod", "+x", "./startup.sh"]