[ https://issues.apache.org/jira/browse/MNG-7989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise updated MNG-7989: ------------------------------------- Description: I'm running Maven 4.0.0-alpha-10 in CI (github action) and the output shows me the information line: {code} 15[INFO] Making this build non-interactive, because the environment variable CI equals "true". Disable this detection by removing that variable or adding --force-interactive. {code} The output at the beginning of my build: {code} Run mvn verify -Prun-its -e -B -V --no-transfer-progress 9Apache Maven 4.0.0-alpha-10 (89d3c0321dda868c432edf504f1884e6fd706f00) 10Maven home: /opt/hostedtoolcache/maven/4.0.0/x64 11Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: /usr/lib/jvm/temurin-21-jdk-amd64 12Default locale: en, platform encoding: UTF-8 13OS name: "linux", version: "6.2.0-1018-azure", arch: "amd64", family: "unix" 14[INFO] Error stacktraces are turned on. 15[INFO] Making this build non-interactive, because the environment variable CI equals "true". Disable this detection by removing that variable or adding --force-interactive. 16[INFO] Scanning for projects... 17[INFO] --------------------------------- {code} As I already set the non-interactive mode via {{-B}} (batch-mode) it would make sense in such case not to show the message. My opinion is to check for {{env.CI}} after the check for running non-interactive.. so in my case the message will not being printed. If I don't set the non-interactive mode it will exactly do this. was: I'm running Maven 4.0.0-alpha-10 in CI (github action) and the output shows me the information line: {code} 15[INFO] Making this build non-interactive, because the environment variable CI equals "true". Disable this detection by removing that variable or adding --force-interactive. {code} The run output: {code:java} Run mvn verify -Prun-its -e -B -V --no-transfer-progress 9Apache Maven 4.0.0-alpha-10 (89d3c0321dda868c432edf504f1884e6fd706f00) 10Maven home: /opt/hostedtoolcache/maven/4.0.0/x64 11Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: /usr/lib/jvm/temurin-21-jdk-amd64 12Default locale: en, platform encoding: UTF-8 13OS name: "linux", version: "6.2.0-1018-azure", arch: "amd64", family: "unix" 14[INFO] Error stacktraces are turned on. 15[INFO] Making this build non-interactive, because the environment variable CI equals "true". Disable this detection by removing that variable or adding --force-interactive. 16[INFO] Scanning for projects... 17[INFO] --------------------------------- {code} {code} As I already set the non-interactive mode via {{-B}} (batch-mode) it would make sense in such case not to show the message. My opinion is to check for {{env.CI}} after the check for running non-interactive.. so in my case the message will not being printed. If I don't set the non-interactive mode it will exactly do this. > Making this build non-interactive, because the environment variable CI equals > "true". > ------------------------------------------------------------------------------------- > > Key: MNG-7989 > URL: https://issues.apache.org/jira/browse/MNG-7989 > Project: Maven > Issue Type: Improvement > Components: Command Line, Core > Affects Versions: 4.0.0-alpha-10 > Reporter: Karl Heinz Marbaise > Assignee: Karl Heinz Marbaise > Priority: Minor > Fix For: 4.0.0, 4.0.0-alpha-11 > > > I'm running Maven 4.0.0-alpha-10 in CI (github action) and the output shows > me the information line: > {code} > 15[INFO] Making this build non-interactive, because the environment variable > CI equals "true". Disable this detection by removing that variable or adding > --force-interactive. > {code} > The output at the beginning of my build: > {code} > Run mvn verify -Prun-its -e -B -V --no-transfer-progress > 9Apache Maven 4.0.0-alpha-10 (89d3c0321dda868c432edf504f1884e6fd706f00) > 10Maven home: /opt/hostedtoolcache/maven/4.0.0/x64 > 11Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: > /usr/lib/jvm/temurin-21-jdk-amd64 > 12Default locale: en, platform encoding: UTF-8 > 13OS name: "linux", version: "6.2.0-1018-azure", arch: "amd64", family: "unix" > 14[INFO] Error stacktraces are turned on. > 15[INFO] Making this build non-interactive, because the environment variable > CI equals "true". Disable this detection by removing that variable or adding > --force-interactive. > 16[INFO] Scanning for projects... > 17[INFO] --------------------------------- > {code} > As I already set the non-interactive mode via {{-B}} (batch-mode) it would > make sense in such case not to show the message. > My opinion is to check for {{env.CI}} after the check for running > non-interactive.. so in my case the message will not being printed. If I > don't set the non-interactive mode it will exactly do this. -- This message was sent by Atlassian Jira (v8.20.10#820010)