11 lines
279 B
Bash
Executable File
11 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
# Direct build script for Maven project
|
|
|
|
echo "Current directory: $(pwd)"
|
|
echo "Building project with Maven..."
|
|
|
|
# Run Maven build using the exact pom.xml location
|
|
mvn clean package -f "$(pwd)/pom.xml"
|
|
|
|
echo "Build complete. JAR file should be in target/ directory."
|