Status
This site is outdated!
Subversion
Subversion path:
https://incubator-52n.svn.sourceforge.net/svnroot/incubator-52n/ogcbindings/
configuration file
We store xmlbeans schemas and classes inside the
/ogcbindings
directory of the svn. For example:
/ogcbindings/swe/common/trunk/
for
SweCommon.
If you want to create your own schema module, create a folder at a suitable position. Inside the folder, create a
pom.xml
:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.n52.ogcbindings</groupId>
<artifactId>xmlbeans-bindings</artifactId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.n52.ogcbindings.swe.common</groupId>
<artifactId>common</artifactId>
<version>1.0.0</version>
<name>swe-common--bindings</name>
<url>http://maven.apache.org</url>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>xmlbeans</goal>
</goals>
</execution>
</executions>
<inherited>true</inherited>
<configuration>
<schemaDirectory>
src/main/xsd/1.0.0/
</schemaDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.n52.ogcbindings.ows.gml</groupId>
<artifactId>gml</artifactId>
<version>3.1.1</version>
</dependency>
</dependencies>
</project>
The
most important options are: schemaDirectory which
should be
src/main/xsd/
.
If your schemas need other schemas as dependency, make shure that they are already available as maven module and put them into the dependencies. Maven will recognize them.
--
JanTorbenHeuer - 14 Nov 2007