Commit 78c382b
committed
Rename langchain4j module to llama-langchain4j; wire CI build/test + Central publish
Cleans up the integration of the merged langchain4j adapters (PR #284) so the
module is built, gated, version-locked and releasable — without touching the
native build/release pipeline.
- Rename artifact + directory langchain4j-jllama -> llama-langchain4j so it
groups with the core net.ladenthin:llama family (Java package unchanged).
- Pin the core dependency to ${project.version} (drops the drift-prone
jllama.version property); a CI guard fails the build if the module version
ever diverges from the core version (standalone module can't inherit it from
a reactor).
- Add per-artifact release plumbing (sources + javadoc + gpg + Central
Publishing) mirroring the core release profile, so the module can deploy to
Maven Central at the same version.
- publish.yml: new test-java-llama-langchain4j job (install core Java jar,
version-lockstep guard, mvn verify — builds the javadoc jar so a release-time
javadoc break is caught in PR CI). publish-snapshot/publish-release now
depend on it and deploy the module alongside the core.
- REUSE.toml + README updated to the new name; CLAUDE.md documents the module,
why it is a separate artifact (not a classifier), and the CI/publish wiring.
Verified locally: core Java jar installs, module builds green (7 mapping tests
pass, 2 model-backed integration tests self-skip), and the main/sources/javadoc
jars all build under doclint=all.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rt1paYztGJ2AKUuBuAGDXE1 parent b5ee309 commit 78c382b
14 files changed
Lines changed: 304 additions & 100 deletions
File tree
- .github/workflows
- langchain4j-jllama
- llama-langchain4j
- src
- main/java/net/ladenthin/llama/langchain4j
- test/java/net/ladenthin/llama/langchain4j
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 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 | + | |
96 | 135 | | |
97 | 136 | | |
98 | 137 | | |
| |||
1665 | 1704 | | |
1666 | 1705 | | |
1667 | 1706 | | |
1668 | | - | |
| 1707 | + | |
1669 | 1708 | | |
1670 | 1709 | | |
1671 | 1710 | | |
| |||
1731 | 1770 | | |
1732 | 1771 | | |
1733 | 1772 | | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1734 | 1783 | | |
1735 | 1784 | | |
1736 | 1785 | | |
1737 | 1786 | | |
1738 | 1787 | | |
| 1788 | + | |
| 1789 | + | |
1739 | 1790 | | |
1740 | 1791 | | |
1741 | 1792 | | |
| |||
1770 | 1821 | | |
1771 | 1822 | | |
1772 | 1823 | | |
1773 | | - | |
| 1824 | + | |
1774 | 1825 | | |
1775 | 1826 | | |
1776 | 1827 | | |
| |||
1826 | 1877 | | |
1827 | 1878 | | |
1828 | 1879 | | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
1829 | 1890 | | |
1830 | 1891 | | |
1831 | 1892 | | |
1832 | 1893 | | |
1833 | 1894 | | |
| 1895 | + | |
| 1896 | + | |
1834 | 1897 | | |
1835 | 1898 | | |
1836 | 1899 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1219 | 1219 | | |
1220 | 1220 | | |
1221 | 1221 | | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
1222 | 1264 | | |
1223 | 1265 | | |
1224 | 1266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
This file was deleted.
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments