Jody,

I have 10 jar files containing various suites of application schemas (at 
this time mostly GeoSciML 2.0 and dependencies) that I would like to 
have available at GeoTools test time. These are as-published schemas, 
packaged in an implementation-neutral structure. I'd like to upload them 
onto the osgeo maven repo, but I thought I'd better ask first.

GeoTools unit tests are supposed to use only data available offline; the 
idea is that my new app-schema-resolver is smart enough to pick these up 
off the classpath if they are present. This is much, much, *much* better 
than the current anti-pattern of storing extended families of schemas in 
GeoTools svn, and will allow us to readily upgrade our unit tests, and 
avoid obsolete cruft in svn. We'll keep the cruft in maven repos, where 
it belongs.  ;-)

The benefits are:
(1) Dependency management for schemas.
(2) Assurance that schemas are the published version, not locally 
modified copies.

I am not aware of anyone else bundling schemas in maven artifacts in 
this manner (other than those shipped with GeoTools, which have often 
been modified), so I have used the publishers' host-names-reversed for 
the artifacts. I have identified myself as the packager in the poms. 
Artifact naming is guided by XML namespaces, to permit coexistence.

Any objections?

The pom files for these artifacts record the dependencies between them. 
Here is a snippet of the dependency:tree from a module using 
org.geosciml:geosciml-2.0:jar:2.0.2-1 in its test phase.

[INFO] +- org.geosciml:geosciml-2.0:jar:2.0.2-1:test
[INFO] |  +- net.opengis.schemas:gml-3.1:jar:3.1.1-1:test
[INFO] |  |  \- net.opengis.schemas:xlink:jar:1.0.0-1:test
[INFO] |  +- net.opengis.schemas:sampling-1.0:jar:1.0.0-1:test
[INFO] |  |  +- net.opengis.schemas:om-1.0:jar:1.0.0-1:test
[INFO] |  |  |  \- net.opengis.schemas:sensorML-1.0.1:jar:1.0.1-1:test
[INFO] |  |  |     \- net.opengis.schemas:ic-2.0:jar:2.0.0-1:test
[INFO] |  |  \- net.opengis.schemas:sweCommon-1.0.1:jar:1.0.1-1:test
[INFO] |  \- org.geosciml:cgiutilities-1.0:jar:1.0.0-1:test

The artifacts I wish to upload are:

cgiutilities-1.0
geosciml-2.0
gml-3.1
ic-2.0
om-1.0
sampling-1.0
sensorML-1.0.1
sweCommon-1.0.1
xlink
xml

I may have more soon, including, GeoSciML 2.1, and GML 3.2 application 
schemas when we have them.

Kind regards,

-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------

_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to