forked from locationtech/jts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Please see README for preflight instructions
- Loading branch information
1 parent
8e894a1
commit 4bc37b2
Showing
7 changed files
with
137 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
The jt-ora module requires the oracle JDBC driver in order to compile. | ||
|
||
Download the ojdbc5.jar driver from oracle and install local maven repository: | ||
|
||
mvn install:install-file -Dfile=ojdbc5.jar \ | ||
-DgroupId=com.oracle -DartifactId=ojdbc5 \ | ||
-Dversion=11.1.0.7.0 -Dpackaging=jar -DgeneratePom=true | ||
|
||
You can then build using the oracle profile: | ||
|
||
mvn -Poracle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.locationtech.jts</groupId> | ||
<artifactId>jts-io</artifactId> | ||
<version>1.15.0</version> | ||
</parent> | ||
<groupId>org.locationtech.jts.io</groupId> | ||
<artifactId>jts-ora</artifactId> | ||
<name>${project.groupId}:${project.artifactId}</name> | ||
<packaging>jar</packaging> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.oracle</groupId> | ||
<artifactId>ojdbc5</artifactId> | ||
<!-- version from dependencyManagment in root pom --> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
The jt-sde module requires the ESRI ArcSDE jars included with your software be installed in your local maven repository: | ||
|
||
mvn install:install-file -Dfile=jsde_sdk.jar \ | ||
-DgroupId=com.esri -DartifactId=jsde_sdk \ | ||
-Dversion=9.1 -Dpackaging=jar -DgeneratePom=true | ||
|
||
mvn install:install-file -Dfile=jpe_sdk.jar \ | ||
-DgroupId=com.esri -DartifactId=jpe_sdk \ | ||
-Dversion=9.1 -Dpackaging=jar -DgeneratePom=true | ||
You can then build using the arcsde profile: | ||
|
||
mvn -Parcsde | ||
|
||
The default SDE version is 9.1. if you want to use newer ESRI ArcSDE Java API jars, provided that you installed them through mvn install:install-file in your local repo, run maven with: | ||
|
||
mvn -Parcsde -Dsde.version=9.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.locationtech.jts</groupId> | ||
<artifactId>jts-io</artifactId> | ||
<version>1.15.0</version> | ||
</parent> | ||
<groupId>org.locationtech.jts.io</groupId> | ||
<artifactId>jts-sde</artifactId> | ||
<name>${project.groupId}:${project.artifactId}</name> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<!-- | ||
Default SDE version is 9.1. To use newer version (that has been installed | ||
in your local repository) run maven with: | ||
mvn -Parcsde -Dsde.version={desired version} | ||
--> | ||
<sde.version>9.1</sde.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.esri</groupId> | ||
<artifactId>jsde_sdk</artifactId> | ||
<version>${sde.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.esri</groupId> | ||
<artifactId>jpe_sdk</artifactId> | ||
<version>${sde.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters