<?xml version="1.0" encoding="UTF-8"?>
|
<!-- =======================================================================
|
Maven Project Configuration File
|
|
The Ximple DgnIO Project
|
http://www.ximple.com.tw/
|
|
Version: $Id$
|
======================================================================= -->
|
<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">
|
<modelVersion>4.0.0</modelVersion>
|
|
<properties>
|
<oracle.jdbc>true</oracle.jdbc>
|
<test.maxHeapSize>512M</test.maxHeapSize>
|
<src.output>${basedir}/target</src.output>
|
<java5>1.5</java5>
|
<xdgnio.version>1.2.0</xdgnio.version>
|
<gt2.version>2.6.2</gt2.version>
|
<failIfNoTests>false</failIfNoTests>
|
</properties>
|
|
<profiles>
|
<profile>
|
<id>java5</id>
|
<reporting>
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
<configuration>
|
<source>1.5</source>
|
</configuration>
|
</plugin>
|
</plugins>
|
</reporting>
|
</profile>
|
<profile>
|
<id>site.ximple.tw</id>
|
<distributionManagement>
|
<site>
|
<id>artifactorysite-ximple-tw</id>
|
<name>Artifactory Web site for Maven reports</name>
|
<url>scp://www.ximple.com.tw/home/www/artfactory/libs-releases@repo</url>
|
</site>
|
</distributionManagement>
|
</profile>
|
</profiles>
|
|
<scm>
|
<connection>
|
scm:svn:http://www.ximple.com.tw/svn/xeofms/xspatialjob/truck/
|
</connection>
|
<url>http://www.ximple.com.tw/svn/xeofms/xspatialjob/truck/</url>
|
</scm>
|
|
<groupId>com.ximple.eofms</groupId>
|
<artifactId>ximple-dgnjobs</artifactId>
|
<packaging>pom</packaging>
|
<version>1.2.0</version>
|
<name>ximple-dgnjobs</name>
|
<url>http://www.ximple.com.tw</url>
|
|
<description>Ximple Spatial Data Job for Quartz</description>
|
|
<organization>
|
<name>Ximple</name>
|
<url>http://www.ximple.com.tw</url>
|
</organization>
|
|
<inceptionYear>2010</inceptionYear>
|
|
<!-- =========================================================== -->
|
<!-- Issue managements and mailing lists. -->
|
<!-- =========================================================== -->
|
<issueManagement>
|
<system>JIRA</system>
|
<url>http://www.ximple.com.tw/jira/browse/EOFMS</url>
|
</issueManagement>
|
|
<!-- =========================================================== -->
|
<!-- Continuous Integration -->
|
<!-- =========================================================== -->
|
<ciManagement>
|
<system>continuum</system>
|
</ciManagement>
|
|
<mailingLists>
|
<mailingList>
|
</mailingList>
|
</mailingLists>
|
|
<developers>
|
<developer>
|
</developer>
|
</developers>
|
|
<contributors>
|
</contributors>
|
|
<!-- =========================================================== -->
|
<!-- Dependency Management -->
|
<!-- If a POM declares one of those dependencies, then it -->
|
<!-- will use the version specified here. Otherwise, those -->
|
<!-- dependencies are ignored. -->
|
<!-- =========================================================== -->
|
<dependencyManagement>
|
<dependencies>
|
<!-- GeoAPI and its dependencies -->
|
<dependency>
|
<groupId>org.opengis</groupId>
|
<artifactId>geoapi</artifactId>
|
<version>2.3-M1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.opengis</groupId>
|
<artifactId>geoapi-dummy-pending</artifactId>
|
<version>2.3-M1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.opengis</groupId>
|
<artifactId>geoapi-pending</artifactId>
|
<version>2.3-M1</version>
|
</dependency>
|
<dependency>
|
<groupId>net.java.dev.jsr-275</groupId>
|
<artifactId>jsr-275</artifactId>
|
<version>1.0-beta-2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.vividsolutions</groupId>
|
<artifactId>jts</artifactId>
|
<version>1.10</version>
|
</dependency>
|
|
<!-- Apache -->
|
<!--
|
<dependency>
|
<groupId>commons-beanutils</groupId>
|
<artifactId>commons-beanutils</artifactId>
|
<version>1.8.2</version>
|
</dependency>
|
-->
|
<dependency>
|
<groupId>commons-collections</groupId>
|
<artifactId>commons-collections</artifactId>
|
<version>3.2.1</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-digester</groupId>
|
<artifactId>commons-digester</artifactId>
|
<version>2.0</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-pool</groupId>
|
<artifactId>commons-pool</artifactId>
|
<version>1.5.4</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-logging</groupId>
|
<artifactId>commons-logging</artifactId>
|
<version>1.1.1</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-transaction</groupId>
|
<artifactId>commons-transaction</artifactId>
|
<version>1.2</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-cli</groupId>
|
<artifactId>commons-cli</artifactId>
|
<version>1.2</version>
|
</dependency>
|
<dependency>
|
<groupId>log4j</groupId>
|
<artifactId>log4j</artifactId>
|
<version>1.2.15</version>
|
<!-- Same as the dependency in commons-logging -->
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>3.6</version>
|
</dependency>
|
|
<!-- geotools -->
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-api</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-main</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-shapefile</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-sample-data</artifactId>
|
<version>${gt2.version}</version>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-data</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-jdbc</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-oracle-spatial</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-postgis</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-mysql</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
|
<!-- because main and sample-data depend on referencing we need a tie breaker -->
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-referencing</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.jdom</groupId>
|
<artifactId>jdom</artifactId>
|
<version>1.1</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.velocity</groupId>
|
<artifactId>velocity</artifactId>
|
<version>1.6.3</version>
|
</dependency>
|
|
<!-- We need this to make the referencing module useful -->
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-epsg-hsql</artifactId>
|
<version>${gt2.version}</version>
|
<scope>test</scope>
|
</dependency>
|
|
<!-- ORACLE -->
|
<!-- Download and install into your own repo -->
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>ojdbc5</artifactId>
|
<version>11.1.0.7.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>sdoapi</artifactId>
|
<version>11.1.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>sdotype</artifactId>
|
<version>11.1.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>sdoutl</artifactId>
|
<version>11.1.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>postgresql</groupId>
|
<artifactId>postgresql</artifactId>
|
<version>8.4-701.jdbc3</version>
|
</dependency>
|
<dependency>
|
<groupId>org.postgis</groupId>
|
<artifactId>postgis-driver</artifactId>
|
<version>1.5.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>5.1.12</version>
|
</dependency>
|
|
<!-- quartz-scheduler-->
|
<dependency>
|
<groupId>org.quartz-scheduler</groupId>
|
<artifactId>quartz</artifactId>
|
<version>1.7.3</version>
|
</dependency>
|
<dependency>
|
<groupId>org.awl</groupId>
|
<artifactId>awl</artifactId>
|
<version>1.1.0-rc</version>
|
</dependency>
|
|
<!-- Tests or legacy -->
|
<dependency>
|
<groupId>org.testng</groupId>
|
<artifactId>testng</artifactId>
|
<version>5.11</version>
|
<classifier>jdk15</classifier>
|
<scope>test</scope>
|
</dependency>
|
</dependencies>
|
</dependencyManagement>
|
|
<!-- =========================================================== -->
|
<!-- Dependencies to be inherited by all modules. -->
|
<!-- =========================================================== -->
|
<dependencies>
|
<dependency>
|
<groupId>org.opengis</groupId>
|
<artifactId>geoapi</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.opengis</groupId>
|
<artifactId>geoapi-dummy-pending</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.opengis</groupId>
|
<artifactId>geoapi-pending</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>net.java.dev.jsr-275</groupId>
|
<artifactId>jsr-275</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>com.vividsolutions</groupId>
|
<artifactId>jts</artifactId>
|
</dependency>
|
|
<!-- Apache -->
|
<dependency>
|
<artifactId>commons-collections</artifactId>
|
<groupId>commons-collections</groupId>
|
</dependency>
|
<dependency>
|
<groupId>commons-digester</groupId>
|
<artifactId>commons-digester</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>commons-pool</groupId>
|
<artifactId>commons-pool</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>commons-logging</groupId>
|
<artifactId>commons-logging</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>commons-transaction</groupId>
|
<artifactId>commons-transaction</artifactId>
|
</dependency>
|
<dependency>
|
<artifactId>log4j</artifactId>
|
<groupId>log4j</groupId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-api</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-main</artifactId>
|
</dependency>
|
|
<dependency>
|
<artifactId>testng</artifactId>
|
<groupId>org.testng</groupId>
|
<classifier>jdk15</classifier>
|
<scope>test</scope>
|
</dependency>
|
</dependencies>
|
|
<!-- =========================================================== -->
|
<!-- Build Configuration -->
|
<!-- =========================================================== -->
|
<build>
|
<!-- ========================================================= -->
|
<!-- Maven plugins dependencies management. -->
|
<!-- It should not be needed since Maven select by default -->
|
<!-- the latest plugins. Unfortunatly, experience shows that -->
|
<!-- new plugin releases sometime introduce new bugs that -->
|
<!-- break our build. So it is saferto specify plugin -->
|
<!-- versions that are known to work. This list is in -->
|
<!-- alphabetical order for easier comparaison with latest -->
|
<!-- plugins at -->
|
<!-- http://www.ibiblio.org/maven2/org/apache/maven/plugins/ -->
|
<!-- ========================================================= -->
|
<pluginManagement>
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
<version>2.5</version>
|
</plugin>
|
</plugins>
|
</pluginManagement>
|
|
<!-- http://www.ibiblio.org/maven2/org/apache/maven/wagon/ -->
|
<extensions>
|
<extension>
|
<groupId>org.apache.maven.wagon</groupId>
|
<artifactId>wagon-webdav</artifactId>
|
<version>1.0-beta-2</version>
|
</extension>
|
</extensions>
|
|
<plugins>
|
<!-- ======================================================= -->
|
<!-- Source reformat -->
|
<!-- (activated only on request, jalopy:format) -->
|
<!-- See developer's guide for automated activation -->
|
<!-- ======================================================= -->
|
<plugin>
|
<groupId>org.codehaus.mojo</groupId>
|
<artifactId>jalopy-maven-plugin</artifactId>
|
<configuration>
|
<convention>gt2/jalopygeotools.xml</convention>
|
<failOnError>false</failOnError>
|
</configuration>
|
<dependencies>
|
<dependency>
|
<groupId>org.geotools.maven</groupId>
|
<artifactId>gt2-build-configs</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
</dependencies>
|
</plugin>
|
|
|
<!-- ======================================================= -->
|
<!-- Compilation. -->
|
<!-- ======================================================= -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<configuration>
|
<source>1.5</source>
|
<!-- The -source argument for the Java compiler. -->
|
<target>1.5</target>
|
<!-- The -target argument for the Java compiler. -->
|
<debug>true</debug>
|
<!-- Whether to include debugging information. -->
|
<encoding>ISO-8859-1</encoding>
|
<!-- The -encoding argument for the Java compiler. -->
|
</configuration>
|
</plugin>
|
|
|
<!-- ======================================================= -->
|
<!-- Tests. -->
|
<!-- ======================================================= -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
<configuration>
|
<includes>
|
<include>**/*Test.java</include>
|
</includes>
|
<excludes>
|
<exclude>${online.skip.pattern}</exclude>
|
<exclude>${stress.skip.pattern}</exclude>
|
</excludes>
|
<argLine>-Xmx${test.maxHeapSize} -Djava.awt.headless=${java.awt.headless}
|
</argLine>
|
<!-- Ignores test failure only if we are generating a -->
|
<!-- report for publication on the web site. See the -->
|
<!-- profiles section at the begining of this pom.xml file. -->
|
<testFailureIgnore>
|
${allow.test.failure.ignore}
|
</testFailureIgnore>
|
|
<!-- Option to print summary of test suites or just print the test cases that has errors. -->
|
<printSummary>true</printSummary>
|
<!-- Redirect the unit test standard output to a file. -->
|
<redirectTestOutputToFile>false</redirectTestOutputToFile>
|
</configuration>
|
</plugin>
|
|
|
<!-- ======================================================= -->
|
<!-- Code coverage -->
|
<!-- ======================================================= -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-clover-plugin</artifactId>
|
<configuration>
|
<jdk>1.5</jdk>
|
<licenseLocation>
|
http://svn.geotools.org/geotools/branches/2.4.x/build/maven/build-configs/src/main/resources/gt2/clover.license
|
</licenseLocation>
|
<flushPolicy>directed</flushPolicy>
|
</configuration>
|
<executions>
|
<execution>
|
<phase>pre-site</phase>
|
<goals>
|
<goal>instrument</goal>
|
<!-- aggregation is disabled due to the bug: -->
|
<!-- http://jira.codehaus.org/browse/MCLOVER-34 -->
|
</goals>
|
</execution>
|
</executions>
|
<dependencies>
|
<dependency>
|
<groupId>org.geotools.maven</groupId>
|
<artifactId>gt2-build-configs</artifactId>
|
<version>${gt2.version}</version>
|
</dependency>
|
</dependencies>
|
</plugin>
|
|
|
<!-- ======================================================= -->
|
<!-- JAR packaging. -->
|
<!-- ======================================================= -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-jar-plugin</artifactId>
|
<configuration>
|
<archive>
|
<manifest>
|
<addClasspath>true</addClasspath>
|
</manifest>
|
</archive>
|
</configuration>
|
</plugin>
|
|
<!-- ======================================================= -->
|
<!-- Source packaging. -->
|
<!-- ======================================================= -->
|
<plugin>
|
<inherited>true</inherited>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-source-plugin</artifactId>
|
<configuration>
|
<attach>true</attach>
|
</configuration>
|
<executions>
|
<execution>
|
<id>attach-sources</id>
|
<goals>
|
<goal>jar</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
<resources>
|
<!--
|
<resource>
|
<targetPath>conf</targetPath>
|
<filtering>false</filtering>
|
<directory>${basedir}/src/main/resources/conf</directory>
|
<includes>
|
<include>configuration.xml</include>
|
</includes>
|
<excludes>
|
<exclude>**/*.properties</exclude>
|
</excludes>
|
</resource>
|
-->
|
</resources>
|
</build>
|
|
<distributionManagement>
|
<repository>
|
<uniqueVersion>false</uniqueVersion>
|
<id>ximple</id>
|
<name>Ximple - Artifactory lib repo</name>
|
<url>dav:http://www.ximple.com.tw/artifactory/libs-releases-local</url>
|
</repository>
|
<snapshotRepository>
|
<uniqueVersion>false</uniqueVersion>
|
<id>ximple-snapshots</id>
|
<name>Ximple - Artifactory lib-snapshots repo</name>
|
<url>dav:http://www.ximple.com.tw/artifactory/libs-snapshots-local</url>
|
</snapshotRepository>
|
</distributionManagement>
|
|
<!-- =========================================================== -->
|
<!-- Repositories (ibiblio, refractions...). -->
|
<!-- This is where Maven looks for dependencies. -->
|
<!-- =========================================================== -->
|
<repositories>
|
<repository>
|
<snapshots>
|
<enabled>false</enabled>
|
</snapshots>
|
<id>central</id>
|
<name>Ximple Artifactory Maven Repository Switchboard</name>
|
<url>http://www.ximple.com.tw/artifactory/repo</url>
|
</repository>
|
|
<repository>
|
<releases>
|
<enabled>false</enabled>
|
</releases>
|
<id>snapshots</id>
|
<name>Ximple Artifactory Maven Repository Switchboard</name>
|
<url>http://www.ximple.com.tw/artifactory/repo</url>
|
</repository>
|
</repositories>
|
|
|
<!-- =========================================================== -->
|
<!-- Plugin repositories. -->
|
<!-- This is where Maven looks for plugin dependencies. -->
|
<!-- =========================================================== -->
|
<pluginRepositories>
|
<pluginRepository>
|
<id>ximple-snapshots</id>
|
<name>ximple-shapshots</name>
|
<url>http://www.ximple.com.tw/artifactory/vplugins-snapshots</url>
|
<snapshots>
|
<enabled>true</enabled>
|
</snapshots>
|
<releases>
|
<enabled>false</enabled>
|
</releases>
|
</pluginRepository>
|
<pluginRepository>
|
<id>ximple</id>
|
<name>Ximple Maven 2 Repository</name>
|
<url>http://www.ximple.com.tw/artifactory/vplugins-releases</url>
|
<snapshots>
|
<enabled>false</enabled>
|
</snapshots>
|
<releases>
|
<enabled>true</enabled>
|
</releases>
|
</pluginRepository>
|
</pluginRepositories>
|
|
<!-- =========================================================== -->
|
<!-- Modules for the build in approximate dependency order -->
|
<!-- =========================================================== -->
|
<modules>
|
<module>ximple-build</module>
|
<module>ximple-dgnio</module>
|
<module>ximple-spatialjob</module>
|
<module>ximple-jobcarrier</module>
|
<!-- <module>ximple-elmparser</module> -->
|
</modules>
|
</project>
|