build: flatten the reactor root POM so the publisher can accept it

The reactor root (qbit-scripting-reactor, pom packaging, version ${revision}) is itself a module
the qrun publisher captures and enrolls; without the flatten plugin its consumer POM keeps the
unresolved ${revision} and the publisher rejects it. No source or dependency change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
James MaesandClaude Sonnet 5.5 authored and james.maes committed 2026-11-05 17:23:52 -06:00
1 parent fc3cecb824
commit 2942213e9f
1 file changed
+11
+11
View File
@@ -18,4 +18,15 @@
<module>middleware</module>
<module>github</module>
</modules>
<build><plugins>
<plugin>
<!-- The reactor root is itself a published pom-packaging module: publish a consumer POM with ${revision} resolved. -->
<groupId>org.codehaus.mojo</groupId><artifactId>flatten-maven-plugin</artifactId><version>1.7.3</version>
<configuration><updatePomFile>true</updatePomFile><flattenMode>ossrh</flattenMode></configuration>
<executions>
<execution><id>flatten</id><phase>process-resources</phase><goals><goal>flatten</goal></goals></execution>
<execution><id>flatten.clean</id><phase>clean</phase><goals><goal>clean</goal></goals></execution>
</executions>
</plugin>
</plugins></build>
</project>