Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cl-a-us committed Nov 8, 2024
1 parent 5f6d52f commit 1332b7f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
14 changes: 5 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>de.viadee.k8s.testapp</groupId>
<artifactId>k8s-demo-app</artifactId>
<version>0.2.1-SNAPSHOT</version>
<version>0.2.2-SNAPSHOT</version>
<packaging>jar</packaging>

<name>k8s-demo-app</name>
Expand All @@ -14,15 +14,15 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.4</version>
<version>3.3.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>21</java.version>
<hibernate.version>6.4.2.Final</hibernate.version> <!-- https://github.com/spring-projects/spring-boot/issues/39744 -->
<!-- <hibernate.version>6.4.2.Final</hibernate.version> https://github.com/spring-projects/spring-boot/issues/39744 -->
</properties>

<dependencies>
Expand Down Expand Up @@ -55,8 +55,8 @@
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<!-- On update replace version in htmls -->
<version>5.3.2</version>
<!-- On update replace version in htmls (needed for native )-->
<version>5.3.3</version>
</dependency>
</dependencies>

Expand All @@ -66,10 +66,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<!-- &lt;!&ndash; mainClass is used to specify the path to the main method class &ndash;&gt;-->
<mainClass>de.viadee.k8s.testapp.K8sDemoApplication</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.reflection().registerTypeIfPresent(classLoader, "java.util.HashMap$Node"
, MemberCategory.values());

hints.resources().registerPattern("META-INF/resources/webjars/bootstrap/5.3.2/css/bootstrap.min.css");
hints.resources().registerPattern("META-INF/resources/webjars/bootstrap/5.3.2/js/bootstrap.min.js");
hints.resources().registerPattern("META-INF/resources/webjars/bootstrap/5.3.3/css/bootstrap.min.css");
hints.resources().registerPattern("META-INF/resources/webjars/bootstrap/5.3.3/js/bootstrap.min.js");
}
}
}
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<footer>

<script type="text/javascript"
src="webjars/bootstrap/5.3.2/js/bootstrap.min.js"></script>
src="webjars/bootstrap/5.3.3/js/bootstrap.min.js"></script>

</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div th:fragment="header-css">
<!-- this is header-css -->
<link rel="stylesheet" type="text/css"
href="webjars/bootstrap/5.3.2/css/bootstrap.min.css" />
href="webjars/bootstrap/5.3.3/css/bootstrap.min.css" />
<title>K8s Test App</title>
</div>
</head>
Expand Down

0 comments on commit 1332b7f

Please sign in to comment.