...
 
Commits (473)

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

A directory for Continuous Integration tooling.
\ No newline at end of file
<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xsi:schemalocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<mirror>
<id>Nexus-Orekit</id>
<name>Maven Repository Manager</name>
<url>https://packages.orekit.org/repository/maven-public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<servers>
<server>
<id>ci-releases</id>
<username>${env.NEXUS_USERNAME}</username>
<password>${env.NEXUS_PASSWORD}</password>
</server>
<server>
<id>ci-snapshots</id>
<username>${env.NEXUS_USERNAME}</username>
<password>${env.NEXUS_PASSWORD}</password>
</server>
<server>
<id>website</id>
<privateKey>${user.home}/.ssh/id_website</privateKey>
</server>
</servers>
</settings>
\ No newline at end of file
stages:
- verify
- deploy
default:
# Default image
image: maven:3.3.9-jdk-8
# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_JOB_REF_NAME"'
cache:
paths:
- .m2/repository
variables:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line.
# `installAtEnd` and `deployAtEnd` are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS: "-s .CI/maven-settings.xml --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
verify:
stage: verify
script:
- mvn $MAVEN_CLI_OPTS verify site
- mvn $MAVEN_CLI_OPTS sonar:sonar -Dsonar.login=${SONAR_TOKEN} -Dsonar.branch.name=${CI_COMMIT_REF_NAME}
artifacts:
paths:
- target/*.jar
- target/site
reports:
junit:
- target/surefire-reports/*.xml
# On main branches (develop, release-*, master)
# the produced artifacts are deployed on the Nexus of the project
# (https://packages.orekit.org/)
deploy:artifacts:
stage: deploy
script:
- mvn $MAVEN_CLI_OPTS assembly:single javadoc:jar source:jar deploy -DskipTests=true -Pci-deploy
artifacts:
paths:
- target/*.zip
- target/*.jar
only:
- develop
- /^release-[.0-9]+$/
- master
deploy:site:
stage: deploy
before_script:
##
## Create the SSH directory and give it the right permissions
##
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
##
## We're using tr to fix line endings which makes ed25519 keys work
## without extra base64 encoding.
## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
##
- echo "$SSH_SECRET_KEY" > ~/.ssh/id_website
- chmod 700 ~/.ssh/id_website
##
## Add known hosts
##
- cp $SSH_KNOWN_HOSTS ~/.ssh/known_hosts
script:
- mvn $MAVEN_CLI_OPTS site:deploy
only:
- master
- /^release-[.0-9]+$/
- develop
pipeline {
agent any
environment {
MAVEN_CLI_OPTS = "-s .CI/maven-settings.xml"
}
tools {
maven 'mvn-default'
jdk 'openjdk-8'
......@@ -24,12 +29,29 @@ pipeline {
if ( env.BRANCH_NAME ==~ /^release-[.0-9]+$/ ) {
sh 'mvn verify assembly:single'
}
else if ( env.BRANCH_NAME ==~ /^develop$/ ) {
sh 'mvn install site'
}
else {
sh 'mvn verify site'
}
}
}
}
stage('Deploy') {
// Deploy to staging area only on branch develop or master
// Official deployment on oss.sonatype.org will be done manually
// NB: we skip tests on this stage
when { anyOf { branch 'develop' ; branch 'master' } }
steps {
withCredentials([usernamePassword(credentialsId: 'jenkins-at-nexus',
usernameVariable: 'NEXUS_USERNAME',
passwordVariable: 'NEXUS_PASSWORD')]) {
sh 'mvn $MAVEN_CLI_OPTS deploy -DskipTests=true -Pci-deploy'
}
}
}
}
post {
......
OREKIT
Copyright 2002-2019 CS Systèmes d'Information
Copyright 2002-2020 CS Group
This product includes software developed by
CS Systèmes d'Information (http://www.c-s.fr/)
CS Group (http://www.c-s.fr/)
This product includes software developed by
Bruce R. Bowman (HQ AFSPC, Space Analysis Division)
......
......@@ -10,6 +10,9 @@ quick studies up to critical operations. As a library, Orekit provides basic
elements (orbits, dates, attitude, frames, ...) and various algorithms to
handle them (conversions, propagations, pointing, ...).
[![](https://sonar.orekit.org/api/project_badges/measure?project=org.orekit%3Aorekit&metric=alert_status)](https://sonar.orekit.org/dashboard?id=org.orekit%3Aorekit)
[![](https://sonar.orekit.org/api/project_badges/measure?project=org.orekit%3Aorekit&metric=coverage)](https://sonar.orekit.org/dashboard?id=org.orekit%3Aorekit)
## Download
### Official releases
......@@ -33,7 +36,7 @@ __Note:__ Our official repository is
## Documentation
Project overview, architecture and development, detailed features list,
tutorials, Javadoc and a lot of other information is available on the
Javadoc and a lot of other information is available on the
[Maven site](https://www.orekit.org/site-orekit-development/).
## Getting help
......@@ -80,6 +83,6 @@ More detailed information is available in the
## License
Orekit is licensed by [CS Systèmes d'Information](https://www.c-s.fr/) under
Orekit is licensed by [CS Group](https://www.c-s.fr/) under
the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
A copy of this license is provided in the [LICENSE.txt](LICENSE.txt) file.
......@@ -46,7 +46,7 @@
<property name="hamcrest.maven.path" value="org/hamcrest" />
<property name="maven.repository" value="http://repo1.maven.org/maven2" />
<property name="copyright" value="2002-2019 CS Syst&#232;mes d&#039;Information" />
<property name="copyright" value="2002-2020 CS Group" />
<available file="${lib.dir}/${hipparchus.core.jar}" property="libs.present" />
......
......@@ -34,8 +34,6 @@
<property name="caseIndent" value="4"/>
</module>
<module name="JavadocMethod">
<property name="allowUndeclaredRTE" value="true"/>
<property name="allowMissingPropertyJavadoc" value="true"/>
<property name="validateThrows" value="false"/>
</module>
<module name="JavadocStyle"/>
......@@ -46,7 +44,11 @@
<property name="ignoreStringsRegexp" value='^(("")|(".")|("\\\\"))$'/>
</module>
<module name="MultipleVariableDeclarations"/>
<module name="NoWhitespaceAfter"/>
<module name="NoWhitespaceAfter">
<property name="tokens"
value="AT, INC, DEC, UNARY_MINUS, UNARY_PLUS, BNOT, LNOT, DOT,
ARRAY_DECLARATOR, INDEX_OP"/>
</module>
<module name="NoWhitespaceBefore"/>
<module name="OperatorWrap">
<property name="option" value="eol"/>
......@@ -57,12 +59,13 @@
<property name="severity" value="warning"/>
</module>
<module name="UnnecessaryParentheses"/>
<module name="NeedBraces"/>
<module name="UnusedImports"/>
<module name="VisibilityModifier"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround">
<property name="tokens"
value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN,
value="ASSIGN, ARRAY_INIT, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN,
BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT,
LAND, LCURLY, LE, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE,
LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN,
......@@ -104,6 +107,7 @@
</module>
<module name="RegexpHeader">
<property name="headerFile" value="${checkstyle.header.file}" />
<property name="fileExtensions" value="java" />
</module>
<module name="FileTabCharacter"/>
<module name="NewlineAtEndOfFile"/>
......
This diff is collapsed.
This diff is collapsed.
......@@ -252,12 +252,6 @@
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
<!-- The following is a false positive from SpotBugs -->
<Match>
<Class name="org.orekit.estimation.measurements.gnss.IntegerLeastSquareSolution" />
<Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS" />
</Match>
<!-- the following is an intended switch fall-through in the SP3Parser -->
<Match>
<Class name="~.*\.SP3Parser$"/>
......
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2002-2019 CS Systèmes d'Information
Licensed to CS Systèmes d'Information (CS) under one or more
<!-- Copyright 2002-2020 CS Group
Licensed to CS Group (CS) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
CS licenses this file to You under the Apache License, Version 2.0
......@@ -20,6 +20,194 @@
<title>Orekit Changes</title>
</properties>
<body>
<release version="10.1" date="TBD" description="TBD">
<action def="evan" type="add" >
Added an annotation and a compiler plugin that generates a warning
when default context is used without being explicitly annotated.
</action>
<action def="luc" type="fix" issue="632" due-to="Evan Ward">
Fixed projection to ellipsoid at pole.
</action>
<action dev="evan,luc,yannick" type="add" issue="607">
Add DataContext, a way to load separate sets of EOP, leap seconds, etc.
</action>
<action def="luc" type="fix" issue="630">
Improve performance of UnixCompressFilter.
</action>
<action def="luc" type="fix" issue="631">
Improve performance of HatanakaCompressFilter.
</action>
<action def="evan" type="fix" issue="629">
Improve performance of ZipJarCrawler.
</action>
<action dev="bryan" type="add" issue="625">
Added default constructors for DSSTZonal and DSSTTesseral.
</action>
<action dev="bryan" type="add" issue="622">
Added OrekitException for unknown number of frequencies in ANTEX files.
</action>
<action dev="bryan" type="add" issue="621">
Added OrekitException in the case where IONEX header is corrupted.
</action>
<action dev="dylan" type="add" issue="359">
Added a specific test for issue 359 in BatchLSEstimatorTest.
The test verifies that a Newtonian attraction is known
by both the propagator builder and the propagator when
it is not added explicitly.
</action>
<action dev="dylan" type="add" issue="367">
Added write of covariance matrices in OEMWriter.
</action>
<action dev="dylan" type="fix" issue="619">
Fixed origin transform in CcsdsModifierFrame.
</action>
<action dev="bryan" type="add" issue="611">
Added SBAS orbit propagator.
</action>
<action dev="bryan" type="fix" issue="617">
Fixed null pointer exception in MultiplexedMeasurement.
</action>
<action dev="luc" type="fix" issue="575">
Allow users to provide custom convergence checkers for
batch least squares orbit determination.
</action>
<action dev="luc" type="add" issue="614">
Added multiplexed measurements.