Skip to content
Snippets Groups Projects
Commit b47495ab authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Swtiched maven configuration to multi-modules.

parent 21d5b9bb
No related branches found
No related tags found
No related merge requests found
Showing
with 135 additions and 10 deletions
Rugged can be built from source either using maven 3 or eclipse.
Building with Maven 3:
- Maven 3 can be downloaded here:
http://maven.apache.org/download.html
- If you are behind a proxy (which is a traditional
setting in a corporate environment), then you need
to configure maven to use it. This is explained
in the maven documentation here:
http://maven.apache.org/guides/mini/guide-proxies.html
- run "mvn package" to automatically download all
the required dependencies listed in the pom.xml file
and create a file named target/rugged-x.y.jar where
x.y is the version number
Building with Eclipse:
- Eclipse can be downloaded here:
http://www.eclipse.org/downloads/
- extract the rugged source jar in your eclipse workspace
- create a new java project from existing sources and direct
Eclipse to the directory where you unpacked Rugged
- set the source folders to rugged/src/main/java,
rugged/src/main/resources, rugged/src/test/java,
rugged/src/test/resources in
the source tab of the Configure Build Path dialog
- set the external libraries to JRE system library (provided by Eclipse),
Junit 4.x (provided by Eclipse) orekit (available at Orekit website
https://www.orekit.org/) and Apache Commons Math (available at
Apache Software Foundation commons-math
http://commons.apache.org/proper/commons-math/download_math.cgi
in the libraries tab of the Configure Build Path dialog
- if you want to also build the optional geotiff module, you should
add rugged/geotiff/src/main/java, rugged/geotiff/src/main/resources,
rugged/geotiff/src/test/java, rugged/geotiff/src/test/resources in
the source tab of the Configure Build Path dialog and add the
Apache Commons Imaging library to the external libraries
<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>org.orekit</groupId>
<artifactId>rugged-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>rugged-aster</artifactId>
<packaging>bundle</packaging>
<name>Rugged Aster support</name>
<inceptionYear>2014</inceptionYear>
<description>
This module provides support for ASTER Digital Elevation Models.
</description>
<developers>
<developer>
<name>Luc Maisonobe</name>
<id>luc</id>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Aude Espesset</name>
</contributor>
</contributors>
<organization>
<name>CS Syst&#232;mes d&#039;Information</name>
<url>http://www.c-s.fr/</url>
</organization>
<dependencies>
<dependency>
<groupId>org.orekit</groupId>
<artifactId>rugged-core</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-imaging</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<type>jar</type>
<scope>test</scope>
<optional>false</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${rugged.maven-bundle-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.orekit.rugged.aster.*;version=${project.version};-noimport:=true</Export-Package>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
import org.apache.commons.math3.util.FastMath;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
import java.io.IOException;
import java.io.InputStream;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
import java.io.File;
import java.io.IOException;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
/** Enumerate for GeoTIFF keys.
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
/** Enumerate for geographic coordinate system type.
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
/** Enumerate for linear units.
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
/** Enumerate for model type.
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
/** Enumerate for raster types.
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
import java.text.MessageFormat;
......
......@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.rugged.geotiff;
package org.orekit.rugged.aster;
import java.io.BufferedReader;
import java.io.File;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment