diff --git a/pom.xml b/pom.xml
index 8bb83ba6543232ba3c54b6d0d694e7b7202ec979..ec9b48285a44fa8bcb070f5fdaba72e855dacf2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,7 +93,6 @@
 					<artifactId>spring-boot-maven-plugin</artifactId>
 					<version>${spring.boot.version}</version>
 					<executions>
-
 						<execution>
 							<id>repackage</id>
 							<goals>
@@ -135,6 +134,7 @@
 						<argLine>
 							--illegal-access=permit
 						</argLine>
+						<classesDirectory>${project.build.outputDirectory}</classesDirectory>
 					</configuration>
 					<executions>
 						<execution>