-
Notifications
You must be signed in to change notification settings - Fork 77
/
pom.xml
70 lines (62 loc) · 2.5 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.quarkus.images</groupId>
<artifactId>quarkus-images-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>quarkus-binary-s2i</artifactId>
<properties>
<jbang.script>${project.build.sourceDirectory}/io/quarkus/images/Build.java</jbang.script>
<jdock.alias></jdock.alias>
</properties>
<build>
<plugins>
<plugin>
<groupId>dev.jbang</groupId>
<artifactId>jbang-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<args>
<argument>--dockerfile-dir=${project.basedir}/target/docker</argument>
<argument>--ubi-minimal=${ubi-min.base}</argument>
<argument>--out=quay.io/quarkus/ubi-quarkus-native-binary-s2i:2.0</argument>
<argument>--basedir=${project.basedir}</argument>
<argument>--dry-run=${jdock.dry-run}</argument>
<argument>--alias=${jdock.alias}</argument>
</args>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.quarkus.images</groupId>
<artifactId>jdock</artifactId>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>push</id>
<properties>
<jbang.script>${project.build.sourceDirectory}/io/quarkus/images/Push.java</jbang.script>
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
<jdock.alias>quay.io/quarkus/ubi-quarkus-native-binary-s2i:2.0-${maven.build.timestamp}</jdock.alias>
</properties>
</profile>
</profiles>
</project>