From: Oliver L. <see...@gm...> - 2006-04-07 06:20:58
|
Thank you Cory! [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Geotools 2 ............................................ SUCCESS [ 1.297s] [INFO] Maven plugins for Geotools 2 .......................... SUCCESS [ 0.016s] [INFO] JAR files collector ................................... SUCCESS [ 46.532s] [INFO] Cross-modules javadoc ................................. SUCCESS [ 5.985s] [INFO] OpenOffice IDL to Java ................................ SUCCESS [ 1.234s] [INFO] JJTree and JavaCC compilers plugin .................... SUCCESS [ 1.704s] [INFO] RMI compiler (rmic) ................................... SUCCESS [ 1.656s] [INFO] UNO packager for OpenOffice addins .................... SUCCESS [ 1.312s] [INFO] Geotools modules ...................................... SUCCESS [ 0.235s] [INFO] Referencing services .................................. SUCCESS [ 43.329s] [INFO] API interfaces ........................................ SUCCESS [ 6.657s] [INFO] Grid Coverage module .................................. SUCCESS [ 24.079s] [INFO] Main module ........................................... SUCCESS [ 49.392s] [INFO] Render ................................................ SUCCESS [ 6.969s] [INFO] Legacy module ......................................... SUCCESS [ 17.250s] [INFO] Geotools extensions ................................... SUCCESS [ 0.313s] [INFO] Swing widgets ......................................... SUCCESS [ 22.360s] [INFO] Migrate module ........................................ SUCCESS [ 23.938s] [INFO] Sample data module .................................... SUCCESS [ 2.438s] [INFO] SVG support ........................................... SUCCESS [ 3.422s] [INFO] Geotools plugins ...................................... SUCCESS [ 0.031s] [INFO] WorldImage datasource module .......................... SUCCESS [ 11.329s] [INFO] ArcGrid datasource module ............................. SUCCESS [ 11.828s] [INFO] ArcSDE datasource module .............................. SUCCESS [ 8.532s] [INFO] DB2 Spatial Extender module ........................... SUCCESS [ 6.469s] [INFO] EPSG Authority Service using HSQL database ............ SUCCESS [1: 40.893 s] [INFO] Shapefile module ...................................... SUCCESS [ 8.360s] [INFO] GML module ............................................ SUCCESS [ 2.094s] [INFO] Directory module ...................................... SUCCESS [ 3.828s] [INFO] EPSG Authority Service using MS-Access database ....... SUCCESS [ 1.641s] [INFO] EPSG Authority Service using PostgreSQL database ...... SUCCESS [ 1.609s] [INFO] EPSG Authority Service using WKT file ................. SUCCESS [ 11.501s] [INFO] GeoMedia datastore implementation ..................... SUCCESS [ 2.312s] [INFO] GeoTIFF grid coverage exchange module ................. SUCCESS [ 11.391s] [INFO] GTopo30 datasource module ............................. SUCCESS [ 4.375s] [INFO] HSQL datasource module ................................ SUCCESS [ 14.235s] [INFO] MapInfo MIF format module ............................. SUCCESS [ 13.469s] [INFO] MySQL DataStore Implementation ........................ SUCCESS [ 5.688s] [INFO] Oracle Spatial Module ................................. SUCCESS [ 8.187s] [INFO] PostGIS module ........................................ SUCCESS [ 6.813s] [INFO] TIGER/Line 2000 datastore implementation .............. SUCCESS [ 2.031s] [INFO] VPF Plugin ............................................ SUCCESS [ 7.501s] [INFO] Web Map Server client ................................. SUCCESS [ 9.750s] [INFO] WFS client module ..................................... SUCCESS [ 8.985s] [INFO] Brewer module ......................................... SUCCESS [ 7.937s] [INFO] Feature Based Graphs and Networks ..................... SUCCESS [ 18.579s] [INFO] GO-1 implementation ................................... SUCCESS [ 2.141s] [INFO] Bridges to OpenOffice suite ........................... SUCCESS [ 4.437s] [INFO] Pickle module ......................................... SUCCESS [ 3.954s] [INFO] Indexed shapefile module .............................. SUCCESS [ 58.033s] [INFO] Renderer optimized for shapefiles ..................... SUCCESS [ 46.126s] [INFO] Validation Processor and Framework .................... SUCCESS [ 31.798s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ On 4/6/06, Cory Horner <ch...@re...> wrote: > > Oliver Loe wrote: > > > Seems like we have found the problem. Main was dependent on > > referencing and referencing was depedent on api, but main was also > > dependent on api, so there were 2 dependencies on api, causing a > > conflict. Seems like you cannot have more than one dependency over > > multiple dependencies. > > Fortunately I get to call you guys crazy and just tell you to upgrade > maven. > > I did some experimentation and got the same error as Oliver when using > maven 2.0.2 with gt-2.2.x: > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > [INFO] [jar:jar] > [INFO] Building jar: > c:\java\geotools\2.2.x\plugin\vpf\target\gt2-vpf-2.2-SNAPSHOT.jar > [INFO] [gt2-jar-collector:collect {execution: default}] > [INFO] Copied 1 JAR to parent directory. > [INFO] [install:install] > [INFO] Installing > c:\java\geotools\2.2.x\plugin\vpf\target\gt2-vpf-2.2-SNAPSHOT.jar to > C:\Documents and Settings\Refractions\.m2\repository\org\geotoo > ls\gt2-vpf\2.2-SNAPSHOT\gt2-vpf-2.2-SNAPSHOT.jar > [INFO] > > -------------------------------------------------------------------------= --- > [INFO] Building Web Map Server client > [INFO] task-segment: [clean, install] > [INFO] > > -------------------------------------------------------------------------= --- > [INFO] [clean:clean] > [INFO] Deleting directory c:\java\geotools\2.2.x\plugin\wms\target > [INFO] Deleting directory c:\java\geotools\2.2.x\plugin\wms\target\classe= s > [INFO] Deleting directory > c:\java\geotools\2.2.x\plugin\wms\target\test-classes > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > Compiling 57 source files to > c:\java\geotools\2.2.x\plugin\wms\target\classes > [INFO] > > -------------------------------------------------------------------------= --- > [ERROR] BUILD FAILURE > [INFO] > > -------------------------------------------------------------------------= --- > [INFO] Compilation failure > > c:\java\geotools\2.2.x\plugin\wms\src\org\geotools\data\ows\CRSEnvelope.j= ava:[19,29] > cannot resolve symbol > symbol : class GeneralDirectPosition > location: package geometry > > c:\java\geotools\2.2.x\plugin\wms\src\org\geotools\data\wms\gce\WMSParame= terMaker.java:[29,30] > package org.geotools.parameter does not exist > > > > With either maven 2.0.3 or 2.0.4-SNAPSHOT everyone is happy: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > ------------------------------------------------------------------------ > [INFO] Geotools 2 ............................................ SUCCESS > [1.203s] > [INFO] Maven plugins for Geotools 2 .......................... SUCCESS > [0.016s] > [INFO] JAR files collector ................................... SUCCESS > [2.843s] > [INFO] Cross-modules javadoc ................................. SUCCESS > [2.110s] > [INFO] OpenOffice IDL to Java ................................ SUCCESS > [0.641s] > [INFO] JJTree and JavaCC compilers plugin .................... SUCCESS > [0.922s] > [INFO] RMI compiler (rmic) ................................... SUCCESS > [0.828s] > [INFO] UNO packager for OpenOffice addins .................... SUCCESS > [0.703s] > [INFO] Geotools modules ...................................... SUCCESS > [0.125s] > [INFO] Referencing services .................................. SUCCESS > [19.641s] > [INFO] API interfaces ........................................ SUCCESS > [2.515s] > [INFO] Grid Coverage module .................................. SUCCESS > [12.235s] > [INFO] Main module ........................................... SUCCESS > [20.047s] > [INFO] Render ................................................ SUCCESS > [3.109s] > [INFO] Legacy module ......................................... SUCCESS > [7.391s] > [INFO] Geotools extensions ................................... SUCCESS > [0.015s] > [INFO] Swing widgets ......................................... SUCCESS > [7.032s] > [INFO] Migrate module ........................................ SUCCESS > [11.812s] > [INFO] Sample data module .................................... SUCCESS > [1.703s] > [INFO] SVG support ........................................... SUCCESS > [1.906s] > [INFO] Geotools plugins ...................................... SUCCESS > [0.016s] > [INFO] WorldImage datasource module .......................... SUCCESS > [6.844s] > [INFO] ArcGrid datasource module ............................. SUCCESS > [6.953s] > [INFO] ArcSDE datasource module .............................. SUCCESS > [4.437s] > [INFO] DB2 Spatial Extender module ........................... SUCCESS > [3.047s] > [INFO] EPSG Authority Service using HSQL database ............ SUCCESS > [1:06.453s] > [INFO] Shapefile module ...................................... SUCCESS > [2.907s] > [INFO] GML module ............................................ SUCCESS > [0.938s] > [INFO] Directory module ...................................... SUCCESS > [1.375s] > [INFO] EPSG Authority Service using MS-Access database ....... SUCCESS > [0.765s] > [INFO] EPSG Authority Service using PostgreSQL database ...... SUCCESS > [0.860s] > [INFO] EPSG Authority Service using WKT file ................. SUCCESS > [9.031s] > [INFO] GeoMedia datastore implementation ..................... SUCCESS > [2.391s] > [INFO] GeoTIFF grid coverage exchange module ................. SUCCESS > [6.437s] > [INFO] GTopo30 datasource module ............................. SUCCESS > [1.969s] > [INFO] HSQL datasource module ................................ SUCCESS > [8.500s] > [INFO] MapInfo MIF format module ............................. SUCCESS > [8.297s] > [INFO] MySQL DataStore Implementation ........................ SUCCESS > [2.640s] > [INFO] Oracle Spatial Module ................................. SUCCESS > [4.625s] > [INFO] PostGIS module ........................................ SUCCESS > [3.750s] > [INFO] TIGER/Line 2000 datastore implementation .............. SUCCESS > [1.125s] > [INFO] VPF Plugin ............................................ SUCCESS > [4.344s] > [INFO] Web Map Server client ................................. SUCCESS > [4.609s] > [INFO] WFS client module ..................................... SUCCESS > [3.844s] > [INFO] Brewer module ......................................... SUCCESS > [2.891s] > [INFO] Feature Based Graphs and Networks ..................... SUCCESS > [6.687s] > [INFO] GO-1 implementation ................................... SUCCESS > [0.875s] > [INFO] Bridges to OpenOffice suite ........................... SUCCESS > [1.984s] > [INFO] Pickle module ......................................... SUCCESS > [2.032s] > [INFO] Indexed shapefile module .............................. SUCCESS > [38.593s] > [INFO] Renderer optimized for shapefiles ..................... SUCCESS > [32.375s] > [INFO] Validation Processor and Framework .................... SUCCESS > [19.032s] > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > > > I reverted revision 19036 and modified the parent pom to use: > > maven-clean-plugin 2.1 instead of 2.0 > maven-compiler-plugin 2.0.1 instead of 2.0 > maven-plugin-plugin 2.1 instead of 2.0 > maven-surefire-plugin 2.1.3 instead of 2.1.2 <-- this is essential > (this fixes the bug where maven fails before any test are even run) > > So: everyone upgrade to maven 2.0.3 :) > > Cheers, > Cory. > > |