Running software collections maven from a script

If I want to run software collections code without enabling bash and running interactively, I have to pass the whole command on the command line like this:

scl enable rh-maven35 "mvn package"

I’ll need to use this form to run from Ansible.

Leave a Reply

Your email address will not be published. Required fields are marked *