spring-properties:generate-xml-properties-metadata

Full name:

io.github.tia-ru:spring-properties-maven-plugin:1.0:generate-xml-properties-metadata

Description:

This goal reads all springframework xml configuration files from the given/specified directories and generate or enhance `META-INF/spring-configuration-metadata.json` that will contain all '${}' properties metadata.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 0.1.
  • Binds by default to the lifecycle phase: generate-resources.

Optional Parameters

Name Type Since Description
<metadataDir> String - A directory where the generated 'spring-configuration-metadata.json' file will be saved
Default: ${project.build.outputDirectory}/META-INF
User Property: spring.properties.metadata.directory
<xmlLocations> List<String> - Root directories to scan for spring xml-files. All project resource directories by default.

Parameter Details

<metadataDir>

A directory where the generated 'spring-configuration-metadata.json' file will be saved
  • Type: java.lang.String
  • Required: No
  • User Property: spring.properties.metadata.directory
  • Default: ${project.build.outputDirectory}/META-INF

<xmlLocations>

Root directories to scan for spring xml-files. All project resource directories by default.
  • Type: java.util.List<java.lang.String>
  • Required: No