maven-bash-completion icon indicating copy to clipboard operation
maven-bash-completion copied to clipboard

Extracting profiles

Open mvardjan opened this issue 9 years ago • 2 comments

Improvements / fixes:

  1. When reading profiles from pom.xml, if the <id> element within <profile> is not in the first line after <profile> then it was not read at all. I have changed this so profile reading is more robust and <id> can be in any line within the profile element. It is still more of a workaround rather than proper parsing of XML file but it does the job.
  2. When the root pom.xml has some modules, their poms are included too. For example, profiles can be specified in a module only and they are not read if only root pom is parsed.

mvardjan avatar Oct 06 '16 23:10 mvardjan

Is this still valid and up to date?

mosabua avatar Apr 21 '20 04:04 mosabua

Yes, the changes are still valid. For description, please see my comment above.

mvardjan avatar Apr 21 '20 09:04 mvardjan