Added a classifier for the 'repackage' execution defined here and also for the 'default' execution defined in the spring-cloud-build parent pom. Signed-off-by: David Vana <developer@david-vana.cz>
67 lines
1.6 KiB
XML
67 lines
1.6 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>spring-cloud-kubernetes</artifactId>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<version>3.1.6-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>pom</packaging>
|
|
|
|
<artifactId>spring-cloud-kubernetes-controllers</artifactId>
|
|
|
|
<modules>
|
|
<module>spring-cloud-kubernetes-configuration-watcher</module>
|
|
<module>spring-cloud-kubernetes-discoveryserver</module>
|
|
<module>spring-cloud-kubernetes-configserver</module>
|
|
</modules>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<image>
|
|
<name>${env.IMAGE}</name>
|
|
</image>
|
|
<goal>build-image</goal>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>build-image</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>build-image-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>repackage</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
<configuration>
|
|
<classifier>exec</classifier>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
<configuration>
|
|
<classifier>exec</classifier>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|