build(core): FOP-оверлей ru.pjandro:docx4j-fo-renderer-core 2.12-docx4j.1-pj.2 вместо центрального fop-core
Exclusion org.docx4j:docx4j-fo-renderer-core из docx4j-export-fo + зависимость на собственный форк (word-layout менеджеры: label-align, line-box, tab-транспорт, distribute-пин); тонкий docx4j-fo-renderer с маркером Docx4jFop остаётся. Версия — fop-overlay.version в корневом dependencyManagement.
This commit is contained in:
@@ -26,6 +26,9 @@
|
|||||||
<!-- commons-compress: версию декларирует docx4j-core 17.3.6 (1.28.0);
|
<!-- commons-compress: версию декларирует docx4j-core 17.3.6 (1.28.0);
|
||||||
не завышать — версия привязана к docx4j, а не к свежести -->
|
не завышать — версия привязана к docx4j, а не к свежести -->
|
||||||
<commons-compress.version>1.28.0</commons-compress.version>
|
<commons-compress.version>1.28.0</commons-compress.version>
|
||||||
|
<!-- FOP-оверлей (форк fop-core): репозиторий — Nexus maven-hosted (входит в
|
||||||
|
maven-public); см. AGENTS.md «FOP-оверлей» и ai/xmlgraphics-fop-pj README -->
|
||||||
|
<fop-overlay.version>2.12-docx4j.1-pj.2</fop-overlay.version>
|
||||||
<slf4j.version>2.0.20</slf4j.version>
|
<slf4j.version>2.0.20</slf4j.version>
|
||||||
|
|
||||||
<!-- Spring Boot + springdoc: последние стабильные на Maven Central -->
|
<!-- Spring Boot + springdoc: последние стабильные на Maven Central -->
|
||||||
@@ -77,6 +80,13 @@
|
|||||||
<artifactId>docx4j-export-fo</artifactId>
|
<artifactId>docx4j-export-fo</artifactId>
|
||||||
<version>${docx4j.version}</version>
|
<version>${docx4j.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- FOP-оверлей: наше ядро FOP (форк org.apache.xmlgraphics:fop-core с
|
||||||
|
word-layout менеджером) вместо docx4j-fo-renderer-core из docx4j-export-fo -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>ru.pjandro</groupId>
|
||||||
|
<artifactId>docx4j-fo-renderer-core</artifactId>
|
||||||
|
<version>${fop-overlay.version}</version>
|
||||||
|
</dependency>
|
||||||
<!-- Прямая зависимость ядра (DependencyGuard) + нижний порог
|
<!-- Прямая зависимость ядра (DependencyGuard) + нижний порог
|
||||||
docx4j 17.3.6 — 1.28.0; в Boot-BOM 4.1.1 не управляется -->
|
docx4j 17.3.6 — 1.28.0; в Boot-BOM 4.1.1 не управляется -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -29,6 +29,20 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.docx4j</groupId>
|
<groupId>org.docx4j</groupId>
|
||||||
<artifactId>docx4j-export-fo</artifactId>
|
<artifactId>docx4j-export-fo</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.docx4j</groupId>
|
||||||
|
<artifactId>docx4j-fo-renderer-core</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
<!-- FOP-оверлей (pj): форк fop-core (word-layout менеджеры: label-align,
|
||||||
|
line-box, tab-транпорт, distribute-пин) вместо docx4j-fo-renderer-core;
|
||||||
|
репозиторий — Nexus maven-hosted (входит в maven-public). Тонкий
|
||||||
|
docx4j-fo-renderer (маркер Docx4jFop) остаётся из docx4j-export-fo. -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>ru.pjandro</groupId>
|
||||||
|
<artifactId>docx4j-fo-renderer-core</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Простой логгер в консоль (slf4j). Обязателен: без него docx4j
|
<!-- Простой логгер в консоль (slf4j). Обязателен: без него docx4j
|
||||||
пишет предупреждение прямо в выходной PDF. -->
|
пишет предупреждение прямо в выходной PDF. -->
|
||||||
|
|||||||
Reference in New Issue
Block a user