aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-12-18 20:30:19 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2021-12-18 20:30:19 +0100
commit4d29307445498d9c28071806d6020a722ffac394 (patch)
tree669cb978485b10b21a5f37c247b67897d4dafc0f
parent9ca2fc2e1bd2416fdd7ffe15d6251d70064e122f (diff)
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
-rw-r--r--pom.xml14
1 files changed, 1 insertions, 13 deletions
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 -->