[Geoserver-devel] gt2-xmlcodegen missing in build

"svn up" gives the following error:

/////////////////////////////////////////////////////////////////

D configuration\release\featureTypes\alaska_alaska
U configuration\release\featureTypes\states\info.xml
U configuration\release\featureTypes\tasmania_water_bodies\info.xml
U configuration\release\featureTypes\tasmania_roads\info.xml
U
configuration\release\featureTypes\tasmania_state_boundaries\info.xml
U configuration\release\featureTypes\tasmania_cities\info.xml
U configuration\release\services.xml
U configuration\release\styles\tiger_roads.sld
A configuration\release\demo\WMS_getMap_inlineFeatureSmile.xml
U configuration\release\catalog.xml
A configuration\release\templates
A configuration\citewcs\templates
A configuration\citewfs-1.1\templates
U
configuration\community-schema\featureTypes\Borehole\BoreholeTest_proper
tie
s.xml
U configuration\community-schema\featureTypes\Borehole\info.xml
U configuration\community-schema\services.xml
U configuration\community-schema\catalog.xml
A configuration\community-schema\templates
D configuration\versioning\demo\01_WFSV_GetFeature.xml
D configuration\versioning\demo\05_WFSV_GetLogArchsites.xml
D configuration\versioning\demo\04_WFSV_GetFeatureLog.xml
D configuration\versioning\demo\03_WFSV_GetFeatureBeforeAfter.xml
D configuration\versioning\demo\02_WFSV_Transaction.xml
A configuration\versioning\demo\WFSV_01_GetFeature.xml
A configuration\versioning\demo\WFSV_05_GetLogArchsites.xml
A configuration\versioning\demo\WFSV_04_GetFeatureLog.xml
A configuration\versioning\demo\WFSV_07_GetReverseDiffArchsites.xml
A configuration\versioning\demo\WFSV_03_GetFeatureBeforeAfter.xml
A configuration\versioning\demo\WFSV_06_GetDiffArchsites.xml
A configuration\versioning\demo\WFSV_09_TransactionVersionAware.xml
A configuration\versioning\demo\WFSV_02_Transaction.xml
A configuration\versioning\demo\WFSV_08_TransactionRollback.xml
A configuration\versioning\templates
A configuration\citewfs\templates
A configuration\minimal\templates
A configuration\citewms\templates

Fetching external item into 'geoserver\web\minimal'
svn: PROPFIND request failed on '/geoserver/trunk/configuration/minimal'
svn: PROPFIND of '/geoserver/trunk/configuration/minimal': could not
connect to
server (http://svn.codehaus.org)

Jerry.

-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: 16 March 2007 15:24
To: Swan Jerry
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] gt2-xmlcodegen missing in build

Hi Jerry,

Thanks!! You just spotted a problem with our build system that we never
caught before. I have fixed the problem so that you should be able to
build. Just do an "svn up" and then try again and it should work ok.

-Justin

Swan Jerry wrote:

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.

----------------------------------------------------------------------
--- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys-and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
DEV _______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,45fa8233224752081064789!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

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.

Swan Jerry ha scritto:

"svn up" gives the following error:

Fetching external item into 'geoserver\web\minimal'
svn: PROPFIND request failed on '/geoserver/trunk/configuration/minimal'
svn: PROPFIND of '/geoserver/trunk/configuration/minimal': could not
connect to
server (http://svn.codehaus.org)

This path is there and working now. You probably just had a temporary connection issue with the server, I suggest to retry the update.

Cheers
Andrea