Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document pom.xml plugin inheritance mechanism #11536

Closed
lukaseder opened this issue Feb 26, 2021 · 0 comments
Closed

Document pom.xml plugin inheritance mechanism #11536

lukaseder opened this issue Feb 26, 2021 · 0 comments

Comments

@lukaseder
Copy link
Member

It could be useful to document how Maven's plugin configuration inheritance works, in the manual:
https://maven.apache.org/pom.html#Plugins

For example, if more than 1 code generation run is defined, then declare:

<pluginManagement>
  ...
  <configuration>
    <generator>
      <database>
        <forcedTypes>
          ...

And in the actual plugin execution configurations, do:

<plugin>
  ...
  <configuration>
    <generator>
      <database>
        <forcedTypes combine.children="append">
          ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant