POM: Mark compile-time dependencies as non-optional.

While they are optional when running on the class path, they are
required when running on the module path.

Change-Id: I6816de2b5a44243a4fbd70a0f7fe002b19fe1177
diff --git a/pom.xml b/pom.xml
index 25241b2..16c4e91 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,34 +74,22 @@
     </snapshotRepository>
   </distributionManagement>
 
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>com.google.errorprone</groupId>
-        <artifactId>error_prone_annotations</artifactId>
-        <version>${errorprone.version}</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
   <dependencies>
     <!-- Annotations -->
     <dependency>
       <groupId>com.google.errorprone</groupId>
       <artifactId>error_prone_annotations</artifactId>
-      <optional>true</optional>
+      <version>${errorprone.version}</version>
     </dependency>
     <dependency>
       <groupId>org.jetbrains</groupId>
       <artifactId>annotations</artifactId>
       <version>${jetbrains-annotations.version}</version>
-      <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>org.apiguardian</groupId>
       <artifactId>apiguardian-api</artifactId>
       <version>${apiguardian.version}</version>
-      <optional>true</optional>
     </dependency>
 
     <!-- Testing -->