Add the Develocity Maven extension
Apache 2.0To integrate the Develocity Maven extension into Maven projects, ensure that the develocity-maven-extension is added to the .mvn/extensions.xml file if not already present. Additionally, configure the extension by adding the .mvn/develocity.xml configuration file.
org. openrewrite. maven. AddDevelocityMavenExtensionRequired
The URL of the Develocity server.
Optional
A maven-compatible version number to select the gradle-enterprise-maven-extension version.
When set to true the extension will be configured to allow unencrypted http connections with the server. If set to false or omitted, the extension will refuse to communicate without transport layer security enabled.
When set to true the extension will capture additional information about the inputs to Maven goals. This increases the size of build scans, but is useful for diagnosing issues with goal caching.
When set to false the extension will not upload build scan in the background. By default, build scans are uploaded in the background after the build has finished to avoid blocking the build process.
When set to Always the extension will publish build scans of every single build. This is the default behavior when omitted.When set to Failure the extension will only publish build scans when the build fails. When set to Demand the extension will only publish build scans when explicitly requested.
mod run . --recipe= org. openrewrite. maven. AddDevelocityMavenExtension \
-P server= https: / / scans. gradle. com/Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.