diff --git a/webgoat-lessons/pom.xml b/webgoat-lessons/pom.xml
index 959f701ad..1294595d7 100644
--- a/webgoat-lessons/pom.xml
+++ b/webgoat-lessons/pom.xml
@@ -136,7 +136,7 @@
                                     <type>${project.packaging}</type>
                                 </artifactItem>
                             </artifactItems>
-                            <outputDirectory>../../webgoat-container/src/main/resources/plugin_lessons</outputDirectory>
+                            <outputDirectory>${project.basedir}/../webgoat-container/src/main/resources/plugin_lessons</outputDirectory>
                         </configuration>
                     </execution>
                 </executions>