@@ -35,8 +35,9 @@ For systems not providing maven as a package, maven can be
...
@@ -35,8 +35,9 @@ For systems not providing maven as a package, maven can be
Apache Software Foundation. This site also explains the
Apache Software Foundation. This site also explains the
installation procedure.
installation procedure.
As with all maven enabled projects, building Rugged is straightforward, simply
As with all maven enabled projects, building official released versions of
run:
Rugged is straightforward (see below for the special case of development versions),
simply run:
mvn package
mvn package
...
@@ -46,12 +47,39 @@ the target directory, including one file named rugged-x.y.jar where x.y is
...
@@ -46,12 +47,39 @@ the target directory, including one file named rugged-x.y.jar where x.y is
the version number. This is the jar file you can use in your project using
the version number. This is the jar file you can use in your project using
Rugged.
Rugged.
This command should always work for released Rugged versions as they
always depend only on released Orekit versions. Maven knows how
to download the pre-built binary for released Orekit versions.
The previous command may not work for development Rugged versions as they
may depend on unreleased Orekit versions. Maven cannot download
pre-built binaries for unreleased Orekit versions as none are
publicly available. In this case the command above will end with an error message
like:
[ERROR] Failed to execute goal on project rugged: Could not resolve dependencies for project org.orekit:rugged:jar:X.x-SNAPSHOT: Could not find artifact org.orekit:orekit:jar:Y.y-SNAPSHOT
In this case, you should build the missing Orekit artifact and
install it in your local maven repository beforehand. This is done by cloning
the Orekit source from Orekit git repository at Gitlab in some
temporary folder and install it with maven. This is done by
running the commands below (using Linux command syntax):