
This commit modifies the integration tests for the Maven and Gradle image building goal and task to use a custom builder as a test harness to verify that the plugins invoke the builder as expected. Fixes gh-25838
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<?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>
|
|
<groupId>org.springframework.boot.maven.it</groupId>
|
|
<artifactId>build-image-v2-builder</artifactId>
|
|
<version>0.0.1.BUILD-SNAPSHOT</version>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>@java.version@</maven.compiler.source>
|
|
<maven.compiler.target>@java.version@</maven.compiler.target>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>@project.groupId@</groupId>
|
|
<artifactId>@project.artifactId@</artifactId>
|
|
<version>@project.version@</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build-image</goal>
|
|
</goals>
|
|
<configuration>
|
|
<image>
|
|
<builder>projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.1</builder>
|
|
<runImage>projects.registry.vmware.com/springboot/run:tiny-cnb</runImage>
|
|
</image>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|