Skip to content

Commit

Permalink
rename package to avoid artifact name crash
Browse files Browse the repository at this point in the history
  • Loading branch information
utas-raymondng committed Jun 5, 2024
1 parent 726de4f commit 1f0e740
Show file tree
Hide file tree
Showing 39 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ ENV GN_DIR /opt/geonetwork
#

# Override log4j as we need to add our log appear, by default ROOT level is off which is very strange design
COPY ./geonetwork/target/classes/log4j-imos.xml ${GN_DIR}/WEB-INF/classes/log4j2.xml
COPY ./geonetwork/target/classes/log4j-imos-index.xml ${GN_DIR}/WEB-INF/classes/log4j2-index.xml
COPY ./geonetwork-core/target/classes/log4j-imos.xml ${GN_DIR}/WEB-INF/classes/log4j2.xml
COPY ./geonetwork-core/target/classes/log4j-imos-index.xml ${GN_DIR}/WEB-INF/classes/log4j2-index.xml

# Copy our jar to the lib folder so that scan can happens
COPY ./geonetwork/target/geonetwork-*.jar ${GN_DIR}/WEB-INF/lib/
COPY ./geonetwork-core/target/geonetwork4-*.jar ${GN_DIR}/WEB-INF/lib/
COPY ./geonetwork-api/target/geonetwork-api-*.jar ${GN_DIR}/WEB-INF/lib/

COPY ./geonetwork/target/dependency/* ${GN_DIR}/WEB-INF/lib/
COPY ./geonetwork/target/classes/schema_plugins/converter/*.xsl ${GN_DIR}/WEB-INF/data/config/schema_plugins/iso19139/process/
COPY ./geonetwork/target/classes/schema_plugins/converter/*.xsl ${GN_DIR}/WEB-INF/data/config/schema_plugins/iso19115-3.2018/process/
COPY ./geonetwork-core/target/dependency/* ${GN_DIR}/WEB-INF/lib/
COPY ./geonetwork-core/target/classes/schema_plugins/converter/*.xsl ${GN_DIR}/WEB-INF/data/config/schema_plugins/iso19139/process/
COPY ./geonetwork-core/target/classes/schema_plugins/converter/*.xsl ${GN_DIR}/WEB-INF/data/config/schema_plugins/iso19115-3.2018/process/

# Config override
COPY ./geonetwork/target/classes/gnconfig/config-overrides.xml ${GN_DIR}/WEB-INF/
COPY ./geonetwork-core/target/classes/gnconfig/config-overrides.xml ${GN_DIR}/WEB-INF/
2 changes: 1 addition & 1 deletion geonetwork/pom.xml → geonetwork-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>geonetwork4</artifactId>
<artifactId>geonetwork4-core</artifactId>
<packaging>jar</packaging>

<description>AODN customized Geonetwork Instance</description>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<modules>
<module>geonetwork-api</module>
<module>geonetwork</module>
<module>geonetwork-core</module>
</modules>

<properties>
Expand Down

0 comments on commit 1f0e740

Please sign in to comment.