-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
92 lines (86 loc) · 3.57 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?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>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.4</version>
</parent>
<groupId>ooo.sansk.demo</groupId>
<artifactId>buildpacks</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>buildpacks</name>
<description>Project to toy around with buildpacks</description>
<properties>
<java.version>21</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>paketobuildpacks/builder-jammy-tiny:0.0.291</builder>
<env>
<SPRING_PROFILES_ACTIVE>cds</SPRING_PROFILES_ACTIVE>
<!-- <BP_JVM_VERSION>21</BP_JVM_VERSION>-->
<BP_JVM_JLINK_ENABLED>true</BP_JVM_JLINK_ENABLED>
<!-- <BP_JVM_JLINK_ARGS>--no-man-pages --no-header-files --strip-debug --compress=zip-6</BP_JVM_JLINK_ARGS>-->
<!-- <BPL_JVM_CDS_ENABLED>true</BPL_JVM_CDS_ENABLED>-->
<!-- <BP_JVM_CDS_ENABLED>true</BP_JVM_CDS_ENABLED>-->
<!-- <BP_SPRING_AOT_ENABLED>true</BP_SPRING_AOT_ENABLED>-->
<!-- <BPL_SPRING_AOT_ENABLED>true</BPL_SPRING_AOT_ENABLED>-->
</env>
</image>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>podman</id>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<docker>
<host>$DOCKER_HOST</host>
<bindHostToBuilder>true</bindHostToBuilder>
</docker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>