You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support-services/gn4/Dockerfile
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,16 @@ RUN sed -i 's#</dependencies>#<dependency><groupId>org.geonetwork-opensource.sch
18
18
RUN sed -i 's#</artifactItems>#<artifactItem><groupId>org.geonetwork-opensource.schemas</groupId><artifactId>gn-schema-dcat-ap</artifactId><type>zip</type><overWrite>false</overWrite><outputDirectory>${schema-plugins.dir}</outputDirectory></artifactItem></artifactItems>#' \
19
19
/app/web/pom.xml
20
20
21
+
# this will use the same version as the parent in the dcat-ap pom
22
+
RUN PARENT_VERSION=$(awk -F'[><]''/<version>/{print $3; exit}' /app/pom.xml) && \
23
+
sed -i "s#<version>4\.4\..*</version>#<version>${PARENT_VERSION}</version>#" \
24
+
/app/schemas/dcat-ap/pom.xml
25
+
26
+
# fix error in ESAPI properties (https://github.com/geonetwork/core-geonetwork/pull/8522)
27
+
RUN sed -i "s#ESAPI.Logger=org.owasp.esapi.logging.log4j.Log4JLogFactory#ESAPI.Logger=org.owasp.esapi.logging.slf4j.Slf4JLogFactory#" \
0 commit comments