GUACAMOLE-2139: Ensure properties like "revision" remain safe for downstream use.

This also removes the need to publish the parent POM as part of the
release for guacamole-common and guacamole-ext.
This commit is contained in:
Michael Jumper committed 2025-12-25 14:55:56 -08:00
1 parent 87371e608c
commit 8fe49c3ab9
2 files changed
+31

No files matched your search

+1
View File
@@ -1,2 +1,3 @@
*~ *~
target/ target/
.flattened-pom.xml
+30
View File
@@ -207,6 +207,36 @@
</executions> </executions>
</plugin> </plugin>
<!-- Bake-in properties like ${revision} so that downstream users of
libraries can freely use these properties for their own purposes.
This also removes the need to publish the guacamole-client parent
pom.xml to Maven Central. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.7.3</version>
<configuration>
<flattenMode>oss</flattenMode>
<updatePomFile>true</updatePomFile>
</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> </plugins>
<pluginManagement> <pluginManagement>