<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>
|
|
|
<parent>
|
<groupId>com.ximple.eofms</groupId>
|
<artifactId>ximple-dgnjobs</artifactId>
|
<version>2.1.1</version>
|
</parent>
|
|
|
<groupId>com.ximple.eofms</groupId>
|
<artifactId>ximple-jobcarrier</artifactId>
|
<version>2.1.1</version>
|
<packaging>jar</packaging>
|
<name>ximple-jobcarrier</name>
|
<url>http://maven.apache.org</url>
|
|
<properties>
|
<xdgnio.version>2.1.1</xdgnio.version>
|
</properties>
|
|
<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>
|
|
<description>
|
Ximple Job Carrier for Quartz
|
</description>
|
|
<organization>
|
<name>Ximple</name>
|
<url>http://www.ximple.com.tw</url>
|
</organization>
|
|
<inceptionYear>2012</inceptionYear>
|
|
<developers>
|
<developer>
|
<name>Kuo-Feng Kao</name>
|
<id>ulysseskao</id>
|
<email>ulysseskao@ximple.com.tw</email>
|
<organization>Ximple</organization>
|
<roles>
|
<role>Java Developer</role>
|
</roles>
|
</developer>
|
</developers>
|
|
<contributors>
|
</contributors>
|
|
<profiles>
|
<profile>
|
<id>qa</id>
|
<build>
|
<plugins>
|
<plugin>
|
<artifactId>maven-dependency-plugin</artifactId>
|
<executions>
|
<execution>
|
<phase>install</phase>
|
<goals>
|
<goal>copy-dependencies</goal>
|
</goals>
|
<configuration>
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
</configuration>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
</build>
|
</profile>
|
</profiles>
|
|
<!-- =========================================================== -->
|
<!-- Dependencies to be inherited by all modules. -->
|
<!-- =========================================================== -->
|
<dependencies>
|
<dependency>
|
<groupId>org.quartz-scheduler</groupId>
|
<artifactId>quartz</artifactId>
|
<exclusions>
|
<exclusion>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-api</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.quartz-scheduler</groupId>
|
<artifactId>quartz-jobs</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-api</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-log4j12</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>jcl-over-slf4j</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>javax.transaction</groupId>
|
<artifactId>jta</artifactId>
|
<version>1.0.1B</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-shapefile</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-sample-data</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-data</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-opengis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-jdbc</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools.jdbc</groupId>
|
<artifactId>gt-jdbc-postgis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools.jdbc</groupId>
|
<artifactId>gt-jdbc-oracle</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools.jdbc</groupId>
|
<artifactId>gt-jdbc-mysql</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-opengis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-metadata</artifactId>
|
</dependency>
|
|
<!-- because main and sample-data depend on referencing we need a tie breaker -->
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-referencing</artifactId>
|
</dependency>
|
|
<!-- We need this to make the referencing module useful -->
|
<dependency>
|
<groupId>org.geotools</groupId>
|
<artifactId>gt-epsg-wkt</artifactId>
|
</dependency>
|
|
<dependency>
|
<artifactId>jdom</artifactId>
|
<groupId>org.jdom</groupId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.velocity</groupId>
|
<artifactId>velocity</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-cli</groupId>
|
<artifactId>commons-cli</artifactId>
|
</dependency>
|
|
<!-- ORACLE -->
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>ojdbc5</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>ojdbc5</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>sdoapi</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>sdotype</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.oracle</groupId>
|
<artifactId>sdoutl</artifactId>
|
</dependency>
|
|
<!--dependency>
|
<groupId>postgresql</groupId>
|
<artifactId>postgresql</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.postgis</groupId>
|
<artifactId>postgis-driver</artifactId>
|
</dependency-->
|
|
<!--dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
</dependency-->
|
|
<!-- AWL -->
|
<dependency>
|
<groupId>org.awl</groupId>
|
<artifactId>awl</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>xml-apis</groupId>
|
<artifactId>xml-apis</artifactId>
|
<version>1.4.01</version>
|
</dependency>
|
|
<!-- Ximple Library -->
|
<dependency>
|
<artifactId>ximple-dgnio</artifactId>
|
<groupId>com.ximple.eofms</groupId>
|
<version>${xdgnio.version}</version>
|
</dependency>
|
<dependency>
|
<artifactId>ximple-spatialjob</artifactId>
|
<groupId>com.ximple.eofms</groupId>
|
<version>${project.version}</version>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<plugins>
|
<!-- ======================================================= -->
|
<!-- JAR packaging. -->
|
<!-- ======================================================= -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-jar-plugin</artifactId>
|
<configuration>
|
<archive>
|
<manifest>
|
<mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass>
|
<addClasspath>true</addClasspath>
|
</manifest>
|
</archive>
|
</configuration>
|
</plugin>
|
<!-- ======================================================= -->
|
<!-- exec jar. -->
|
<!-- ======================================================= -->
|
<plugin>
|
<!--
|
Use maven from the command line:
|
mvn exec:java -Dexec.mainClass="com.ximple.eofms.XQuartzJobCarrier"
|
-->
|
<groupId>org.codehaus.mojo</groupId>
|
<artifactId>exec-maven-plugin</artifactId>
|
<version>1.2.1</version>
|
<executions>
|
<execution>
|
<!--<phase>package</phase> -->
|
<goals>
|
<goal>java</goal>
|
</goals>
|
</execution>
|
</executions>
|
<configuration>
|
<mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass>
|
<!--
|
<commandlineArgs>-Dlog4j.configuration=log4j.properties</commandlineArgs>
|
-->
|
<systemProperties>
|
<systemProperty>
|
<key>log4j.configuration</key>
|
<value>log4j.properties</value>
|
</systemProperty>
|
</systemProperties>
|
</configuration>
|
<!--
|
<dependencies>
|
<dependency>
|
<groupId>com.ximple.eofms</groupId>
|
<artifactId>ximple-jobcarrier</artifactId>
|
<version>0.0.1</version>
|
<type>jar</type>
|
</dependency>
|
</dependencies>
|
-->
|
</plugin>
|
<plugin>
|
<groupId>com.ximple.eofms.maven</groupId>
|
<artifactId>ximple-jar-collector</artifactId>
|
<version>${project.version}</version>
|
<executions>
|
<execution>
|
<goals>
|
<goal>collect</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>org.codehaus.mojo</groupId>
|
<artifactId>native2ascii-maven-plugin</artifactId>
|
<version>1.0-beta-1</version>
|
<configuration>
|
<dest>target/classes/com/ximple/eofms</dest>
|
<src>src/main/resources/com/ximple/eofms</src>
|
</configuration>
|
<executions>
|
<execution>
|
<id>native2ascii-utf8</id>
|
<goals>
|
<goal>native2ascii</goal>
|
</goals>
|
<configuration>
|
<encoding>UTF8</encoding>
|
<includes>
|
<include>XQuartzJobWizard_zh*.properties</include>
|
</includes>
|
</configuration>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
<resources>
|
<!--
|
<resource>
|
<directory>src/main/resources/com/ximple/eofms</directory>
|
<excludes>
|
<exclude>XQuartzJobWizard_zh*.properties</exclude>
|
</excludes>
|
<filtering>true</filtering>
|
</resource>
|
-->
|
<resource>
|
<directory>src/main/resources</directory>
|
<includes>
|
<include>log4j.properties</include>
|
<include>quartz.properties</include>
|
<include>quartz_jobs.xml</include>
|
<include>quartz_jobs_edb.xml</include>
|
<include>quartz_jobs_sharpefiles.xml</include>
|
</includes>
|
<!--
|
<excludes>
|
<exclude>log4j.properties</exclude>
|
<exclude>quartz_jobs.xml</exclude>
|
</excludes>
|
-->
|
<!--
|
<excludes>
|
<exclude>XQuartzJobWizard*.properties</exclude>
|
<exclude>quartz_jobs.xml</exclude>
|
<exclude>quartz_jobs_shapefiles.xml</exclude>
|
</excludes>
|
-->
|
<filtering>false</filtering>
|
</resource>
|
</resources>
|
</build>
|
|
</project>
|