-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
245 lines (237 loc) · 10.4 KB
/
Copy pathpom.xml
File metadata and controls
245 lines (237 loc) · 10.4 KB
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
<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>org.jquantlib</groupId>
<artifactId>jquantlib-parent</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>jquantlib parent</name>
<description>Repo-root parent POM and aggregator. Holds shared properties,
dependencyManagement, pluginManagement, distributionManagement, and the
list of code modules (jquantlib, jquantlib-contrib, jquantlib-helpers,
jquantlib-samples).</description>
<modules>
<module>jquantlib</module>
<module>jquantlib-contrib</module>
<module>jquantlib-helpers</module>
<module>jquantlib-samples</module>
<module>jquantlib-showcase</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>25</java.version>
<mavencompiler.version>3.13.0</mavencompiler.version>
<slf4j.version>2.0.18</slf4j.version>
<junit.version>4.13.2</junit.version>
<jfreechart.version>1.5.6</jfreechart.version>
<jcommon.version>1.0.24</jcommon.version>
<!--
Version of the org.jquantlib:jquantlib library artifact. It is pinned to the
C++ QuantLib release the port targets (v1.42.1), and is therefore decoupled
from the reactor/project version (1.0.0). The jquantlib module declares this
same version directly; keep the two in sync. jquantlib-contrib/-helpers/-samples
consume it via this property.
-->
<jquantlib.version>1.42.1</jquantlib.version>
<maven.versions.plugin>2.8.1</maven.versions.plugin>
<maven.enforcer.plugin>3.0.0-M3</maven.enforcer.plugin>
<maven.clean.plugin>2.1</maven.clean.plugin>
<maven.surefire.plugin>3.5.2</maven.surefire.plugin>
<maven.failsafe.plugin>3.5.2</maven.failsafe.plugin>
<maven.checkstyle.plugin.version>2.1</maven.checkstyle.plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<nexus.base.url>http://localhost:7910/repository</nexus.base.url>
</properties>
<distributionManagement>
<repository>
<id>nexus-releases</id>
<url>${nexus.base.url}/maven-releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>${nexus.base.url}/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>${jfreechart.version}</version>
</dependency>
<dependency>
<groupId>org.jfree</groupId>
<artifactId>jcommon</artifactId>
<version>${jcommon.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven.checkstyle.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${mavencompiler.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>nexus-releases</serverId>
<nexusUrl>${nexus.base.url}/maven-releases/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.plugin}</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.9</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${maven.versions.plugin}</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<!-- Phase 5e.5b-CFC-d-8/26: Bump JVM heap to 4g + raise metaspace
to 512m to eliminate intermittent NoClassDefFoundError
flakiness from Surefire's forked JVM. Test suite has grown
past ~600 classes after recent production ports; 2g + default
metaspace insufficient. -->
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin}</version>
<configuration>
<argLine>
-Xmx6g
-XX:MaxMetaspaceSize=1g
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin}</version>
<configuration>
<argLine>
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!--
Deploy the parent pom itself to Nexus. Its full staging config
(serverId, nexusUrl, deploy-phase execution, skipStaging) is defined
in <pluginManagement> above; activating it here by reference makes
jquantlib-parent:1.0.0 publishable. Every module declares
<parent>jquantlib-parent</parent>, so without this the published
artifacts are unresolvable from Nexus on a clean machine. The standard
maven-deploy-plugin stays skipped (also via pluginManagement).
-->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${maven.versions.plugin}</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>