I am trying to reference a file in a folder in a parent pom project from inside the parent pom file. The plugin is as follows
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<executions>
<execution>
<id>assemble</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
<descriptors>
<descriptor>\win-assemble\fitech-java-service-windows-package.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
The package directory looks as follows
If i hard code the path to the file on the filesystem then my parent projects build correctly. Without using a hardcoded path i cannot reference this file at all. Does anyone know how to solve this please?
Thanks