This repository has been archived on 2026-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
JSCA/build.sh
rattatwinko defd5fc8b3
All checks were successful
Maven Build / build (push) Successful in 10m8s
gayporn
2025-05-28 14:03:44 +02:00

19 lines
505 B
Bash
Executable File

#!/bin/bash
# Universal build script for Maven and Gradle projects
echo "Current directory: $(pwd)"
# Check if Maven is installed
if ! command -v mvn &> /dev/null; then
echo "Maven not found, installing..."
sudo apt-get update
sudo apt-get install -y maven
fi
echo "Maven version: $(mvn --version)"
echo "Building Maven project: security-camera-app"
mvn clean package -f "./pom.xml"
echo "Build complete. Build artifacts should be in their respective target/ or build/libs/ directories."