diff --git a/CityDoctorParent/pom.xml b/CityDoctorParent/pom.xml
index 41c06311c3a1377d6ec6a30b7e2a05e47ca4fab4..e018e313803da68fb822688c36fc64d1b9b3fb84 100644
--- a/CityDoctorParent/pom.xml
+++ b/CityDoctorParent/pom.xml
@@ -53,7 +53,11 @@
                     <artifactId>maven-compiler-plugin</artifactId>
                     <version>3.13.0</version>
                     <configuration>
+                        <source>17</source>
+                        <target>17</target>
                         <compilerId>eclipse</compilerId>
+                        <showWarnings>true</showWarnings>
+                        <showDeprecation>true</showDeprecation>
                     </configuration>
                     <dependencies>
                         <dependency>
@@ -235,6 +239,16 @@
                 <version>2.15.0</version>
                 <type>pom</type>
             </dependency>
+            <dependency>
+                <groupId>org.codehaus.plexus</groupId>
+                <artifactId>plexus-compiler-eclipse</artifactId>
+                <version>2.15.0</version>
+            </dependency>
+            <dependency>
+                <groupId>org.eclipse.jdt</groupId>
+                <artifactId>ecj</artifactId>
+                <version>3.38.0</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
     <dependencies>