Skip to content

Commit e622ae9

Browse files
authored
Merge pull request #264 from aws-samples/graalvm-fix
Fix GraalVM build
2 parents 4333a77 + 76de9ea commit e622ae9

File tree

7 files changed

+11
-11118
lines changed

7 files changed

+11
-11118
lines changed

labs/unicorn-store/software/unicorn-store-spring/pom.xml

+11-8
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
<type>pom</type>
4646
<scope>import</scope>
4747
</dependency>
48+
<dependency><!-- temp fix for https://github.com/spring-projects/spring-data-commons/issues/3025 -->
49+
<groupId>org.springframework.data</groupId>
50+
<artifactId>spring-data-commons</artifactId>
51+
<version>3.2.1</version>
52+
</dependency>
4853
</dependencies>
4954
</dependencyManagement>
5055
<dependencies>
@@ -181,8 +186,6 @@
181186
<buildArgs>
182187
<arg>--verbose</arg>
183188
<arg>-Ob</arg>
184-
<arg>
185-
-H:ReflectionConfigurationFiles=./src/main/resources/META-INF/native-image/reflect-config.json</arg>
186189
<arg>
187190
--initialize-at-build-time=org.apache.commons.logging.LogFactory,org.apache.commons.logging.LogFactoryService</arg>
188191
</buildArgs>
@@ -198,18 +201,18 @@
198201
</plugins>
199202
</build>
200203
</profile>
201-
<profile>
204+
<profile>
202205
<id>soci</id>
203206
<build>
204207
<plugins>
205208
<plugin>
206209
<groupId>org.springframework.boot</groupId>
207210
<artifactId>spring-boot-maven-plugin</artifactId>
208-
<configuration>
209-
<layers>
210-
<enabled>true</enabled>
211-
</layers>
212-
</configuration>
211+
<configuration>
212+
<layers>
213+
<enabled>true</enabled>
214+
</layers>
215+
</configuration>
213216
</plugin>
214217
</plugins>
215218
</build>

labs/unicorn-store/software/unicorn-store-spring/src/main/resources/META-INF/native-image/jni-config.json

-28
This file was deleted.

labs/unicorn-store/software/unicorn-store-spring/src/main/resources/META-INF/native-image/predefined-classes-config.json

-8
This file was deleted.

labs/unicorn-store/software/unicorn-store-spring/src/main/resources/META-INF/native-image/proxy-config.json

-80
This file was deleted.

0 commit comments

Comments
 (0)