Hi Jose,
I tried with your hint from scratch
$ git clone -b 2.10.x --recursive \
git://github.com/geonetwork/core-geonetwork.git geonetwork
$ cd geonetwork
$ git submodule update --init
$ mvn clean install
I get the same error:
[ERROR] Failed to execute goal on project geonetwork-main: Could not resolve
dependencies for project
org.geonetwork-opensource:geonetwork-main:war:2.10.5-SNAPSHOT: Failure to
find marc4j:marc4j:jar:2.3.1 in http://download.osgeo.org/webdav/geotools/
was cached in the local repository, resolution will not be reattempted until
the update interval of geotools has elapsed or updates are forced -> [Help 1]
I tried with the 2.8.x branch, that one compiled fine.
Then I also tried with the 2.11.x branch and there I got this error:
$ git clone -b 2.11.x --recursive \
git://github.com/geonetwork/core-geonetwork.git geonetwork-2.11.x
$ export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=256M"
$ cd geonetwork-2.11.x
$ git submodule update --init
$ mvn clean install
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
project core: There are test failures.
The Maven I use is Apache Maven 3.2.5.
Java version: 1.7.0_55
OpenSUSE 13.1
Regards,
Otto
Am Fri, 6 Mar 2015 09:11:10 +0100
schrieb Jose Garcia <jose.garcia@anonymised.com>:
Hi Otto
I think this is caused due to don't have the submodules initialised.
Execute this command and retry the build:
$ cd geonetwork
$ git submodule update --init
$ mvn clean install
Regards,
Jose García
On Fri, Mar 6, 2015 at 9:05 AM, Otto Dassau <dassau@anonymised.com> wrote:
> Hi,
>
> I try to build a 2.10.5-SNAPSHOT and did
>
> $ git clone -b 2.10.x --recursive \
> git://github.com/geonetwork/core-geonetwork.git geonetwork
> $ cd geonetwork
> $ mvn clean install
>
> I get following error:
>
> [ERROR] Failed to execute goal on project geonetwork-main: Could not
> resolve
> dependencies for project
> org.geonetwork-opensource:geonetwork-main:war:2.10.5-SNAPSHOT: Failure to
> find marc4j:marc4j:jar:2.3.1 in
> http://download.osgeo.org/webdav/geotools/ was cached in the local
> repository, resolution will not be reattempted until
> the update interval of geotools has elapsed or updates are forced ->
> [Help 1]
>
> I am not experienced building geonetwork yet and would be thankful for
> any hint how to fix this.
>
> Kind regards,
> Otto
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub
> for all
> things parallel software development, from weekly thought leadership
> blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
--
Geoinformatikbüro Dassau GmbH
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Fax: +49-211-69937751
Mobile: +49-171-4687540
http://www.gbd-consult.de
Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau
Community Advisor - QGIS Project Steering Committee