Skip to content

Commit

Permalink
Merge pull request #37 from aodn/5384-display-version
Browse files Browse the repository at this point in the history
Add version info
  • Loading branch information
utas-raymondng authored Apr 18, 2024
2 parents 7bba833 + f5f665d commit cdf0e64
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions geonetwork/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<artifactId>geonetwork</artifactId>
<packaging>jar</packaging>

<description>AODN customized Geonetwork Instance</description>

<properties>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
Expand Down Expand Up @@ -69,6 +71,13 @@
</dependency>
</dependencies>
<build>
<resources>
<!-- Trigger text replacment in the properties file -->
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!-- Copy missing jar to the target/dependency folder, the Dockerfile will copy everything from there-->
<plugin>
Expand Down
7 changes: 7 additions & 0 deletions geonetwork/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ aodn.geonetwork4.esIndexer.host=${INDEXER_HOST:http://localhost}
aodn.geonetwork4.esIndexer.port=${INDEXER_PORT:80}
aodn.geonetwork4.esIndexer.apikey=${INDEXER_APIKEY}
aodn.geonetwork4.esIndexer.urlIndex=${aodn.geonetwork4.esIndexer.host}:${aodn.geonetwork4.esIndexer.port}/api/v1/indexer/index/{uuid}

management.info.env.enabled=true

# Actuator info point
info.application.name=@project.name@
info.application.description=@project.description@
info.application.version=@project.version@

0 comments on commit cdf0e64

Please sign in to comment.