I get the maven log below when attempting to build geoserver.
The seemingly relavent maven-metadata-central.xml file in the maven
repository is:
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.geotools.maven</groupId>
<artifactId>gt2-xmlcodegen</artifactId>
<version>LATEST</version>
</metadata>
The closest match I can find by websearch is
gt2-xmlcodegen-2.4-SNAPSHOT.jar
Is this suitable?
Should I be attempting to manually install this file?
Is the absence of this file simply an artefact of some higher-level
problem?
Any advice greatly appreciated.
Regards,
Jerry.
////////////////////////////////////////////////////////////////
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Maven Default Project
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing po
m.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Mar 16 11:24:09 GMT 2007
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
C:\sw_dev\java\geoserver-1.5.0-rc2>cd trunk
C:\sw_dev\java\geoserver-1.5.0-rc2\trunk>mvn compile
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Maven Default Project
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing po
m.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Mar 16 11:24:17 GMT 2007
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
C:\sw_dev\java\geoserver-1.5.0-rc2\trunk>dir
Volume in drive C has no label.
Volume Serial Number is 35DD-2A50
Directory of C:\sw_dev\java\geoserver-1.5.0-rc2\trunk
13/03/2007 11:44 <DIR> .
13/03/2007 11:44 <DIR> ..
14/03/2007 13:50 <DIR> configuration
14/03/2007 13:50 <DIR> geoserver
0 File(s) 0 bytes
4 Dir(s) 232,155,832,320 bytes free
C:\sw_dev\java\geoserver-1.5.0-rc2\trunk>cd geoserver
C:\sw_dev\java\geoserver-1.5.0-rc2\trunk\geoserver>mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GeoServer
[INFO] GeoServer Maven Plugins
[INFO] Plugins configuration files
[INFO] Configuration Deployment PlugIn
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Open Web Service Model
[INFO] Open Web Service Module
[INFO] Main Module
[INFO] Web Coverage Service Module
[INFO] Web Feature Service Model
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] Web Application Module
[INFO] Test Module
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building GeoServer
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT:
checking for
updates from codehaus-snapshot-plugins
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT:
checking for
updates from refractions
[INFO] snapshot org.codehaus.mojo:mojo:10-SNAPSHOT: checking for updates
from co
dehaus-snapshot-plugins
[INFO] snapshot org.codehaus.mojo:mojo:10-SNAPSHOT: checking for updates
from re
fractions
[INFO] No goals needed for project - skipping
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building GeoServer Maven Plugins
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] No goals needed for project - skipping
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Plugins configuration files
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for up
dates from mortbay-repo
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for upd
ates from mortbay-repo
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overridin
g broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the loc
al scope.
[INFO] snapshot org.geotools:gt2-api:2.4-SNAPSHOT: checking for updates
from ref
ractions
[INFO] snapshot org.geotools:gt2-library:2.4-SNAPSHOT: checking for
updates from
refractions
[INFO] snapshot org.geotools:gt2-modules:2.4-SNAPSHOT: checking for
updates from
refractions
[INFO] snapshot org.geotools:gt2:2.4-SNAPSHOT: checking for updates from
refract
ions
[INFO] snapshot org.opengis:geoapi-nogenerics:2.1-SNAPSHOT: checking for
updates
from refractions
[INFO] snapshot org.opengis:parent:2.1-SNAPSHOT: checking for updates
from refra
ctions
[INFO] snapshot org.geotools:gt2-referencing:2.4-SNAPSHOT: checking for
updates
from refractions
[INFO] snapshot org.geotools:gt2-metadata:2.4-SNAPSHOT: checking for
updates fro
m refractions
[INFO] snapshot org.geotools:gt2-main:2.4-SNAPSHOT: checking for updates
from re
fractions
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Configuration Deployment PlugIn
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] artifact org.apache.maven.plugins:maven-plugin-plugin: checking
for updat
es from mortbay-repo
[WARNING]
Artifact org.apache.maven:maven-artifact-manager:jar:2.0:runtime
retains
local scope 'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the loc
al scope.
[WARNING]
Artifact
org.apache.maven:maven-plugin-tools-api:jar:2.0.5:runtime retai
ns local scope 'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the loc
al scope.
[WARNING]
Artifact org.apache.maven:maven-plugin-api:jar:2.0:runtime
retains local
scope 'runtime' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the loc
al scope.
[INFO] [plugin:descriptor]
[INFO] Using 3 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 0 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying extractor for language: ant
[INFO] Extractor for language: ant found 2 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Core Platform Module
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Data Module
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Open Web Service Model
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://www.ibiblio.org/maven2/org/eclipse/emf/common/2.2.1/common-2
.2.1.pom
[WARNING] Unable to get resource from repository ibiblio
(http://www.ibiblio.org
/maven2)
Downloading:
http://maven.geotools.fr/repository//org.eclipse.emf/poms/common-2.
2.1.pom
[WARNING] Unable to get resource from repository geotools
(http://maven.geotools
.fr/repository/)
Downloading:
http://lists.refractions.net/m2//org/eclipse/emf/common/2.2.1/commo
n-2.2.1.pom
[WARNING] Unable to get resource from repository refractions
(http://lists.refra
ctions.net/m2/)
Downloading:
http://maven.espace.ird.nc/org/eclipse/emf/common/2.2.1/common-2.2.
1.pom
[WARNING] Unable to get resource from repository espace
(http://maven.espace.ird
.nc)
Downloading:
http://www.mortbay.org/maven2/release/org/eclipse/emf/common/2.2.1/
common-2.2.1.pom
[WARNING] Unable to get resource from repository mortbay
(http://www.mortbay.org
/maven2/release)
Downloading:
http://repo1.maven.org/maven2/org/eclipse/emf/common/2.2.1/common-2
.2.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building Open Web Service Module
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
-
---
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.geotools.maven:gt2-xmlcodegen' does not exist or
no valid
version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 24 seconds
[INFO] Finished at: Fri Mar 16 11:24:50 GMT 2007
[INFO] Final Memory: 10M/20M
[INFO]
------------------------------------------------------------------------
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.