The semantic DOCX/PPTX backend — the only code that ever touched POI — - * lives in the separate {@code graph-compose-render-docx} module. The engine + *
The semantic DOCX backend — the only code that ever touched POI — lives in + * the separate {@code graph-compose-render-docx} module (the POI-free PPTX backend + * moved to {@code graph-compose-render-pptx}). The engine * (root module) must stay free of every {@code org.apache.poi.*} import or * fully-qualified reference so it never drags {@code poi-ooxml} back onto its * classpath.
@@ -50,7 +51,7 @@ void poiShouldStayOutOfTheEngineModule() throws IOException { assertThat(violations) .describedAs("Apache POI must stay out of the lean engine module. The semantic " - + "DOCX/PPTX backend lives in graph-compose-render-docx — keep every " + + "DOCX backend (the only POI code) lives in graph-compose-render-docx — keep every " + "org.apache.poi.* import and reference there, not under com.demcha.compose.") .isEmpty(); } diff --git a/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java b/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java index 8cbf68e6..6ae30db8 100644 --- a/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java +++ b/src/test/java/com/demcha/documentation/VersionConsistencyGuardTest.java @@ -64,6 +64,9 @@ void everyModuleResolvesToTheRootProjectVersion() throws Exception { assertThat(effectiveVersion(PROJECT_ROOT.resolve("render-docx/pom.xml"))) .describedAs("render-docx (graph-compose-render-docx) tracks the engine line and must equal the root version (%s)", root) .isEqualTo(root); + assertThat(effectiveVersion(PROJECT_ROOT.resolve("render-pptx/pom.xml"))) + .describedAs("render-pptx (graph-compose-render-pptx) tracks the engine line and must equal the root version (%s)", root) + .isEqualTo(root); assertThat(effectiveVersion(PROJECT_ROOT.resolve("testing/pom.xml"))) .describedAs("testing (graph-compose-testing) tracks the engine line and must equal the root version (%s)", root) .isEqualTo(root);