diff options
author | Matthieu Vergne <matthieu.vergne@gmail.com> | 2024-05-03 23:41:33 +0200 |
---|---|---|
committer | Matthieu Vergne <matthieu.vergne@gmail.com> | 2024-05-03 23:46:57 +0200 |
commit | 42ac691561b88d41100c115c5e9661c665ba173f (patch) | |
tree | 22fb50a41889b9fc827f4aa5a7ad9005198d6f7a | |
parent | eeb16db8644158c21e326eee4b4de84263ecf4b4 (diff) | |
download | javaparser-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.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>
|