Skip to content

Commit

Permalink
Upgrade package to remove some of the security warning
Browse files Browse the repository at this point in the history
  • Loading branch information
utas-raymondng committed Sep 16, 2024
1 parent 06099d9 commit 219509f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.4</version>
<version>3.3.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>au.org.aodn.ogcapi</groupId>
Expand Down Expand Up @@ -118,7 +118,9 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>elasticsearch</artifactId>
<version>1.19.3</version>
<version>1.20.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mock-server</groupId>
Expand Down
22 changes: 22 additions & 0 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,28 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
<configuration>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<includeOnlyProperties>
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
<includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
</includeOnlyProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
</configuration>
</plugin>
</plugins>
</build>
</project>
6 changes: 6 additions & 0 deletions server/src/main/resources/application-edge.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Show only on edge because we do not have a tag version
spring:
info:
git:
location: "classpath:git.properties"

management:
endpoints:
web:
Expand Down

0 comments on commit 219509f

Please sign in to comment.