Update Error Prone and maven versions

PiperOrigin-RevId: 373889180
diff --git a/pom.xml b/pom.xml
index d9ac81d..9ffd24e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,9 +31,10 @@
   </description>
 
   <properties>
-    <asm.version>9.0</asm.version>
+    <asm.version>9.1</asm.version>
     <javac.version>9+181-r4173-1</javac.version>
     <guava.version>30.0-jre</guava.version>
+    <errorprone.version>2.7.1</errorprone.version>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 
@@ -46,7 +47,7 @@
     <dependency>
       <groupId>com.google.errorprone</groupId>
       <artifactId>error_prone_annotations</artifactId>
-      <version>2.5.1</version>
+      <version>${errorprone.version}</version>
     </dependency>
     <dependency>
       <groupId>org.checkerframework</groupId>
@@ -174,7 +175,7 @@
             <path>
               <groupId>com.google.errorprone</groupId>
               <artifactId>error_prone_core</artifactId>
-              <version>2.5.1</version>
+              <version>${errorprone.version}</version>
             </path>
             <path>
               <groupId>com.google.auto.value</groupId>