From 492c1c823e34a1f12bdefebadad48b6524256837 Mon Sep 17 00:00:00 2001 From: ?? ? <ulysseskao@ximple.com.tw> Date: Mon, 24 Mar 2008 16:17:22 +0800 Subject: [PATCH] update for EOFM-30 --- xdgnio/ximple-jobcarrier/pom.xml | 780 +---------------------------------------------------------- 1 files changed, 25 insertions(+), 755 deletions(-) diff --git a/xdgnio/ximple-jobcarrier/pom.xml b/xdgnio/ximple-jobcarrier/pom.xml index 0d02c35..87aa1c6 100644 --- a/xdgnio/ximple-jobcarrier/pom.xml +++ b/xdgnio/ximple-jobcarrier/pom.xml @@ -2,42 +2,19 @@ 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>0.0.1</xdgnio.version> - <xdgnsj.version>0.0.1</xdgnsj.version> - <gt.version>2.4.1</gt.version> - </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> + <parent> + <groupId>com.ximple.eofms</groupId> + <artifactId>ximple-dgnjobs</artifactId> + <version>0.0.1</version> + </parent> + + + <groupId>com.ximple.eofms</groupId> + <artifactId>ximple-jobcarrier</artifactId> + <packaging>jar</packaging> + <name>ximple-jobcarrier</name> + <url>http://maven.apache.org</url> <scm> <connection> @@ -46,14 +23,9 @@ <url>http://www.ximple.com.tw/svn/xeofms/xspatialjob/truck/</url> </scm> - <groupId>com.ximple.eofms</groupId> - <artifactId>ximple-jobcarrier</artifactId> - <packaging>jar</packaging> - <version>0.0.1</version> - <name>ximple-jobcarrier</name> - <url>http://maven.apache.org</url> - - <description>Ximple Job Carrier for Quartz</description> + <description> + Ximple Job Carrier for Quartz + </description> <organization> <name>Ximple</name> @@ -62,28 +34,15 @@ <inceptionYear>2008</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> + <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> @@ -91,715 +50,26 @@ </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-nogenerics</artifactId> - <version>2.1.0</version> - </dependency> - <dependency> - <groupId>javax.units</groupId> - <artifactId>jsr108</artifactId> - <version>0.01</version> - </dependency> - - <dependency> - <groupId>com.vividsolutions</groupId> - <artifactId>jts</artifactId> - <version>1.9</version> - </dependency> - - <!-- Apache --> - <!-- - <dependency> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils</artifactId> - <version>1.7</version> - </dependency> - --> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2</version> - </dependency> - <dependency> - <groupId>commons-digester</groupId> - <artifactId>commons-digester</artifactId> - <version>1.8</version> - </dependency> - <dependency> - <groupId>commons-pool</groupId> - <artifactId>commons-pool</artifactId> - <version>1.3</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>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-contrib</artifactId> - <version>3.0.1-FINAL</version> - </dependency> - - <!-- geotools --> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2</artifactId> - <version>${gt.version}</version> - </dependency> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2-api</artifactId> - <version>${gt.version}</version> - </dependency> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2-main</artifactId> - <version>${gt.version}</version> - </dependency> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2-sample-data</artifactId> - <version>${gt.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2-data</artifactId> - <version>${gt.version}</version> - </dependency> - - <!-- because main and sample-data depend on referencing we need a tie breaker --> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2-referencing</artifactId> - <version>${gt.version}</version> - </dependency> - - <dependency> - <groupId>jdom</groupId> - <artifactId>jdom</artifactId> - <version>1.0</version> - </dependency> - - <dependency> - <groupId>velocity</groupId> - <artifactId>velocity</artifactId> - <version>1.4</version> - </dependency> - - <!-- We need this to make the referencing module useful --> - <dependency> - <groupId>org.geotools</groupId> - <artifactId>gt2-epsg-hsql</artifactId> - <version>${gt.version}</version> - <scope>test</scope> - </dependency> - - <!-- ORACLE --> - <!-- Download and install into your own repo --> - <dependency> - <artifactId>ojdbc5</artifactId> - <groupId>com.oracle</groupId> - <version>11.1.0</version> - </dependency> - - <!-- opensymphony --> - <dependency> - <groupId>opensymphony</groupId> - <artifactId>quartz</artifactId> - <version>1.6.0</version> - </dependency> - - <!-- Ximple Library --> - <dependency> - <artifactId>ximple-dgnio</artifactId> - <groupId>com.ximple</groupId> - <version>${xdgnio.version}</version> - </dependency> - - <dependency> - <artifactId>ximple-spatialjob</artifactId> - <groupId>com.ximple.eofms</groupId> - <version>${xdgnsj.version}</version> - </dependency> - - <!-- Tests or legacy --> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <version>5.7</version> - <scope>test</scope> - </dependency> - </dependencies> - </dependencyManagement> - - <!-- =========================================================== --> <!-- Dependencies to be inherited by all modules. --> <!-- =========================================================== --> <dependencies> - <dependency> - <artifactId>geoapi-nogenerics</artifactId> - <groupId>org.opengis</groupId> - </dependency> - - <dependency> - <artifactId>jsr108</artifactId> - <groupId>javax.units</groupId> - </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> - <artifactId>gt2-api</artifactId> - <groupId>org.geotools</groupId> - </dependency> - <dependency> - <artifactId>gt2-main</artifactId> - <groupId>org.geotools</groupId> - </dependency> - <dependency> - <artifactId>gt2-sample-data</artifactId> - <groupId>org.geotools</groupId> - <scope>test</scope> - </dependency> - <dependency> - <artifactId>gt2-data</artifactId> - <groupId>org.geotools</groupId> - </dependency> - - <!-- because main and sample-data depend on referencing we need a tie breaker --> - <dependency> - <artifactId>gt2-referencing</artifactId> - <groupId>org.geotools</groupId> - </dependency> - - <dependency> - <artifactId>jdom</artifactId> - <groupId>jdom</groupId> - </dependency> - - <dependency> - <artifactId>velocity</artifactId> - <groupId>velocity</groupId> - </dependency> - - <!-- We need this to make the referencing module useful --> - <dependency> - <artifactId>gt2-epsg-hsql</artifactId> - <groupId>org.geotools</groupId> - <scope>test</scope> - </dependency> - - <!-- ORACLE --> - <dependency> - <artifactId>ojdbc5</artifactId> - <groupId>com.oracle</groupId> - </dependency> - <dependency> <artifactId>quartz</artifactId> <groupId>opensymphony</groupId> </dependency> - <dependency> - <groupId>javax.transaction</groupId> - <artifactId>jta</artifactId> - <version>1.0.1B</version> - </dependency> - <!-- Ximple Library --> <dependency> <artifactId>ximple-dgnio</artifactId> - <groupId>com.ximple</groupId> + <groupId>com.ximple.eofms</groupId> + <version>${xdgnio.version}</version> </dependency> - <dependency> <artifactId>ximple-spatialjob</artifactId> <groupId>com.ximple.eofms</groupId> - </dependency> - - <dependency> - <artifactId>testng</artifactId> - <groupId>org.testng</groupId> - <scope>test</scope> + <version>${xdgnio.version}</version> </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-assembly-plugin</artifactId> - <version>2.1</version> - <configuration> - <descriptors> - <descriptor>build/maven/assembly/binaryDist.xml</descriptor> - <descriptor>build/maven/assembly/sourceDist.xml</descriptor> - </descriptors> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-clean-plugin</artifactId> - <version>2.1.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-clover-plugin</artifactId> - <version>2.3</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.0.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-install-plugin</artifactId> - <version>2.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>2.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <version>2.3</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.0.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>2.0-beta-5</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.4.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.3</version> - </plugin> - <!-- http://www.ibiblio.org/maven2/org/codehaus/mojo/ --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>changelog-maven-plugin</artifactId> - <version>2.0-beta-1</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>changes-maven-plugin</artifactId> - <version>2.0-beta-1</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jxr-maven-plugin</artifactId> - <version>2.0-beta-1</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>taglist-maven-plugin</artifactId> - <version>2.0</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jalopy-maven-plugin</artifactId> - <version>1.0-SNAPSHOT</version> - </plugin> - <!-- - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <configuration> - <outputDirectory>${src.output}</outputDirectory> - <attach>false</attach> - </configuration> - </plugin> - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <version>2.4</version> - </plugin> - <!-- - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.1-beta-1</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>${project.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} -Dorg.geotools.test.extensive=${extensive.tests} - -Dorg.geotools.test.interactive=${interactive.tests} -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> - - <!-- The two following options have the opposite value of what we would - like. They are that way because they don't seem to work as expected - with Surefire 2.3. TODO: Try again when Surefire 2.4 will be available. --> - - <!-- 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>${project.version}</version> - </dependency> - </dependencies> - --> - </plugin> - - - <!-- ======================================================= --> - <!-- 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> - - <!-- ======================================================= --> - <!-- 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> - - <!-- - <plugin> - <groupId>org.geotools.maven</groupId> - <artifactId>gt2-jar-collector</artifactId> - <version>${gt.version}</version> - <executions> - <execution> - <goals> - <goal>collect</goal> - </goals> - </execution> - </executions> - </plugin> - --> - - <!-- ======================================================= --> - <!-- exec jar. --> - <!-- ======================================================= --> - <plugin> - <!-- - Use maven from the command line: - mvn exec:java -Dexec.mainClass="com.ximple.eofms.XQuartzJobCarrier" - --> - <artifactId>exec-maven-plugin</artifactId> - <groupId>org.codehaus.mojo</groupId> - <!-- - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - --> - <configuration> - <mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass> - </configuration> - <!-- - <dependencies> - <dependency> - <groupId>com.ximple.eofms</groupId> - <artifactId>ximple-jobcarrier</artifactId> - <version>0.0.1</version> - <type>jar</type> - </dependency> - </dependencies> - --> - </plugin> - </plugins> - <resources> - </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</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</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> </project> -- Gitblit v0.0.0-SNAPSHOT