Hello, I'm following instructions from
http://docs.codehaus.org/display/GEOSDOC/Developers+Guide
to build Geoserver from source.
First I tried
https://svn.codehaus.org/geoserver/branches/1.5.x
Compilation failed - Geoserver references version "2.3.2-SNAPSHOT" of
geotools, but this version doesn't occur at
http://maven.geotools.fr/repository. (There is 2.3.1-SNAPSHOT and
2.4.0-SNAPSHOT.)
Then I tried
https://svn.codehaus.org/geoserver/tags/1.5.0
as well. Again compilation failed, because of
[WARNING] POM for 'org.geotools:gt2-api:pom:2.4-SNAPSHOT:compile' is
invalid. It will be ignored for artifact
resolution. Reason: Failed to validate POM
A little research showed that org.geotools:gt2-api:pom:2.4-SNAPSHOT expects
its parent pom to set the required version of its dependencies
javax.media:jai_core,jai_codec,jai_imageio. Making a qualified guess and
adding the missing declarations to org.geotools:gt2:pom:2.4-SNAPSHOT only
revealed other compilation problems, so I gave up.
Eventually I tried
http://downloads.sourceforge.net/geoserver/geoserver-1.5.0-src.zip
There were still problems (modul "maven" is missing, I just removed the
reference; missing dependencies), that I could solve. But still it bothers
me that clearly this source package is not what has been used to build the
corresponding binary package (The "maven" subdirectory may have been removed
for some reason. But that doesn't explain the missing dependencies in
various .pom files).
Please, can someone explain to me how to build the current stable Geoserver
from the source code repository ?
--
View this message in context: http://www.nabble.com/errors-on-'mvn-compile'%2C-regardless-wheather-tag-1.5.0-or-1.5.x-head-tf3763621.html#a10638761
Sent from the GeoServer - Dev mailing list archive at Nabble.com.