Add behavior for maven and matrix