Слияние docx4j 17.3.5 в wordpdf-core и форк FO-рендерера 2.11-docx4j.8 в реактор
- wordpdf-core/src/main/java впитаны исходники docx4j-core, -export-fo, -chart-render, -JAXB-ReferenceImpl, -copy, -generated-objects (17.3.5) + сгенерированная XJC JAXB-модель; ресурсы — тем же путём; артефакты группы org.docx4j из внешних репозиториев больше не подключаются - vendor/fop: форк docx4j-fo-renderer 2.11-docx4j.8 (util/events/core/fop) собирается в реакторе вместо jar из Nexus - docx2fo.xslt перевендорен со стилем 17.3.5, оба AUDIT-FIX-патча перенесены; дрейф-гейт vendoredXsltTracksJarCopy зелёный - upstream-тесты docx4j перенесены в src/test/java/org (658 классов, вне гейта); execution upstream-docx4j-tests в профиле upstream-tests (./mise.sh run upstream-tests, в pr.yml non-blocking шаг): 3470 тестов, 3457 зелёных, 13 красных — категории окружения/калибровки хоста и следствий слияния classpath задокументированы в docs/agent/testing.md - surefire: провайдер SLF4J фиксируется коротким slf4j.provider по execution; перенесён upstream logback.xml (root=DEBUG без конфига ломает visitor-экспорт VML); upstream-форки пинят JDK JAXP-фабрики; PMD/JaCoCo исключают org/** - wordpdf-app: без изменений кода (зависит от слитого ядра); тесты 44/44 - документация синхронизирована (AGENTS.md, README, docs/agent/*), mise task upstream-tests
This commit is contained in:
Vendored
+233
@@ -0,0 +1,233 @@
|
||||
<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/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.docx4j</groupId>
|
||||
<artifactId>docx4j-fo-renderer-parent</artifactId>
|
||||
<version>2.11-docx4j.8</version>
|
||||
<name>docx4j FO renderer parent</name>
|
||||
<description>docx4j FO renderer, based on Apache FOP's main branch after 2.11 (parent). This is a modified distribution derived from Apache FOP (its main branch after the 2.11 release). It is maintained by Plutext/docx4j and is not an Apache Software Foundation release. Apache FOP is a trademark of the Apache Software Foundation.</description>
|
||||
<packaging>pom</packaging>
|
||||
<url>https://github.com/plutext/xmlgraphics-fop/tree/2.11-docx4j.4</url>
|
||||
|
||||
<properties>
|
||||
<!-- VENDOR (java-word-pdf): версия форка зафиксирована литералом в <version> выше и в
|
||||
<parent> дочерних модулей; схема ${revision} + flatten-maven-plugin удалена вместе с
|
||||
публикационными плагинами — артефакты собираются только внутри reactor'а проекта. -->
|
||||
<ant.version>1.10.14</ant.version>
|
||||
<antrun.plugin.version>1.8</antrun.plugin.version>
|
||||
<batik.version>1.19</batik.version>
|
||||
<build.helper.plugin.version>1.9.1</build.helper.plugin.version>
|
||||
<checkstyle.plugin.version>3.6.0</checkstyle.plugin.version>
|
||||
<commons.io.version>2.17.0</commons.io.version>
|
||||
<commons.logging.version>1.3.0</commons.logging.version>
|
||||
<compiler.plugin.version>3.11.0</compiler.plugin.version>
|
||||
<exec.plugin.version>1.4.0</exec.plugin.version>
|
||||
<findbugs.plugin.version>4.8.4.0</findbugs.plugin.version>
|
||||
<jar.plugin.version>3.1.1</jar.plugin.version>
|
||||
<java.version>8</java.version>
|
||||
<junit.version>4.13.2</junit.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.info.reports.plugin.version>2.8</project.info.reports.plugin.version>
|
||||
<release.plugin.version>2.5.2</release.plugin.version>
|
||||
<surefire.plugin.version>2.18.1</surefire.plugin.version>
|
||||
<war.plugin.version>3.3.2</war.plugin.version>
|
||||
<xml.plugin.version>1.0.1</xml.plugin.version>
|
||||
<xmlgraphics.commons.version>2.11</xmlgraphics.commons.version>
|
||||
<xmlunit.version>1.2</xmlunit.version>
|
||||
<jdk.path>${env.JAVA_HOME}</jdk.path>
|
||||
</properties>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<organization>
|
||||
<name>Plutext Pty Ltd</name>
|
||||
<url>https://www.docx4java.org/</url>
|
||||
</organization>
|
||||
|
||||
<!-- Maven Central requires at least one developer. Mirrors docx4j's own pom. -->
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Jason Harrop</name>
|
||||
<email>jason@plutext.org</email>
|
||||
<organization>Plutext</organization>
|
||||
<organizationUrl>http://www.plutext.com</organizationUrl>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<modules>
|
||||
<!-- docx4j-fo-renderer: only the modules docx4j consumes are built; fop-sandbox,
|
||||
fop-servlet and the transcoders stay in the tree, unmodified and unbuilt, so that
|
||||
merges from upstream apply cleanly. -->
|
||||
<module>fop</module>
|
||||
<module>fop-core</module>
|
||||
<module>fop-events</module>
|
||||
<module>fop-util</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<tags>
|
||||
<tag>
|
||||
<name>event.severity</name>
|
||||
</tag>
|
||||
</tags>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle.plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${compiler.plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${jar.plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>${project.info.reports.plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${surefire.plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<version>${findbugs.plugin.version}</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<!-- VENDOR (java-word-pdf): javax.media:jai-core и com.sun.media:jai-codec 1.1.3 —
|
||||
compile-only (provided) зависимости fop-core, отсутствующие в Maven Central
|
||||
(upstream брал их из jboss thirdparty-releases, куда зеркало mirrorOf=* не
|
||||
пускает). jar'ы лежат в vendor/fop/lib/ и ставятся в локальный репозиторий
|
||||
на фазе initialize родителя — она выполняется до разрешения зависимостей
|
||||
дочерних модулей того же reactor'а. Операция локальная и офлайн-безопасная. -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-thirdparty-jai-core</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${project.basedir}/lib/jai-core-1.1.3.jar</file>
|
||||
<groupId>javax.media</groupId>
|
||||
<artifactId>jai-core</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>install-thirdparty-jai-codec</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>install-file</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<file>${project.basedir}/lib/jai-codec-1.1.3.jar</file>
|
||||
<groupId>com.sun.media</groupId>
|
||||
<artifactId>jai-codec</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<packaging>jar</packaging>
|
||||
<generatePom>true</generatePom>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>custom-javac</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>jdk.path</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${compiler.plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<executable>${jdk.path}/bin/javac</executable>
|
||||
<fork>true</fork>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java-8-api</id>
|
||||
<activation>
|
||||
<jdk>[9,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<!-- VENDOR (java-word-pdf): профиль release (gpg/javadoc/source для Central) удалён —
|
||||
форк не публикуется, он собирается reactor-модулем wordpdf. -->
|
||||
<profile>
|
||||
<id>spotbugs-java11</id>
|
||||
<activation>
|
||||
<jdk>[11,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<findbugs.plugin.version>4.8.6.7</findbugs.plugin.version>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://github.com/plutext/xmlgraphics-fop.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:plutext/xmlgraphics-fop.git</developerConnection>
|
||||
<url>https://github.com/plutext/xmlgraphics-fop/tree/2.11-docx4j.8</url>
|
||||
<tag>2.11-docx4j.8</tag>
|
||||
</scm>
|
||||
|
||||
<!-- VENDOR (java-word-pdf): блоки <repositories> (central/apache.snapshots/jboss) и
|
||||
<distributionManagement> удалены — разрешения перехватывает зеркало mirrorOf=* из
|
||||
~/.m2/settings.xml, публикаций из дерева нет. -->
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user