gzm55 / project-settings-maven-extension

Load a project level settings.xml
Apache License 2.0
25 stars 5 forks source link

Custom profiles in .mvn/settings.xml ignored / not merged #3

Closed eva-mueller-coremedia closed 4 years ago

eva-mueller-coremedia commented 4 years ago

Hi,

I stumbled upon your extension when searching for a possibility to define and persist custom Maven profiles outside the production code.

Unfortunately, profiles won't get merged by this extension and thus are not available. But maybe I configured it wrong?

Are there plans to extend this extension to merge additional profiles via the .mvn/settings.xml?

Thanks in advance

gzm55 commented 4 years ago

profiles in .mvn/settings.xml should already work, at least in my production codes. Could you plz provide more detail info?

eva-mueller-coremedia commented 4 years ago

Hi. Thank you for your quick response.

I fooled myself by defining properties in my new custom profile in .mvn/settings.xml which were not consumed later due to other reasons. Sorry for the superfluous issue.

This extensions works with profiles like a charm 👍