|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <!-- |
| 6 | +/** |
| 7 | + * Licensed to the Apache Software Foundation (ASF) under one |
| 8 | + * or more contributor license agreements. See the NOTICE file |
| 9 | + * distributed with this work for additional information |
| 10 | + * regarding copyright ownership. The ASF licenses this file |
| 11 | + * to you under the Apache License, Version 2.0 (the |
| 12 | + * "License"); you may not use this file except in compliance |
| 13 | + * with the License. You may obtain a copy of the License at |
| 14 | + * |
| 15 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 16 | + * |
| 17 | + * Unless required by applicable law or agreed to in writing, software |
| 18 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 19 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 20 | + * See the License for the specific language governing permissions and |
| 21 | + * limitations under the License. |
| 22 | + */ |
| 23 | + --> |
| 24 | + <modelVersion>4.0.0</modelVersion> |
| 25 | + <parent> |
| 26 | + <artifactId>hbase-kubernetes-deployment</artifactId> |
| 27 | + <groupId>org.apache.hbase.operator.tools</groupId> |
| 28 | + <version>${revision}</version> |
| 29 | + <relativePath>..</relativePath> |
| 30 | + </parent> |
| 31 | + |
| 32 | + <artifactId>hbase-kubernetes-testing-image</artifactId> |
| 33 | + <name>Apache HBase - Kubernetes Testing Image</name> |
| 34 | + <description>A container image to facilitate testing of Kubernetes Deployment.</description> |
| 35 | + <packaging>pom</packaging> |
| 36 | + |
| 37 | + <properties> |
| 38 | + <container_image.platforms>linux/amd64</container_image.platforms> |
| 39 | + </properties> |
| 40 | + |
| 41 | + <dependencies /> |
| 42 | + |
| 43 | + <build> |
| 44 | + <plugins> |
| 45 | + <plugin> |
| 46 | + <groupId>org.codehaus.mojo</groupId> |
| 47 | + <artifactId>exec-maven-plugin</artifactId> |
| 48 | + <configuration> |
| 49 | + <useMavenLogger>true</useMavenLogger> |
| 50 | + </configuration> |
| 51 | + <executions> |
| 52 | + <execution> |
| 53 | + <id>docker-buildx-bake-print</id> |
| 54 | + <goals> |
| 55 | + <goal>exec</goal> |
| 56 | + </goals> |
| 57 | + <phase>package</phase> |
| 58 | + <configuration> |
| 59 | + <executable>/usr/bin/env</executable> |
| 60 | + <arguments> |
| 61 | + <argument>sh</argument> |
| 62 | + <argument>-c</argument> |
| 63 | + <argument> |
| 64 | + 2>&1 \ |
| 65 | + docker buildx bake \ |
| 66 | + --print \ |
| 67 | + --file src/main/docker/docker-bake.hcl \ |
| 68 | + --file src/main/docker/docker-bake.override.hcl |
| 69 | + </argument> |
| 70 | + </arguments> |
| 71 | + </configuration> |
| 72 | + </execution> |
| 73 | + <execution> |
| 74 | + <id>docker-buildx-bake</id> |
| 75 | + <goals> |
| 76 | + <goal>exec</goal> |
| 77 | + </goals> |
| 78 | + <phase>package</phase> |
| 79 | + <configuration> |
| 80 | + <executable>/usr/bin/env</executable> |
| 81 | + <arguments> |
| 82 | + <argument>sh</argument> |
| 83 | + <argument>-c</argument> |
| 84 | + <argument> |
| 85 | + 2>&1 \ |
| 86 | + docker buildx bake \ |
| 87 | + --progress plain \ |
| 88 | + --pull \ |
| 89 | + --load \ |
| 90 | + --set *.platform=${container_image.platforms} \ |
| 91 | + --file src/main/docker/docker-bake.hcl \ |
| 92 | + --file src/main/docker/docker-bake.override.hcl |
| 93 | + </argument> |
| 94 | + </arguments> |
| 95 | + </configuration> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + </plugins> |
| 100 | + </build> |
| 101 | + |
| 102 | + <profiles> |
| 103 | + <profile> |
| 104 | + <id>amd64</id> |
| 105 | + <activation> |
| 106 | + <os> |
| 107 | + <arch>x86_64</arch> |
| 108 | + </os> |
| 109 | + </activation> |
| 110 | + <properties> |
| 111 | + <container_image.platforms>linux/amd64</container_image.platforms> |
| 112 | + </properties> |
| 113 | + </profile> |
| 114 | + <profile> |
| 115 | + <id>arm64</id> |
| 116 | + <activation> |
| 117 | + <os> |
| 118 | + <arch>aarch64</arch> |
| 119 | + </os> |
| 120 | + </activation> |
| 121 | + <properties> |
| 122 | + <container_image.platforms>linux/arm64</container_image.platforms> |
| 123 | + </properties> |
| 124 | + </profile> |
| 125 | + </profiles> |
| 126 | +</project> |
0 commit comments