Bukama commented on PR #671:
URL: 
https://github.com/apache/maven-jlink-plugin/pull/671#issuecomment-4480666320

   ```
   D:\Github\Maven\maven-jmod-plugin>mvn --version
   Apache Maven 4.0.0-rc-5 (fb3ecaef88106acb40467a450248dfdbd75f3b35)
   Maven home: C:\apache-maven-4.0.0-rc-5
   Java version: 25.0.2, vendor: Azul Systems, Inc., runtime: C:\Program 
Files\Zulu\zulu-25
   Default locale: de_DE, platform encoding: UTF-8
   OS name: "windows 11", version: "10.0", arch: "amd64", family: "winnt"
   
   
   [ERROR] The following builds failed:
   [ERROR] *  cli-options\endian-big\pom.xml
   ```
   
   Error is an invalid jlink (`--endian` in combination with `big`) argument.
   
   ```
   [DEBUG] Adding artifact: localhost:first-jar-module-info:99.0
   [INFO]  -> module: first.jar.module.info ( 
D:\Github\Maven\maven-jlink-plugin\target\local-repo\localhost\first-jar-module-info\99.0\first-jar-module-info-99.0.jar
 )
   [DEBUG] jlink [--endian, big, --module-path, 
D:\\Github\\Maven\\maven-jlink-plugin\\target\\local-repo\\localhost\\first-jar-module-info\\99.0\\first-jar-module-info-99.0.jar,
 --add-modules, first.jar.module.info, --output, 
D:\Github\Maven\maven-jlink-plugin\target\it\cli-options\endian-big\target\maven-jlink\default]
   [ERROR] 
   [ERROR] Fehler: Die angegebene Option --endian BIG_ENDIAN entspricht nicht 
dem Endian-Typ der Zielplattform windows-x64
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  1.252 s
   [INFO] Finished at: 2026-05-18T20:16:05+02:00
   [INFO] 
------------------------------------------------------------------------
   ```
   
   (according to AI) It needs to be `little` on Windows or skipped at all (like 
in IT `cli-options\endian`), so jlink chooses what fits for the machine.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to