Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
278 lines (254 loc) · 10.7 KB
/
Copy pathpom.xml
File metadata and controls
278 lines (254 loc) · 10.7 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
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
<?xml version="1.0" encoding="UTF-8"?>
<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.sequeless</groupId>
<artifactId>sequeless-parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>sequeless-parent</name>
<description>
Root reactor POM for Sequeless. Deliberately has no Maven parent: it imports the Spring Boot
dependencies BOM and pins its own plugin versions, so sequeless-spi does not inherit Spring
Boot's build conventions (Lombok/Spring must stay out of the SPI and core modules).
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>25</maven.compiler.release>
<spring-boot.version>4.1.1</spring-boot.version>
<archunit.version>1.5.0</archunit.version>
<japicmp.version>0.26.2</japicmp.version>
<lombok.version>1.18.48</lombok.version>
<jena.version>6.1.0</jena.version>
<jexl.version>3.6.2</jexl.version>
<springdoc.version>3.1.1</springdoc.version>
<temporal.version>1.39.0</temporal.version>
<maven-compiler-plugin.version>3.16.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.6.0</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.6.0</maven-failsafe-plugin.version>
<maven-enforcer-plugin.version>3.6.3</maven-enforcer-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--
junit-jupiter, assertj-core, mockito and testcontainers versions come from the Spring Boot
BOM above (imported as spring-boot-dependencies) and must NOT be repinned here.
-->
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>${archunit.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<!--
Jena 6 for the default OntologyPort adapter. jena-ontapi transitively brings jena-arq,
jena-core and jena-base; it does NOT bring Jackson (Jena 6 uses gson and titanium-json-ld),
so nothing here contends with the Spring Boot BOM. The one genuine clash is
org.slf4j:jcl-over-slf4j, which ships the same org.apache.commons.logging classes as Boot's
spring-jcl; it is excluded at the point of use in the adapter module rather than banned
here, because only that module pulls it in.
-->
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-ontapi</artifactId>
<version>${jena.version}</version>
</dependency>
<!--
jena-shacl backs the SHACL ValidationPort adapter (Phase 2, T8). Declared here alongside
jena-ontapi even though T5 does not use it yet, so both Jena artifacts are pinned to the
same ${jena.version} from one place.
-->
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-shacl</artifactId>
<version>${jena.version}</version>
</dependency>
<!--
springdoc 3.x is the Spring Boot 4 line (3.1.1 builds against spring-boot-starter-parent
4.1.0); the 2.x line targets Boot 3 and will not bind here.
-->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>
<!--
Commons JEXL 3 for the default ExpressionPort adapter. 3.6.2 is the latest stable 3.x on
Maven Central (verified during Phase 5 T5). JEXL has very few transitive dependencies and
pulls in no Jackson/logging library that would contend with the Spring Boot BOM above.
-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jexl3</artifactId>
<version>${jexl.version}</version>
</dependency>
<!--
Temporal Java SDK for the default AutomationPort adapter (sequeless-adapter-automation-
temporal), 1.39.0 verified as the latest stable 1.x on Maven Central as of Phase 5 T10.
temporal-spring-boot-starter is deliberately NOT used here: verified (mvn dependency:tree)
that it transitively pulls Spring Boot 2.7.18 (spring-boot-starter/spring-boot-
autoconfigure 2.7.18), incompatible with this project's Boot 4.1.1 line and a real risk of
NoSuchMethodError/ClassNotFoundException from stale bytecode even after dependencyManagement
force-upgrades the jar versions. This adapter hand-rolls its own @AutoConfiguration against
the dependency-free temporal-sdk instead, exactly like every other adapter in this repo.
-->
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-sdk</artifactId>
<version>${temporal.version}</version>
</dependency>
<dependency>
<groupId>io.temporal</groupId>
<artifactId>temporal-testing</artifactId>
<version>${temporal.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<release>25</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<!--
Version only, no executions here: Failsafe is reserved for the Testcontainers
integration tests introduced in Phase 2.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
</plugin>
<!--
Full japicmp configuration lives here so a bare <plugin> declaration in a module's own
<build><plugins> (e.g. sequeless-spi) inherits both this configuration and the
japicmp-verify execution bound to the verify phase. No sequeless-spi artifact has ever
been published, so oldVersion RELEASE fails to resolve; ignoreMissingOldVersion makes
that a skipped no-op today. This becomes a real compatibility gate once an SPI GA is
published.
-->
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>${japicmp.version}</version>
<configuration>
<oldVersion>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>RELEASE</version>
<type>jar</type>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.build.finalName}.${project.packaging}</path>
</file>
</newVersion>
<parameter>
<ignoreMissingOldVersion>true</ignoreMissingOldVersion>
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<onlyBinaryIncompatible>true</onlyBinaryIncompatible>
</parameter>
</configuration>
<executions>
<execution>
<id>japicmp-verify</id>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<!--
Inherited by every module. japicmp and the bannedDependencies enforcer execution are
deliberately NOT declared here - they are activated per-module (sequeless-spi and
sequeless-core) once those modules exist.
-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-versions</id>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.9,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[25,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!--
Executions declared here (not in pluginManagement, which only pins the version) so every
reactor module inherits them: any module with a class matching Failsafe's default
**/*IT.java pattern automatically runs it during mvn verify. Surefire's own default
excludes already skip **/*IT.java, so there is no double-run risk.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>sequeless-spi</module>
<module>sequeless-spi-testkit</module>
<module>sequeless-core</module>
<module>sequeless-adapter-authz-permitall</module>
<module>sequeless-adapter-ontology-jena</module>
<module>sequeless-adapter-persistence-postgres</module>
<module>sequeless-adapter-expression-jexl</module>
<module>sequeless-adapter-automation-temporal</module>
<module>sequeless-adapter-automation-inprocess</module>
<module>sequeless-app</module>
</modules>
</project>