Hi,
I am trying to build GeoNetwork 2.6.4, but during “mvn clean” I have the following error :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource … SUCCESS [1.485s]
[INFO] Caching xslt module … SUCCESS [0.010s]
[INFO] Jeeves modules … SUCCESS [0.009s]
[INFO] Oaipmh modules … SUCCESS [0.005s]
[INFO] ArcSDE module (dummy-api) … SUCCESS [0.011s]
[INFO] GeoNetwork Web module … FAILURE [2.642s]
[INFO] GeoServer module … SKIPPED
[INFO] Gast module … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.632s
[INFO] Finished at: Mon Sep 24 11:09:29 CEST 2012
[INFO] Final Memory: 8M/141M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project geonetwork-main: Could not resolve dependencies for project org.geonetwork-opensource:geonetwork-main:war:2.6.4: The following artifacts could not be resolved: org.geonetwork-opensource:jeeves:jar:2.6.4, org.geonetwork-opensource:cachingxslt:jar:2.6.4, org.geonetwork-opensource:oaipmh:jar:2.6.4, org.geonetwork-opensource:dummy-api:jar:2.6.4: Could not find artifact org.geonetwork-opensource:jeeves:jar:2.6.4 in geotools (http://download.osgeo.org/webdav/geotools/) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :geonetwork-main
How to solve this problem ?
Best regards,
Rudy.
Rudy,
Have you changed to the 2.6.x branch? (I assume that you have recently
checked this out from github)
Elgar Storm
On 24 September 2012 21:14, Rudy Commenge <rudywi.devel@anonymised.com> wrote:
Hi,
I am trying to build GeoNetwork 2.6.4, but during "mvn clean" I have the
following error :
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. SUCCESS [1.485s]
[INFO] Caching xslt module ............................... SUCCESS [0.010s]
[INFO] Jeeves modules .................................... SUCCESS [0.009s]
[INFO] Oaipmh modules .................................... SUCCESS [0.005s]
[INFO] ArcSDE module (dummy-api) ......................... SUCCESS [0.011s]
[INFO] GeoNetwork Web module ............................. FAILURE [2.642s]
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.632s
[INFO] Finished at: Mon Sep 24 11:09:29 CEST 2012
[INFO] Final Memory: 8M/141M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project geonetwork-main: Could not resolve
dependencies for project
org.geonetwork-opensource:geonetwork-main:war:2.6.4: The following artifacts
could not be resolved: org.geonetwork-opensource:jeeves:jar:2.6.4,
org.geonetwork-opensource:cachingxslt:jar:2.6.4,
org.geonetwork-opensource:oaipmh:jar:2.6.4,
org.geonetwork-opensource:dummy-api:jar:2.6.4: Could not find artifact
org.geonetwork-opensource:jeeves:jar:2.6.4 in geotools
(http://download.osgeo.org/webdav/geotools/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :geonetwork-main
How to solve this problem ?
Best regards,
Rudy.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
I just tried and it works for me.
According to the " how to compile
<http://trac.osgeo.org/geonetwork/wiki/HowToCompile> "
2.6.4 needs to be built from SVN.
From the "GeoNetwork build 2.5.1 to 2.7.x" section I just did the following
(using Ubuntu 12.04)
$svn co https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/tags/2.6.4
geonetwork
$cd geonetwork
$mvn clean install
and got the following.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] GeoNetwork opensource ................................. SUCCESS
[1.962s]
[INFO] Caching xslt module ................................... SUCCESS
[26.971s]
[INFO] Jeeves modules ........................................ SUCCESS
[10.744s]
[INFO] Oaipmh modules ........................................ SUCCESS
[0.728s]
[INFO] ArcSDE module (dummy-api) ............................. SUCCESS
[0.556s]
[INFO] GeoNetwork Web module ................................. SUCCESS
[1:09.298s]
[INFO] GeoServer module ...................................... SUCCESS
[4.267s]
[INFO] Gast module ........................................... SUCCESS
[10.777s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 5 seconds
[INFO] Finished at: Mon Sep 24 19:45:15 GMT-04:00 2012
[INFO] Final Memory: 115M/693M
[INFO]
------------------------------------------------------------------------
In the past I recall seeing similar issues when attempting to compile (I
believe it was caused by a failed download from the maven repository). I
simply ran "mvn clean install" a second time and it fixed itself Have you
tried running it multiple times?
Note: If trying to build 2.6.5 - it should be built from git however it
currently does not compile due to some issues with the submodules - see the
following
<http://osgeo-org.1560.n6.nabble.com/Application-versioning-seems-a-little-messed-up-on-submodules-td4992707.html#a4992982>
. This is also the reason why the 2.6.x nightly build are getting old....
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-build-2-6-4-branch-tp5003940p5004138.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
YOu have to do a install before a clean. It looks like web depends on opensource:jeeves:jar which has never been built for that version of Geonetwork. So do a install then you can worry about a clean install.
On Mon, Sep 24, 2012 at 11:14 AM, Rudy Commenge <rudywi.devel@anonymised.com> wrote:
Hi,
I am trying to build GeoNetwork 2.6.4, but during “mvn clean” I have the following error :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource … SUCCESS [1.485s]
[INFO] Caching xslt module … SUCCESS [0.010s]
[INFO] Jeeves modules … SUCCESS [0.009s]
[INFO] Oaipmh modules … SUCCESS [0.005s]
[INFO] ArcSDE module (dummy-api) … SUCCESS [0.011s]
[INFO] GeoNetwork Web module … FAILURE [2.642s]
[INFO] GeoServer module … SKIPPED
[INFO] Gast module … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.632s
[INFO] Finished at: Mon Sep 24 11:09:29 CEST 2012
[INFO] Final Memory: 8M/141M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project geonetwork-main: Could not resolve dependencies for project org.geonetwork-opensource:geonetwork-main:war:2.6.4: The following artifacts could not be resolved: org.geonetwork-opensource:jeeves:jar:2.6.4, org.geonetwork-opensource:cachingxslt:jar:2.6.4, org.geonetwork-opensource:oaipmh:jar:2.6.4, org.geonetwork-opensource:dummy-api:jar:2.6.4: Could not find artifact org.geonetwork-opensource:jeeves:jar:2.6.4 in geotools (http://download.osgeo.org/webdav/geotools/) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :geonetwork-main
How to solve this problem ?
Best regards,
Rudy.
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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
Ok, It works.
Thanks for your help
2012/9/25 Jesse Eichar <jesse.eichar@anonymised.com>
YOu have to do a install before a clean. It looks like web depends on opensource:jeeves:jar which has never been built for that version of Geonetwork. So do a install then you can worry about a clean install.
On Mon, Sep 24, 2012 at 11:14 AM, Rudy Commenge <rudywi.devel@anonymised.com> wrote:
Hi,
I am trying to build GeoNetwork 2.6.4, but during “mvn clean” I have the following error :
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource … SUCCESS [1.485s]
[INFO] Caching xslt module … SUCCESS [0.010s]
[INFO] Jeeves modules … SUCCESS [0.009s]
[INFO] Oaipmh modules … SUCCESS [0.005s]
[INFO] ArcSDE module (dummy-api) … SUCCESS [0.011s]
[INFO] GeoNetwork Web module … FAILURE [2.642s]
[INFO] GeoServer module … SKIPPED
[INFO] Gast module … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.632s
[INFO] Finished at: Mon Sep 24 11:09:29 CEST 2012
[INFO] Final Memory: 8M/141M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project geonetwork-main: Could not resolve dependencies for project org.geonetwork-opensource:geonetwork-main:war:2.6.4: The following artifacts could not be resolved: org.geonetwork-opensource:jeeves:jar:2.6.4, org.geonetwork-opensource:cachingxslt:jar:2.6.4, org.geonetwork-opensource:oaipmh:jar:2.6.4, org.geonetwork-opensource:dummy-api:jar:2.6.4: Could not find artifact org.geonetwork-opensource:jeeves:jar:2.6.4 in geotools (http://download.osgeo.org/webdav/geotools/) → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :geonetwork-main
How to solve this problem ?
Best regards,
Rudy.
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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