9/19/2023 0 Comments Java image tools![]() ![]() Example: Given BP_MAVEN_ACTIVE_PROFILES=p1,!p2,?p3, you could activate the p1 profile, deactivate the p2 profile, and optionally activate the p3 profile, without changing BP_MAVEN_BUILD_ARGUMENTS.Īnd similarly, for GRADLE, we support one other environment variable at build-time:.Configures active profiles to pass to the maven build tool it defaults to empty string and can be handy when you want to keep the default BP_MAVEN_BUILD_ARGUMENTS but just need several profiles (de)activated.Example: Given BP_MAVEN_ADDITIONAL_BUILD_ARGUMENTS=-DskipTool, you could disable a plugin, without changing BP_MAVEN_BUILD_ARGUMENTS.Configures additional arguments to pass to the maven build tool it defaults to empty string and can be handy when you want to keep the default BP_MAVEN_BUILD_ARGUMENTS but just need one additional argument.gradlew war or gradle war (depending on the presence of the gradle wrapper).Īdditionally, for MAVEN, we support two other environment variables at build-time: Example: Given BP_GRADLE_BUILD_ARGUMENTS=war, the Paketo Gradle Buildpack will execute.Configures the arguments to pass to the build tool.See component buildpack homepage for details. =true package for Maven, -no-daemon assemble for Gradle). Defaults to a tool-specific value (e.g.Example: Given BP_MAVEN_BUILT_ARTIFACT=out/api-*.jar, the Paketo Maven Buildpack will select a file with name out/api-1.0.0.jar.įor a given build, where is one of MAVEN, GRADLE, LEIN or SBT, the build command can be configured with the following environment variable at build-time:.Supersedes BP_BUILT_MODULE if set to a non-default value. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |