Hello Maven developers, I'd like to discuss a potential new feature. I've been working on an internal build tool for my company and have stumbled on the following usecase. I need to execute two maven commands of the following form, with different goals and projects:
mvn <goals> -pl <projects> -am After this is done, I want to execute a different set of goals on the intersection of projects that were built by the two commands. I want to do this by parsing the Reactor Build Order that's output by the two commands, finding the common projects, and calling a maven command on them with the -pl tag. Unfortunately this doesn't work, since -pl requires input of the form groupId:artifactId. I would therefore like to add an option to maven to change what information is output in the Reactor Build Order. I've checked out a copy of the Maven source code to see how this could be done, and found the changes to be relatively simple - my new local installation of Maven now has a functioning -logGroupId option. The only caveat is that to see the option in the ExecutionEventLogger, I needed to expand the MavenExecutionRequest interface to contain a getter and setter, "isLogGroupID" and "setLogGroupID". As I'm not very familiar with Maven's source code, I'm a bit paranoid about changing interfaces. Would there be interest in such a feature, or is the cost of an API change too high? If the feature is desired, I'd be happy to merge my local changes. Sincerely, Alexander Pruss P.S. My apologies if this is the incorrect way to discuss a potential new feature. As I'm not a Maven developer, I don't believe I have access to Maven's Core JIRA.
