Cory Horner ha scritto:
> mvn 2.0.6
> java 1.4.2_13
> windoze xp
> [INFO] [gt2-jar-collector:collect {execution: default}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at org.geotools.maven.JarCollector.collect(JarCollector.java:135)
> at org.geotools.maven.JarCollector.execute(JarCollector.java:99)
> at
Well, NPE in the jar collector, triggered inside the postgis-versioned module
build. I don't have any idea why, postgis versioned pom does not have anything
special... ah, besides the fact that it depends on a test jar from the postgis
module, and it's probably the only module having such kind of dependency.
For those of you left wondering, it's possible to make maven build a jar
out of the test sources, and have other modules depend on that test jar.
This is how postgis-versioned reuses the postgis test classes to make sure
transparent versioning works just like a non versioned data store.
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel