-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
318 lines (311 loc) · 11.5 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<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>
<groupId>fr.cnes.sirius.patrius</groupId>
<artifactId>patrius</artifactId>
<version>4.13.5</version>
<packaging>jar</packaging>
<name>CNES space flight dynamics library</name>
<description>
PATRIUS is a core space dynamics Java library that enables to quickly develop high level algorithms such as orbit extrapolator. PATRIUS contains several sub-libraries that work together and cover low level classes (i.e.: such as matrix, vectors, orbits parameters) as well as high level classes and interfaces (i.e.: numerical propagators, attitude laws, manoeuvers sequences).
All the main domains of space dynamics are available:
Analysis, algebra and geometry core library (quaternions, derivable functions, integrators …)
Core objects for space dynamics (dates, orbits, frames...)
Orbit propagation: analytical, semi-analytical and numerical propagators, a full set of force models
Maneuvers: impulsive or continuous thrust, sequences
Attitude: extensible set of attitude laws, sequences and guidance framework
Events: event detection (orbital, sensor events, etc.) and post-processing (chronograms)
Spacecraft: characteristics of mass, geometry (drag force), sensors field of view, etc.
</description>
<url>https://patrius.cnes.fr</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Custom properties -->
<!-- Java source version -->
<pdb.sourcever>1.8</pdb.sourcever>
<!-- Results directory for the validate class -->
<pdb.validate.results>${basedir}/target/validation-results</pdb.validate.results>
<!-- Results directory for misc. tests -->
<pdb.misc.results>${basedir}/target/misc-results</pdb.misc.results>
<!-- Plugins versions -->
<maven.surefire.plugin.version>2.17</maven.surefire.plugin.version>
<maven.source.plugin.version>2.3</maven.source.plugin.version>
<maven.compiler.plugin.version>3.1</maven.compiler.plugin.version>
<maven.dependency.plugin.version>2.9</maven.dependency.plugin.version>
<build.helper.maven.plugin.version>1.9.1</build.helper.maven.plugin.version>
<maven.antrun.plugin.version>1.7</maven.antrun.plugin.version>
<maven.clean.plugin.version>2.6</maven.clean.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.install.plugin.version>2.5.2</maven.install.plugin.version>
<maven.site.plugin.version>3.7.1</maven.site.plugin.version>
<maven.resources.plugin.version>2.7</maven.resources.plugin.version>
<maven.jar.plugin.version>2.5</maven.jar.plugin.version>
<maven.javadoc.plugin.version>3.0.0</maven.javadoc.plugin.version>
<maven.bundle.plugin.version>3.4.0</maven.bundle.plugin.version>
<jacoco.maven.plugin.version>0.8.0</jacoco.maven.plugin.version>
<!-- Surefire configuration -->
<maven.surefire.runner>surefire-junit47</maven.surefire.runner>
<maven.surefire.junit.art>junit:junit</maven.surefire.junit.art>
<maven.surefire.testng.art>none:none</maven.surefire.testng.art>
<dependency.check.maven.plugin.version>7.1.1</dependency.check.maven.plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>net.jafama</groupId>
<artifactId>jafama</artifactId>
<version>2.3.1</version>
</dependency>
<!-- Tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<organization>
<name>CNES</name>
</organization>
<!-- CNES change : CNES distribution management -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<resources>
<resource>
<directory>.</directory>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<!-- States Java 1.8 is the main version to use -->
<configuration>
<source>${pdb.sourcever}</source>
<target>${pdb.sourcever}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven.dependency.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build.helper.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven.antrun.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven.install.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven.site.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.plugin.version}</version>
</plugin>
<!-- create source jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<executions>
<execution>
<id>create-source-jar</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Unit tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<dependencies>
<!-- For some reason, Maven 3 requires forcing surefire-junit47, while
Maven 2 picks it without help -->
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>${maven.surefire.runner}</artifactId>
<version>${maven.surefire.plugin.version}</version>
</dependency>
</dependencies>
<configuration>
<skip>false</skip>
<!-- Regular tests are JUnit tests, so no TestNG -->
<junitArtifactName>${maven.surefire.junit.art}</junitArtifactName>
<testNGArtifactName>${maven.surefire.testng.art}</testNGArtifactName>
<!-- Output directory for the Validate class -->
<!-- (needed here because of unit tests on Validate) -->
<systemPropertyVariables>
<pdb.validate.results>${pdb.validate.results}</pdb.validate.results>
<pdb.misc.results>${pdb.misc.results}</pdb.misc.results>
</systemPropertyVariables>
<!-- Maven 3 issue with site+cobertura workaround -->
<argLine>-showversion ${argLine}</argLine>
<testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
<!-- Includes and excludes compatible with commons-math -->
<!-- and the pull-src profile (so no need to override -->
<!-- this configuration in the pull-src profile) -->
<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<include>**/*TestBinary.java</include>
<include>**/*TestPermutations.java</include>
</includes>
<excludes>
<exclude>**/*AbstractTest.java</exclude>
<exclude>**/TestUtils.java</exclude>
</excludes>
<!-- Saves stdout of each test to a file -->
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<!-- javadoc jar artifact -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<!-- Default configuration for all reports -->
<additionalparam>-Xdoclint:none</additionalparam>
<additionalOptions>
<additionalOption>-quiet</additionalOption>
<additionalOption>-Xdoclint:none</additionalOption>
<additionalOption>--allow-script-in-comments</additionalOption>
</additionalOptions>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<encoding>UTF-8</encoding>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.maven.plugin.version}</version>
<configuration>
<destfile>${basedir}/target/coverage-reports/jacoco-unit.exec</destfile>
<datafile>${basedir}/target/coverage-reports/jacoco-unit.exec</datafile>
</configuration>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-site</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>DEPENDENCYCHECK</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency.check.maven.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<configuration>
<skipTestScope>true</skipTestScope>
<failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<!-- Generates the aggregate javadoc files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<!-- Default configuration for all reports -->
<additionalparam>-Xdoclint:none</additionalparam>
<additionalOptions>
<additionalOption>-quiet</additionalOption>
<additionalOption>-Xdoclint:none</additionalOption>
<additionalOption>--allow-script-in-comments</additionalOption>
</additionalOptions>
</configuration>
</plugin>
</plugins>
</reporting>
</project>