Hello,

I can not figer out, how to get this working...

I would like to refer a config-file resource from a parent pom directory, but 
when I insert this code to my child pom file:

<build>
    <resources>
                               <resource>
                                 
<directory>${project.basedir}/src/main/resources</directory>
                                 <filtering>true</filtering>
                               </resource>
                               <resource>
                                 
<directory>${project.parent.basedir}/src/main/config</directory>
                                 <filtering>true</filtering>
                               </resource>
    </resources>
...
</build>


I get the following error message

[INFO] skip non existing resourceDirectory 
C:\Users\myname\workspace\parent\child\${project.parent.basedir}\src\main\config

For some reason I do not know, this property is not replaced with the expected 
value. Any ideas?

Kind regards
Jan

Reply via email to