-
Notifications
You must be signed in to change notification settings - Fork 14
/
buildpack.toml
190 lines (160 loc) · 6.9 KB
/
buildpack.toml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# Copyright 2018-2020 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
api = "0.7"
[buildpack]
description = "A Cloud Native Buildpack that builds Maven-based applications from source"
homepage = "https://github.com/paketo-buildpacks/maven"
id = "paketo-buildpacks/maven"
keywords = ["java", "maven", "build-system"]
name = "Paketo Buildpack for Maven"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-buildpacks/maven/blob/main/LICENSE"
[metadata]
include-files = ["LICENSE", "NOTICE", "README.md", "linux/amd64/bin/build", "linux/amd64/bin/detect", "linux/amd64/bin/main", "linux/arm64/bin/build", "linux/arm64/bin/detect", "linux/arm64/bin/main", "buildpack.toml"]
pre-package = "scripts/build.sh"
[[metadata.configurations]]
build = true
default = "-Dmaven.test.skip=true --no-transfer-progress package"
description = "the arguments to pass to Maven"
name = "BP_MAVEN_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
default = ""
description = "the additionnal arguments (appended to BP_MAVEN_BUILD_ARGUMENTS) to pass to Maven"
name = "BP_MAVEN_ADDITIONAL_BUILD_ARGUMENTS"
[[metadata.configurations]]
build = true
default = ""
description = "the active profiles (comma separated: such as: p1,!p2,?p3) to pass to Maven"
name = "BP_MAVEN_ACTIVE_PROFILES"
[[metadata.configurations]]
build = true
default = "target/*.[ejw]ar"
description = "the built application artifact explicitly. Supersedes $BP_MAVEN_BUILT_MODULE"
name = "BP_MAVEN_BUILT_ARTIFACT"
[[metadata.configurations]]
build = true
default = "pom.xml"
description = "the location of the main pom.xml file, relative to the application root"
detect = true
name = "BP_MAVEN_POM_FILE"
[[metadata.configurations]]
build = true
description = "the module to find application artifact in"
name = "BP_MAVEN_BUILT_MODULE"
[[metadata.configurations]]
build = true
default = "false"
description = "use maven daemon"
name = "BP_MAVEN_DAEMON_ENABLED"
[[metadata.configurations]]
build = true
description = "the path to a Maven settings file"
name = "BP_MAVEN_SETTINGS_PATH"
[[metadata.configurations]]
build = true
default = "3"
description = "the Maven version"
name = "BP_MAVEN_VERSION"
[[metadata.configurations]]
build = true
default = ""
description = "colon separated list of glob patterns, matched source files are included"
name = "BP_INCLUDE_FILES"
[[metadata.configurations]]
build = true
default = ""
description = "colon separated list of glob patterns, matched source files are removed"
name = "BP_EXCLUDE_FILES"
[[metadata.configurations]]
build = true
default = "false"
description = "whether to install Yarn/Node binaries based on the presence of a package.json or yarn.lock file"
name = "BP_JAVA_INSTALL_NODE"
[[metadata.configurations]]
build = true
default = ""
description = "configure a project subdirectory to look for `package.json` and `yarn.lock` files"
name = "BP_NODE_PROJECT_PATH"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:apache:maven:3.9.9:*:*:*:*:*:*:*"]
id = "maven"
name = "Apache Maven"
purl = "pkg:generic/apache-maven@3.9.9"
sha256 = "7a9cdf674fc1703d6382f5f330b3d110ea1b512b51f1652846d9e4e8a588d766"
source = "https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-src.tar.gz"
source-sha256 = "8a24c448d4ac397e6b0c019a4d7250068c02d1cdb553299e6bb71c3ccca78b2c"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.tar.gz"
version = "3.9.9"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://www.apache.org/licenses/"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:apache:maven:4.0.0:*:*:*:*:*:*:*"]
id = "maven"
name = "Apache Maven"
purl = "pkg:generic/apache-maven@4.0.0"
sha256 = "9c88de0dd0b63e52dd2132d9808e35c00ea20c8458ba191c63109315d16771bb"
source = "https://repo1.maven.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-2/apache-maven-4.0.0-rc-2-src.tar.gz"
source-sha256 = "c526e965bb9e6d0a5762fed2fe45d136ea9d2ecaefa394e4b1510f4cd31b40ad"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://repo1.maven.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-2/apache-maven-4.0.0-rc-2-bin.tar.gz"
version = "4.0.0"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://www.apache.org/licenses/"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:apache:mvnd:0.9.0:*:*:*:*:*:*:*"]
id = "mvnd"
name = "Apache Maven Daemon"
purl = "pkg:generic/apache-mvnd@0.9.0"
sha256 = "5d33a9a5964905381df1e132a1a4c0cc6e4b7c72f75daa2d799181b68091fe9f"
source = "https://github.com/apache/maven-mvnd/archive/refs/tags/0.9.0.tar.gz"
source-sha256 = "20435e39db7586ab740b3c90b8d209fc6483c67faef77452cea1f0b2b0b85d38"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://github.com/apache/maven-mvnd/releases/download/0.9.0/maven-mvnd-0.9.0-linux-amd64.zip"
version = "0.9.0"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://www.apache.org/licenses/"
[[metadata.dependencies]]
cpes = ["cpe:2.3:a:apache:mvnd:1.0.2:*:*:*:*:*:*:*"]
id = "mvnd"
name = "Apache Maven Daemon"
purl = "pkg:generic/apache-mvnd@1.0.2"
sha256 = "6534ec4565f508e5af38de8bdb0b48e534965fa797591b3f57d88bef64222c4f"
source = "https://github.com/apache/maven-mvnd/archive/refs/tags/1.0.2.tar.gz"
source-sha256 = "a0c3639b065f7ca3c24cbbe02d9d953217b8d0cd7407710bfe647a642bdcdab6"
stacks = ["io.buildpacks.stacks.bionic", "io.paketo.stacks.tiny", "*"]
uri = "https://github.com/apache/maven-mvnd/releases/download/1.0.2/maven-mvnd-1.0.2-linux-amd64.zip"
version = "1.0.2"
[[metadata.dependencies.licenses]]
type = "Apache-2.0"
uri = "https://www.apache.org/licenses/"
[[stacks]]
id = "io.buildpacks.stacks.bionic"
[[stacks]]
id = "io.paketo.stacks.tiny"
[[stacks]]
id = "*"
[[targets]]
arch = "amd64"
os = "linux"
[[targets]]
arch = "arm64"
os = "linux"