shoffmeister opened a new issue, #12729:
URL: https://github.com/apache/maven/issues/12729

   ### Affected version
   
   4.0.0-rc6
   
   ### Bug description
   
   4.0.0-rc6 has regressed relative to maven 3 in the treatment of properties 
in aggregator / multi-module project module references.
   
   Maven 3 will interpolate properties, for instance
   
   ```xml
       <properties>
           <version-discriminator>-v14</version-discriminator>
       </properties>
   
       <modules>
           <module>./../module/pom${version-discriminator}.xml</module>
       </modules>
   ```
   will yield the expected result: reactor uses `./../module/pom-v14.xml` as 
the module path
   
   Maven 4.0.0-rc6 will fail with an ERROR
   ```
   [example:aggregator:pom:0.0.1-SNAPSHOT]
     [ERROR] Child subproject .\..\module\pom${version-discriminator}.xml of 
... does not exist @ ...
   ```
   clearly suggesting that no interpolation is taking place for 
`version-discriminator`.
   
   To reproduce, unzip the sample attached project setup, build the aggregator 
with Maven 4 (and Maven 3).
   
   
[mvn4-interpolated-modules.zip](https://github.com/user-attachments/files/30926431/mvn4-interpolated-modules.zip)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to