|
1 | 1 | package io.fabric8.maven.docker.service;
|
2 | 2 |
|
| 3 | +import java.io.BufferedReader; |
| 4 | +import java.io.BufferedWriter; |
| 5 | +import java.io.File; |
| 6 | +import java.io.IOException; |
| 7 | +import java.io.InputStream; |
| 8 | +import java.io.InputStreamReader; |
| 9 | +import java.nio.charset.StandardCharsets; |
| 10 | +import java.nio.file.Files; |
| 11 | +import java.nio.file.Path; |
| 12 | +import java.nio.file.Paths; |
| 13 | +import java.nio.file.StandardCopyOption; |
| 14 | +import java.nio.file.StandardOpenOption; |
| 15 | +import java.util.ArrayList; |
| 16 | +import java.util.Arrays; |
| 17 | +import java.util.Collections; |
| 18 | +import java.util.List; |
| 19 | +import java.util.Map; |
| 20 | +import java.util.Optional; |
| 21 | +import java.util.concurrent.CompletableFuture; |
| 22 | +import java.util.function.BiConsumer; |
| 23 | +import java.util.function.Consumer; |
| 24 | + |
| 25 | +import org.apache.maven.plugin.MojoExecutionException; |
| 26 | + |
3 | 27 | import io.fabric8.maven.docker.access.AuthConfigList;
|
4 | 28 | import io.fabric8.maven.docker.access.DockerAccess;
|
5 | 29 | import io.fabric8.maven.docker.access.util.ExternalCommand;
|
6 | 30 | import io.fabric8.maven.docker.assembly.BuildDirs;
|
7 | 31 | import io.fabric8.maven.docker.assembly.DockerAssemblyManager;
|
8 |
| -import io.fabric8.maven.docker.config.*; |
| 32 | +import io.fabric8.maven.docker.config.AttestationConfiguration; |
| 33 | +import io.fabric8.maven.docker.config.BuildImageConfiguration; |
| 34 | +import io.fabric8.maven.docker.config.BuildXConfiguration; |
| 35 | +import io.fabric8.maven.docker.config.ConfigHelper; |
| 36 | +import io.fabric8.maven.docker.config.ImageConfiguration; |
| 37 | +import io.fabric8.maven.docker.config.SecretConfiguration; |
9 | 38 | import io.fabric8.maven.docker.util.EnvUtil;
|
10 | 39 | import io.fabric8.maven.docker.util.ImageName;
|
11 | 40 | import io.fabric8.maven.docker.util.Logger;
|
12 | 41 | import io.fabric8.maven.docker.util.ProjectPaths;
|
13 |
| -import org.apache.maven.plugin.MojoExecutionException; |
14 |
| - |
15 |
| -import java.io.*; |
16 |
| -import java.nio.charset.StandardCharsets; |
17 |
| -import java.nio.file.*; |
18 |
| -import java.util.*; |
19 |
| -import java.util.concurrent.CompletableFuture; |
20 |
| -import java.util.function.BiConsumer; |
21 |
| -import java.util.function.Consumer; |
22 | 42 |
|
23 | 43 | public class BuildXService {
|
24 | 44 | private static final String DOCKER = "docker";
|
|
0 commit comments