Hi Juan,
I have updated my maven version to 3.8.2
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /opt/maven
Java version: 1.8.0_302, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.17.0-1.el7.elrepo.x86_64", arch: "amd64", family: "unix"
But it is still not working:
[INFO] GeoNetwork common utils ........................... FAILURE [6.718s]
[INFO] Caching xslt module ............................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork domain ................................. SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] GeoNetwork Events ................................. SKIPPED
[INFO] GeoNetwork schema plugins ......................... SKIPPED
[INFO] GeoNetwork schema plugins core .................... SKIPPED
[INFO] GeoNetwork schema plugin for ISO19139/119 standards SKIPPED
[INFO] Index module ...................................... SKIPPED
[INFO] GeoNetwork core ................................... SKIPPED
[INFO] GeoNetwork Events ................................. SKIPPED
[INFO] GeoNetwork schema plugin for Dublin Core records retrieved by CSW SKIPPED
[INFO] GeoNetwork schema plugin for Dublin Core standard . SKIPPED
[INFO] GeoNetwork schema plugin for ISO19110 standard .... SKIPPED
[INFO] GeoNetwork schema plugin for ISO19115-3:2018 standard SKIPPED
[INFO] GeoNetwork CSW server ............................. SKIPPED
[INFO] GeoNetwork harvesters ............................. SKIPPED
[INFO] GeoNetwork health monitor ......................... SKIPPED
[INFO] GeoNetwork Digital Object Identifier (DOI) client . SKIPPED
[INFO] GeoNetwork services ............................... SKIPPED
[INFO] Geonetwork Web Resources 4 Java ................... SKIPPED
[INFO] GeoNetwork INSPIRE Atom ........................... SKIPPED
[INFO] GeoNetwork index using Elasticsearch .............. SKIPPED
[INFO] GeoNetwork dashboard app based on Kibana .......... SKIPPED
[INFO] Release module .................................... SKIPPED
[INFO] gn-messaging ...................................... SKIPPED
[INFO] gn-workers ........................................ SKIPPED
[INFO] WFS features harvester ............................ SKIPPED
[INFO] gn-camelPeriodicProducer .......................... SKIPPED
[INFO] gn-es-test ........................................ SKIPPED
[INFO] GeoNetwork Slave .................................. SKIPPED
[INFO] Tests for schema plugins .......................... SKIPPED
[INFO] GeoNetwork user interface module .................. SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.952s
[INFO] Finished at: Mon Oct 04 06:18:11 UTC 2021
[INFO] Final Memory: 21M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gn-common: Could not resolve dependencies for project org.geonetwork-opensource:gn-common:jar:4.0.6-SNAPSHOT: Failed to collect dependencies for [org.jdom:jdom:jar:1.1.2 (compile), jdbm:jdbm:jar:1.0 (compile), log4j:log4j:jar:1.2.17 (compile), org.apache.jcs:jcs:jar:1.3 (compile), net.sf.saxon:saxon:jar:9.1.0.8b-patch (compile), globus:cog-jglobus:jar:1.2-060802 (compile), xerces:xercesImpl:jar:2.12.0 (compile), xml-resolver:xml-resolver-patched:jar:1.2.1 (compile), jaxen:jaxen:jar:1.1.4 (compile), jsch:jsch:jar:0.1.8 (compile), commons-io:commons-io:jar:2.7 (compile), com.google.guava:guava:jar:29.0-jre (compile), org.quartz-scheduler:quartz:jar:2.3.2 (compile), org.apache.xmlgraphics:fop:jar:2.4 (compile), commons-lang:commons-lang:jar:2.6 (compile), org.apache.httpcomponents:httpclient:jar:4.5.9 (compile), com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3 (compile), org.springframework:spring-web:jar:5.2.6.RELEASE (compile), org.springframework:spring-context:jar:5.2.6.RELEASE (compile), org.springframework:spring-test:jar:5.2.6.RELEASE (compile), org.eclipse.core:org.eclipse.core.runtime:jar:3.7.0 (compile), net.sf.json-lib:json-lib:jar:jdk15:2.4 (compile), xom:xom:jar:1.1 (compile), com.fasterxml.jackson.core:jackson-databind:jar:2.10.4 (compile), org.json:json:jar:20140107 (compile), com.google.code.findbugs:jsr305:jar:2.0.1 (compile), junit:junit:jar:4.13.1 (test), com.google.jimfs:jimfs:jar:1.0 (test)]: Failed to read artifact descriptor for net.sf.saxon:saxon:jar:9.1.0.8b-patch: Could not transfer artifact net.sf.saxon:saxon:pom:9.1.0.8b-patch from/to osgeo (https://repo.osgeo.org/repository/release/): hostname in certificate didn't match: <repo.osgeo.org> != <docker.osgeo.org> OR <docker.osgeo.org> OR <geos-docker.osgeo.org> OR <geoserver-docker.osgeo.org> OR <postgis-docker.osgeo.org> -> [Help 1]
From: Juan Luis Rodríguez Ponce <juanluisrp@...444...>
Sent: Friday, October 1, 2021 16:18
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Geonetwork-Users@...638...
Subject: Re: [GeoNetwork-users] building geonetwork fail [INFO] GeoNetwork common utils ........................... FAILURE
Sorry, with Maven 3.0.5 I got the same error as you. With maven 3.2.5 or 3.8.2 (the other two versions I've tried) it works.
On Fri, Oct 1, 2021 at 4:14 PM Juan Luis Rodríguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>> wrote:
I've tried with maven 3.2.8 and I got the same error as you about the certificate. Using Apache Maven 3.8.2 fixed the problem.
On Fri, Oct 1, 2021 at 12:27 PM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Hi Juan,
I have this version of maven
mvn -version
Apache Maven 3.0.5 (Red Hat 3.0.5-17)
I renamed the folder .m2 but I got the same error again
Should I update maven to the same version you have?
Thanks
Bartolomeo
From: Juan Luis Rodríguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>
Sent: Friday, October 1, 2021 10:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Geonetwork-Users@...638...<mailto:Geonetwork-Users@…638…>
Subject: Re: [GeoNetwork-users] building geonetwork fail [INFO] GeoNetwork common utils ........................... FAILURE
I've tried to follow exactly your steps in the `main` branch and the process has finished successfully (Maven 3.8.2 and an empty .m2 folder):
INFO] GeoNetwork opensource .............................. SUCCESS [01:10 min]
[INFO] GeoNetwork common utils ............................ SUCCESS [02:08 min]
[INFO] Caching xslt module ................................ SUCCESS [ 0.193 s]
[INFO] ArcSDE module (dummy-api) .......................... SUCCESS [ 0.182 s]
[INFO] GeoNetwork domain .................................. SUCCESS [01:08 min]
[INFO] Oaipmh modules ..................................... SUCCESS [ 0.308 s]
[INFO] GeoNetwork Events .................................. SUCCESS [ 0.234 s]
[INFO] GeoNetwork schema plugins .......................... SUCCESS [ 0.011 s]
[INFO] GeoNetwork schema plugins core ..................... SUCCESS [ 3.568 s]
[INFO] GeoNetwork schema plugin for ISO19139/119 standards SUCCESS [ 11.246 s]
[INFO] Index module ....................................... SUCCESS [ 27.643 s]
[INFO] GeoNetwork core .................................... SUCCESS [03:40 min]
[INFO] GeoNetwork Events .................................. SUCCESS [ 0.753 s]
[INFO] GeoNetwork schema plugin for Dublin Core records retrieved by CSW SUCCESS [ 0.135 s]
[INFO] GeoNetwork schema plugin for Dublin Core standard .. SUCCESS [ 0.249 s]
[INFO] GeoNetwork schema plugin for ISO19110 standard ..... SUCCESS [ 0.217 s]
[INFO] GeoNetwork schema plugin for ISO19115-3:2018 standard SUCCESS [ 33.035 s]
[INFO] GeoNetwork CSW server .............................. SUCCESS [ 6.025 s]
[INFO] GeoNetwork harvesters .............................. SUCCESS [ 6.789 s]
[INFO] GeoNetwork health monitor .......................... SUCCESS [ 0.983 s]
[INFO] GeoNetwork Digital Object Identifier (DOI) client .. SUCCESS [ 0.703 s]
[INFO] GeoNetwork services ................................ SUCCESS [ 52.606 s]
[INFO] Geonetwork Web Resources 4 Java .................... SUCCESS [01:03 min]
[INFO] GeoNetwork INSPIRE Atom ............................ SUCCESS [ 3.533 s]
[INFO] GeoNetwork index using Elasticsearch ............... SUCCESS [ 0.004 s]
[INFO] GeoNetwork dashboard app based on Kibana ........... SUCCESS [ 0.028 s]
[INFO] Release module ..................................... SUCCESS [ 0.019 s]
[INFO] gn-messaging ....................................... SUCCESS [ 29.861 s]
[INFO] gn-workers ......................................... SUCCESS [ 0.009 s]
[INFO] WFS features harvester ............................. SUCCESS [ 43.886 s]
[INFO] gn-camelPeriodicProducer ........................... SUCCESS [ 6.141 s]
[INFO] gn-es-test ......................................... SUCCESS [ 1.350 s]
[INFO] GeoNetwork Slave ................................... SUCCESS [ 0.558 s]
[INFO] Tests for schema plugins ........................... SUCCESS [ 0.808 s]
[INFO] GeoNetwork user interface module ................... SUCCESS [ 7.122 s]
[INFO] GeoNetwork Web module .............................. SUCCESS [01:59 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:08 min
[INFO] Finished at: 2021-10-01T08:23:00Z
[INFO] ------------------------------------------------------------------------
Do you have any mirror set in .m2/settings.xml? Can you rename your .m2 folder and try again?
On Fri, Oct 1, 2021 at 8:03 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Hi Juan,
Thanks for your email but I just tried and I got the same error.
Scarica Outlook per Android<https://aka.ms/AAb9ysg>
________________________________
From: Juan Luis Rodríguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>
Sent: Thursday, September 30, 2021 5:00:01 PM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Geonetwork-Users@...638...<mailto:Geonetwork-Users@…638…> <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] building geonetwork fail [INFO] GeoNetwork common utils ........................... FAILURE
It seems a problem with the osgeo.org<http://osgeo.org> artifacts repository:
Could not transfer artifact net.sf.saxon:saxon:pom:9.1.0.8b-patch from/to osgeo (https://repo.osgeo.org/repository/release/): hostname in certificate didn't match: <repo.osgeo.org<http://repo.osgeo.org/>> != <docker.osgeo.org<http://docker.osgeo.org/>> OR <docker.osgeo.org<http://docker.osgeo.org/>> OR <geos-docker.osgeo.org<http://geos-docker.osgeo.org/>> OR <geoserver-docker.osgeo.org<http://geoserver-docker.osgeo.org/>> OR <postgis-docker.osgeo.org<http://postgis-docker.osgeo.org/>> -
It seems fixed now, probably a temporary server condition. I'd suggest you to try again.
On Thu, Sep 30, 2021 at 2:12 PM Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote:
Hi all,
I'm trying to create .war file from the source using maven but I'm getting this error:
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. SUCCESS [3:36.289s]
[INFO] GeoNetwork common utils ........................... FAILURE [2:03.848s]
[INFO] Caching xslt module ............................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork domain ................................. SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] GeoNetwork Events ................................. SKIPPED
[INFO] GeoNetwork schema plugins ......................... SKIPPED
[INFO] GeoNetwork schema plugins core .................... SKIPPED
[INFO] GeoNetwork schema plugin for ISO19139/119 standards SKIPPED
[INFO] Index module ...................................... SKIPPED
[INFO] GeoNetwork core ................................... SKIPPED
[INFO] GeoNetwork Events ................................. SKIPPED
[INFO] GeoNetwork schema plugin for Dublin Core records retrieved by CSW SKIPPED
[INFO] GeoNetwork schema plugin for Dublin Core standard . SKIPPED
[INFO] GeoNetwork schema plugin for ISO19110 standard .... SKIPPED
[INFO] GeoNetwork schema plugin for ISO19115-3:2018 standard SKIPPED
[INFO] GeoNetwork CSW server ............................. SKIPPED
[INFO] GeoNetwork harvesters ............................. SKIPPED
[INFO] GeoNetwork health monitor ......................... SKIPPED
[INFO] GeoNetwork Digital Object Identifier (DOI) client . SKIPPED
[INFO] GeoNetwork services ............................... SKIPPED
[INFO] Geonetwork Web Resources 4 Java ................... SKIPPED
[INFO] GeoNetwork INSPIRE Atom ........................... SKIPPED
[INFO] GeoNetwork index using Elasticsearch .............. SKIPPED
[INFO] GeoNetwork dashboard app based on Kibana .......... SKIPPED
[INFO] Release module .................................... SKIPPED
[INFO] gn-messaging ...................................... SKIPPED
[INFO] gn-workers ........................................ SKIPPED
[INFO] WFS features harvester ............................ SKIPPED
[INFO] gn-camelPeriodicProducer .......................... SKIPPED
[INFO] gn-es-test ........................................ SKIPPED
[INFO] GeoNetwork Slave .................................. SKIPPED
[INFO] Tests for schema plugins .......................... SKIPPED
[INFO] GeoNetwork user interface module .................. SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:40.515s
[INFO] Finished at: Thu Sep 30 09:32:48 UTC 2021
[INFO] Final Memory: 18M/295M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gn-common: Could not resolve dependencies for project org.geonetwork-opensource:gn-common:jar:4.0.6-SNAPSHOT: Failed to collect dependencies for [org.jdom:jdom:jar:1.1.2 (compile), jdbm:jdbm:jar:1.0 (compile), log4j:log4j:jar:1.2.17 (compile), org.apache.jcs:jcs:jar:1.3 (compile), net.sf.saxon:saxon:jar:9.1.0.8b-patch (compile), globus:cog-jglobus:jar:1.2-060802 (compile), xerces:xercesImpl:jar:2.12.0 (compile), xml-resolver:xml-resolver-patched:jar:1.2.1 (compile), jaxen:jaxen:jar:1.1.4 (compile), jsch:jsch:jar:0.1.8 (compile), commons-io:commons-io:jar:2.7 (compile), com.google.guava:guava:jar:29.0-jre (compile), org.quartz-scheduler:quartz:jar:2.3.2 (compile), org.apache.xmlgraphics:fop:jar:2.4 (compile), commons-lang:commons-lang:jar:2.6 (compile), org.apache.httpcomponents:httpclient:jar:4.5.9 (compile), com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3 (compile), org.springframework:spring-web:jar:5.2.6.RELEASE (compile), org.springframework:spring-context:jar:5.2.6.RELEASE (compile), org.springframework:spring-test:jar:5.2.6.RELEASE (compile), org.eclipse.core:org.eclipse.core.runtime:jar:3.7.0 (compile), net.sf.json-lib:json-lib:jar:jdk15:2.4 (compile), xom:xom:jar:1.1 (compile), com.fasterxml.jackson.core:jackson-databind:jar:2.10.4 (compile), org.json:json:jar:20140107 (compile), com.google.code.findbugs:jsr305:jar:2.0.1 (compile), junit:junit:jar:4.13.1 (test), com.google.jimfs:jimfs:jar:1.0 (test)]: Failed to read artifact descriptor for net.sf.saxon:saxon:jar:9.1.0.8b-patch: Could not transfer artifact net.sf.saxon:saxon:pom:9.1.0.8b-patch from/to osgeo (https://repo.osgeo.org/repository/release/): hostname in certificate didn't match: <repo.osgeo.org<http://repo.osgeo.org>> != <docker.osgeo.org<http://docker.osgeo.org>> OR <docker.osgeo.org<http://docker.osgeo.org>> OR <geos-docker.osgeo.org<http://geos-docker.osgeo.org>> OR <geoserver-docker.osgeo.org<http://geoserver-docker.osgeo.org>> OR <postgis-docker.osgeo.org<http://postgis-docker.osgeo.org>> -> [Help 1]
I followed the usual instruction to create it:
git clone --recursive https://github.com/geonetwork/core-geonetwork.git
cd core-geonetwork
mvn clean install -DskipTests
This error appears both using the latest version and using my repo for the 3.11 version.
Any helps would be appreciated.
Thanks.
Bartolomeo
Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>
Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu><http://www.eurac.edu/>
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
Vriendelijke groeten / Kind regards,
Juan Luis Rodríguez.
[Image removed by sender.]<http://www.geocat.net/>
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>
Please consider the environment before printing this email.
--
Vriendelijke groeten / Kind regards,
Juan Luis Rodríguez.
[Image removed by sender.]<http://www.geocat.net/>
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>
Please consider the environment before printing this email.
--
Vriendelijke groeten / Kind regards,
Juan Luis Rodríguez.
[Image removed by sender.]<http://www.geocat.net/>
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>
Please consider the environment before printing this email.
--
Vriendelijke groeten / Kind regards,
Juan Luis Rodríguez.
[Image removed by sender.]<http://www.geocat.net/>
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>
Please consider the environment before printing this email.
(attachments)

