Be sure that all artefacts (including samples) are built
@@ -19,6 +19,9 @@ pause
REM We need the correct release number
set /p version="Enter the last released version (e.g.: 1.0): "
+REM To be sure we have that all artefacts are built, we rebuild them (publishing a release won't install the samples)
+mvn install -Dmaven.test.skip=true
+
REM The next command is long to execute
@echo on
call mvn site -Prelease "-DlastReleasedVersion=%version%"
