We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c705da commit b92f1b0Copy full SHA for b92f1b0
1 file changed
.github/scripts/build-standalone-ls.sh
@@ -9,8 +9,8 @@ echo "Building standalone LS jar..."
9
cd headless-services
10
./mvnw -f pom.xml -pl spring-boot-language-server-standalone -am -DskipTests clean package
11
12
-# Get the version from Maven
13
-base_version=$(./mvnw -q -f spring-boot-language-server-standalone/pom.xml -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec | tail -n 1)
+# Get the version from Maven using help:evaluate
+base_version=$(./mvnw help:evaluate -Dexpression="project.version" -q -DforceStdout -f spring-boot-language-server-standalone/pom.xml)
14
15
# Strip -SNAPSHOT if it exists, to get the clean base version
16
base_version=${base_version%-SNAPSHOT}
0 commit comments