mcr wrote: > Another question regarding this module: > > http://docs.codehaus.org/display/GEOTOOLS/Image+Mosaicing+Pyramidal+JDBC+Plugin > > The Online Tests need the the jdbc jars for oracle,db2,postgis and mysql. > > 1) For Oracle I found > http://docs.codehaus.org/display/GEOT/4+Oracle+Optional+Dependency > > The dummy-spatial driver is not enough for testing. What should I do ? > You are going to have to be mean; there is no way we can put the oracle driver on our repository; what we can do is engage a profile that only runs oracle tests if the real driver is available. If you can check the existing oracle/pom.xml for examples of how this is done. Sorry this one is not easy; I do wish oracle would play nice with open source project needs.
As I remember: 1. developer needs to install the jdbc driver jars into their local repository 2. A command line swith is included when running mvn 3. oracle/pom.xml checks the command line switch and includes the real jars 4. oracle/pom.xml checks the command line switch and runs the tests If the switch is thrown the other way oracle/pom.xml uses the dummy jars and just compiles (with no tests). > 2) postgis and mysql drivers are downloaded during the install and are in the > maven repository, no problem > > 3) db2jcc.jar and db2jcc_license_cu.jar are not in the maven repository. At > the moment I copied these files in my lib/ext dir, bad solution. > > You can talk to David Adler; and check out what the db2 module does for guidance. IBM has been nice about working with open source so you may be able to deploy these jars to the maven respository; if not you will need a solution similar to what has been done for oracle. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel