removed java8 and java11 profiles from pom

removed java8 and java11 profiles from pom

Issue-ID: SO-3143
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I463f03f68e6c628fb3e84334460ef5c1ac119258
diff --git a/pom.xml b/pom.xml
index 6b7fb81..edca835 100644
--- a/pom.xml
+++ b/pom.xml
@@ -242,6 +242,10 @@
           <compilerArgs>
             <arg>-parameters</arg>
           </compilerArgs>
+          <forceJavacCompilerUse>true</forceJavacCompilerUse>
+          <source>11</source>
+          <target>11</target>
+          <release>11</release>
         </configuration>
       </plugin>
       <plugin>
@@ -995,46 +999,5 @@
         <originalClassifier />
       </properties>
     </profile>
-    <profile>
-      <id>java8</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <version>3.8.0</version>
-            <configuration>
-              <forceJavacCompilerUse>true</forceJavacCompilerUse>
-              <source>${java.version}</source>
-              <target>${java.version}</target>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-      <activation>
-        <property>
-          <name>m2e.version</name>
-        </property>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-    </profile>
-    <profile>
-      <id>java11</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-            <version>3.8.0</version>
-            <configuration>
-              <forceJavacCompilerUse>true</forceJavacCompilerUse>
-              <source>11</source>
-              <target>11</target>
-              <release>11</release>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
-</project>
\ No newline at end of file
+</project>