Hi,

If you declare a dependency on gt-xsd-gml3 in your pom, that should be 
all you need. You also probably to add the opengeo maven repository. The 
following pom will do it:

<project>
...
  <repositories>
   <repository>
    <id>opengeo</id>
    <name>OpenGeo Maven Repository</name>
    <url>http://repo.opengeo.org/</url>
    <snapshots>
     <enabled>true</enabled>
    </snapshots>
   </repository>
  </repositories>
  <dependencies>
   <dependency>
    <groupId>org.geotools.xsd</groupId>
    <artifactId>gt-xsd-gml3</artifactId>
    <version>2.6-SNAPSHOT</version>
   </dependency>
   </dependencies>
  ...
</project>


As for the states.xsd and states.xml files, you can download them from 
our svn repo:

http://svn.osgeo.org/geotools/trunk/modules/extension/xsd/xsd-gml3/src/test/resources/org/geotools/gml3/

Hope that helps.

-Justin

Kalman, Bohdan (IS) wrote:
> Hi,
> 
> I'm trying to follow a GML3 example posted in the GeoTools manual. I 
> have problems with the one from Justin Deoliveira called 
> GML3ParsingTest.java. I can't figure all the libraries required by the 
> example. Does anyone have a POM to run this example? Does anyone have 
> files called states.xsd and states.xml that this example uses?
> 
> I appreciate your help,
> 
> Bohdan Kalman
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to