aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Vergne <matthieu.vergne@gmail.com>2024-05-03 23:41:33 +0200
committerMatthieu Vergne <matthieu.vergne@gmail.com>2024-05-03 23:46:57 +0200
commit42ac691561b88d41100c115c5e9661c665ba173f (patch)
tree22fb50a41889b9fc827f4aa5a7ad9005198d6f7a
parenteeb16db8644158c21e326eee4b4de84263ecf4b4 (diff)
downloadjavaparser-42ac691561b88d41100c115c5e9661c665ba173f.tar.gz
Fixes #4410
settings.localRepository might contains spaces, which splits the arguments once passed to the commande line in Maven. We use single quotes to keep them together as one single argument. Notice that double quotes did not fix the issue, although many resources on the Web suggest to use double quotes for similar issues.
-rw-r--r--pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index a023bdce2..f2bd475d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -148,7 +148,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<byte-buddy.version>1.14.14</byte-buddy.version>
- <argLine>-javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar</argLine>
+ <argLine>-javaagent:'${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar'</argLine>
<build.timestamp>2024-04-04T00:00:00Z</build.timestamp>
<!-- Maven Plugins -->
</properties>