Skip to content

Commit 39f70d6

Browse files
dfa1claude
andcommitted
build: add BOM module
Publishable artifact io.github.dfa1.vortex:bom that users import in <dependencyManagement> to get consistent versions across all vortex-java modules (core, reader, writer, csv, parquet). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 8f9f9ed commit 39f70d6

3 files changed

Lines changed: 48 additions & 1 deletion

File tree

TODO.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ Remaining 0.3 MB gap — biggest to smallest:
6262
boundaries. Keep `integration`, `performance`, and `cli` as separate modules. Package structure
6363
(`encoding`, `io`, `writer`) already enforces internal boundaries without Maven.
6464
- [ ] prefix all modules with "vortex-"
65-
- [ ] add BOM module
6665
- [ ] deploy to maven central
6766
- [ ] switch back to module-path, but keep in mind these 2 blockers
6867

bom/pom.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>io.github.dfa1.vortex</groupId>
8+
<artifactId>vortex-java</artifactId>
9+
<version>0.1.0-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>bom</artifactId>
13+
<packaging>pom</packaging>
14+
15+
<name>vortex-java-bom</name>
16+
<description>Bill of Materials for vortex-java. Import this POM in dependencyManagement to get consistent versions of all vortex-java modules.</description>
17+
18+
<dependencyManagement>
19+
<dependencies>
20+
<dependency>
21+
<groupId>io.github.dfa1.vortex</groupId>
22+
<artifactId>core</artifactId>
23+
<version>${project.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>io.github.dfa1.vortex</groupId>
27+
<artifactId>reader</artifactId>
28+
<version>${project.version}</version>
29+
</dependency>
30+
<dependency>
31+
<groupId>io.github.dfa1.vortex</groupId>
32+
<artifactId>writer</artifactId>
33+
<version>${project.version}</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>io.github.dfa1.vortex</groupId>
37+
<artifactId>csv</artifactId>
38+
<version>${project.version}</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>io.github.dfa1.vortex</groupId>
42+
<artifactId>parquet</artifactId>
43+
<version>${project.version}</version>
44+
</dependency>
45+
</dependencies>
46+
</dependencyManagement>
47+
</project>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<module>writer</module>
4444
<module>csv</module>
4545
<module>parquet</module>
46+
<module>bom</module>
4647
<module>cli</module>
4748
<module>integration</module>
4849
<module>performance</module>

0 commit comments

Comments
 (0)