Sorry - forgot to mention - im doing this on the "main" branch (up to date), and im building by running mvn cli (mvn package -DskipTests) on Apache Maven 3.6.3.
________________________________ From: Gašper Čefarin <[email protected]> Sent: 04 November 2025 09:45:27 To: [email protected] Subject: Problems with artemis bash script line endings on linux I'm not sure if i'm the only one, but i experience these errors when building the distribution packages, unzipping and running the "artemis" script. running artemis extracted from .tar.gz: artemis: line 18: $'\r': command not found artemis: line 54: syntax error near unexpected token `$'in\r'' 'rtemis: line 54: `case "`uname`" in from .zip: /usr/bin/env: ‘sh\r’: No such file or directory yesterday I solved it with running dos2unix: xx:/tmp/artemis/apache-artemis-2.45.0-SNAPSHOT/bin$ ./artemis create broker --force /usr/bin/env: ‘sh\r’: No such file or directory xx:/tmp/artemis/apache-artemis-2.45.0-SNAPSHOT/bin$ dos2unix artemis dos2unix: converting file artemis to Unix format... xx:/tmp/artemis/apache-artemis-2.45.0-SNAPSHOT/bin$ ./artemis create broker --force Creating ActiveMQ Artemis instance at: /tmp/artemis/apache-artemis-2.45.0-SNAPSHOT/bin/broker ... but today im both building and running the script on linux (ubuntu 24), and i'm experiencing the same problems. Can anyone else confirm that this is an actual issue?
