Skip to content

Instantly share code, notes, and snippets.

@j-tim
Created January 27, 2020 21:32
Show Gist options
  • Save j-tim/8f6eecf025adf60f4cbe894fc07ce06a to your computer and use it in GitHub Desktop.
Save j-tim/8f6eecf025adf60f4cbe894fc07ce06a to your computer and use it in GitHub Desktop.
Spring Boot 2.3.0 spring-boot-maven-plugin customize cloud native buildpacks builder
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.0.M1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cloud.native.buildpacks.example</groupId>
<artifactId>cloud-native-buildpacks-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>cloud-native-buildpacks-example</name>
<description>Demo project for Spring Boot</description>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.0.M1</version>
<configuration>
<image>
<builder>someother/cnb-builder</builder>
</image>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment