ppalaga commented on PR #4613:
URL: https://github.com/apache/camel-quarkus/pull/4613#issuecomment-1452086688

   > I cannot reproduce the issue with setting CQ_HOME locally. Let me add some 
debug code.
   
   It seems to have to do with GH actions ubuntu latest to be upgraded to use 
Maven 3.9.0.
   
   THe code I have added in the temp. commit shows the following: 
   
   ```
   $ echo "CQ_VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q 
-DforceStdout)=" | cat
   CQ_VERSION=3.0.0-SNAPSHOT=
   $   echo "CQ_VERSION=$(mvn help:evaluate -Dexpression=project.version -q 
-DforceStdout)=" | cat
   CQ_VERSION=Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
   Maven home: /usr/share/apache-maven-3.9.0
   Java version: 17.0.6, vendor: Eclipse Adoptium, runtime: 
/usr/lib/jvm/temurin-17-jdk-amd64
   Default locale: en_US, platform encoding: UTF-8
   OS name: "linux", version: "5.15.0-1033-azure", arch: "amd64", family: "unix"
   3.0.0-SNAPSHOT=
   ```
   
   The output of locally installed Maven 3.9.0 is wrong while the output of 
mvnw using Maven 3.8.something is correct.
   
   Let me put mvnw everywhere.
   
   The funny part is that locally it works well even with Maven 3.9.0. Same 
Java, same help mojo version. Perhaps the GH actions shell is somehow different.


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to