build: flatten published poms so snapshots resolve (QRun-IO/qqq#785) #4
No files matched your search
@@ -23,3 +23,6 @@ Thumbs.db
|
||||
generated/
|
||||
|
||||
.claude/
|
||||
|
||||
# flatten-maven-plugin output
|
||||
.flattened-pom.xml
|
||||
@@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Upgraded to QQQ 0.35.0 with Java 21 support
|
||||
- Re-pinned to qbit-build-parent 2.0.0 (QQQ 4.0.0); opt-in `qqq-snapshot` Maven profile builds against QQQ 4.1.0-SNAPSHOT
|
||||
|
||||
### Fixed
|
||||
- Published module poms name their parent by its real version instead of `${revision}` (flatten-maven-plugin)
|
||||
|
||||
## [0.1.0-alpha] - 2024-12-28
|
||||
|
||||
### Added
|
||||
|
||||
@@ -93,6 +93,34 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<!-- Replace ${revision} with its value in the poms that get installed and published. -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>1.7.3</version>
|
||||
<configuration>
|
||||
<updatePomFile>true</updatePomFile>
|
||||
<flattenMode>resolveCiFriendliesOnly</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>
|
||||
|
||||
<profiles>
|
||||
|
||||
Reference in new issue
Block a user