DMAAP - Kafka issue fix 33/122633/2
authordavid.mcweeney <david.mcweeney@est.tech>
Wed, 14 Jul 2021 14:16:40 +0000 (15:16 +0100)
committerFiachra Corcoran <fiachra.corcoran@est.tech>
Wed, 14 Jul 2021 15:03:06 +0000 (15:03 +0000)
Change-Id: I74150adc67d880cd5e37d858c2688ee8ed060c12
Signed-off-by: david.mcweeney@est.tech
Issue-ID: DMAAP-209

pom.xml

diff --git a/pom.xml b/pom.xml
index 62c0288..be2e4ae 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,13 +1,13 @@
-<!-- ============LICENSE_START======================================================= 
-       org.onap.dmaap ================================================================================ 
-       Copyright Â© 2017 AT&T Intellectual Property. All rights reserved. ================================================================================ 
-       Licensed under the Apache License, Version 2.0 (the "License"); you may not 
-       use this file except in compliance with the License. You may obtain a copy 
-       of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-       by applicable law or agreed to in writing, software distributed under the 
-       License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-       OF ANY KIND, either express or implied. See the License for the specific 
-       language governing permissions and limitations under the License. ============LICENSE_END========================================================= 
+<!-- ============LICENSE_START=======================================================
+       org.onap.dmaap ================================================================================
+       Copyright Â© 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
+       Licensed under the Apache License, Version 2.0 (the "License"); you may not
+       use this file except in compliance with the License. You may obtain a copy
+       of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+       by applicable law or agreed to in writing, software distributed under the
+       License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+       OF ANY KIND, either express or implied. See the License for the specific
+       language governing permissions and limitations under the License. ============LICENSE_END=========================================================
        ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -47,6 +47,8 @@
     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**
     </sonar.exclusions>
     <powermock.version>1.6.4</powermock.version>
+    <maven.compiler.source>11</maven.compiler.source>
+    <maven.compiler.target>11</maven.compiler.target>
   </properties>
 
   <distributionManagement>
       </resource>
     </resources>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>${maven.compiler.source}</source>
+          <target>${maven.compiler.target}</target>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>3.0.0-M1</version>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
     </plugins>
   </build>