I am trying to append folder before for all classpath entries in manifest file. As you can see in pom file below, I am using jar plugin to add classpath entries to manifest. With dependency plugin I am copying dependencies to ${project.build.directory}/${finalName}-lib folder. I want to keep these dependencies in that folder and change classpath entries to match ${finalName}-lib folder