@echo off

echo %CD%/lib/dtramm-1.0.0jar

docker run --rm ^
	-v "%CD%":/usr/src/app ^
	-w /usr/src/app ^
	maven:3.9.6-eclipse-temurin-17 ^
	bash -c "mvn clean install:install-file -Dfile=lib/DTRAM.jar -DgroupId=com.dtram -DartifactId=dtram -Dversion=1.0.0 -Dpackaging=jar -DskipTests && mvn package -DskipTests" 
	
pause