microsoft / azure-pipelines-yaml

Azure Pipelines YAML examples, templates, and community interaction
MIT License
1.21k stars 934 forks source link

Use options instead of mavenOptions for Maven task #491

Closed winniehell closed 4 years ago

winniehell commented 4 years ago

This avoids overriding the globally defined MAVEN_OPTS which breaks caching for example (https://docs.microsoft.com/en-us/azure/devops/pipelines/release/caching?view=azure-devops#maven).

winniehell commented 4 years ago

I'm going to close this because it seems like even with this change, the MAVEN_OPTS from the caching snippet are not recognized. :disappointed:

winniehell commented 4 years ago

I created https://github.com/MicrosoftDocs/azure-devops-docs/pull/8142 now to update the documentation.