|
1 | 1 | /*
|
2 |
| - * Copyright 2012-2024 the original author or authors. |
| 2 | + * Copyright 2012-2025 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -107,84 +107,84 @@ public abstract class BuildImageMojo extends AbstractPackagerMojo {
|
107 | 107 | * property.
|
108 | 108 | * @since 2.3.0
|
109 | 109 | */
|
110 |
| - @Parameter(property = "spring-boot.build-image.imageName", readonly = true) |
| 110 | + @Parameter(property = "spring-boot.build-image.imageName") |
111 | 111 | String imageName;
|
112 | 112 |
|
113 | 113 | /**
|
114 | 114 | * Alias for {@link Image#builder} to support configuration through command-line
|
115 | 115 | * property.
|
116 | 116 | * @since 2.3.0
|
117 | 117 | */
|
118 |
| - @Parameter(property = "spring-boot.build-image.builder", readonly = true) |
| 118 | + @Parameter(property = "spring-boot.build-image.builder") |
119 | 119 | String imageBuilder;
|
120 | 120 |
|
121 | 121 | /**
|
122 | 122 | * Alias for {@link Image#trustBuilder} to support configuration through command-line
|
123 | 123 | * property.
|
124 | 124 | */
|
125 |
| - @Parameter(property = "spring-boot.build-image.trustBuilder", readonly = true) |
| 125 | + @Parameter(property = "spring-boot.build-image.trustBuilder") |
126 | 126 | Boolean trustBuilder;
|
127 | 127 |
|
128 | 128 | /**
|
129 | 129 | * Alias for {@link Image#runImage} to support configuration through command-line
|
130 | 130 | * property.
|
131 | 131 | * @since 2.3.1
|
132 | 132 | */
|
133 |
| - @Parameter(property = "spring-boot.build-image.runImage", readonly = true) |
| 133 | + @Parameter(property = "spring-boot.build-image.runImage") |
134 | 134 | String runImage;
|
135 | 135 |
|
136 | 136 | /**
|
137 | 137 | * Alias for {@link Image#cleanCache} to support configuration through command-line
|
138 | 138 | * property.
|
139 | 139 | * @since 2.4.0
|
140 | 140 | */
|
141 |
| - @Parameter(property = "spring-boot.build-image.cleanCache", readonly = true) |
| 141 | + @Parameter(property = "spring-boot.build-image.cleanCache") |
142 | 142 | Boolean cleanCache;
|
143 | 143 |
|
144 | 144 | /**
|
145 | 145 | * Alias for {@link Image#pullPolicy} to support configuration through command-line
|
146 | 146 | * property.
|
147 | 147 | */
|
148 |
| - @Parameter(property = "spring-boot.build-image.pullPolicy", readonly = true) |
| 148 | + @Parameter(property = "spring-boot.build-image.pullPolicy") |
149 | 149 | PullPolicy pullPolicy;
|
150 | 150 |
|
151 | 151 | /**
|
152 | 152 | * Alias for {@link Image#publish} to support configuration through command-line
|
153 | 153 | * property.
|
154 | 154 | */
|
155 |
| - @Parameter(property = "spring-boot.build-image.publish", readonly = true) |
| 155 | + @Parameter(property = "spring-boot.build-image.publish") |
156 | 156 | Boolean publish;
|
157 | 157 |
|
158 | 158 | /**
|
159 | 159 | * Alias for {@link Image#network} to support configuration through command-line
|
160 | 160 | * property.
|
161 | 161 | * @since 2.6.0
|
162 | 162 | */
|
163 |
| - @Parameter(property = "spring-boot.build-image.network", readonly = true) |
| 163 | + @Parameter(property = "spring-boot.build-image.network") |
164 | 164 | String network;
|
165 | 165 |
|
166 | 166 | /**
|
167 | 167 | * Alias for {@link Image#createdDate} to support configuration through command-line
|
168 | 168 | * property.
|
169 | 169 | * @since 3.1.0
|
170 | 170 | */
|
171 |
| - @Parameter(property = "spring-boot.build-image.createdDate", readonly = true) |
| 171 | + @Parameter(property = "spring-boot.build-image.createdDate") |
172 | 172 | String createdDate;
|
173 | 173 |
|
174 | 174 | /**
|
175 | 175 | * Alias for {@link Image#applicationDirectory} to support configuration through
|
176 | 176 | * command-line property.
|
177 | 177 | * @since 3.1.0
|
178 | 178 | */
|
179 |
| - @Parameter(property = "spring-boot.build-image.applicationDirectory", readonly = true) |
| 179 | + @Parameter(property = "spring-boot.build-image.applicationDirectory") |
180 | 180 | String applicationDirectory;
|
181 | 181 |
|
182 | 182 | /**
|
183 | 183 | * Alias for {@link Image#imagePlatform} to support configuration through command-line
|
184 | 184 | * property.
|
185 | 185 | * @since 3.4.0
|
186 | 186 | */
|
187 |
| - @Parameter(property = "spring-boot.build-image.imagePlatform", readonly = true) |
| 187 | + @Parameter(property = "spring-boot.build-image.imagePlatform") |
188 | 188 | String imagePlatform;
|
189 | 189 |
|
190 | 190 | /**
|
|
0 commit comments