code: public String getProfilesCSV() {
          String profiles = substringBeforeLast(command, " "); // remove goal
          profiles = substringAfterLast(profiles, "-P");
          return profiles.trim();
      }
docs: Used to create an invoker.properties file in bootstrap integration test.
  <p>
  Input:<br>
  <code>packCommand=mvn -Ph2,db,metadata,gen test</code>
  <p>
  Ouput:<br>
  <code>h2,db,metadata,gen</code>