I have this relatively strange maven project that I work on under intellij, where most submodules are java, but one module contains shell and python script (maven packages those with the maven-assembly-plugin). I manage to configure maven to execute python unitest when executing mvn test
and it works when executing it on git-bash. But it doesn't work in intellij when clicking on lifecycle>test in the maven tool window.
The problem seems to be that it executes it in a powershell. We develop under windows, but the project is deployed on linux, so the shell and python scripts are expected to work on linux. I found configuration in intellij to use git-bash in the terminal tool of intellij (for example here), but nothing to use it (or another linux-like shell) to execute maven test.
=> Is there any such configuration?
Note: I am using intellij community edition 2021.3.2. I could probably get a new CE or an ultimate edition if that solves my issue (but I prefere to avoid changing/updating if not necessary)