Skip to content

Commit 51bb967

Browse files
authored
Make apiguardian and jspecify optional
Stop jspecify and apiguardian being included in library usages by default. Users can still include these explicitly in their projects but shouldn't be relying on them transitively by default. Signed-off-by: ascopes <[email protected]>
1 parent 729f40e commit 51bb967

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

java-compiler-testing/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@
2828

2929
<artifactId>java-compiler-testing</artifactId>
3030

31-
<name>Java Compiler Testing framework</name>
31+
<name>Java Compiler Testing</name>
3232
<!-- Need to override this as Maven injects the wrong URL otherwise -->
3333
<url>https://github.com/${project-slug}</url>
3434

3535
<description>
36-
Microframework geared towards writing declarative integration tests against Java compiler
37-
plugins and annotation processors, with a focus on forwards-compatibility, fluency,
38-
and good testing practises.
36+
Library to help developers write declarative integration tests that call
37+
the Java Compiler toolchain.
3938
</description>
4039

4140
<dependencies>
@@ -52,6 +51,7 @@
5251
<dependency>
5352
<groupId>org.apiguardian</groupId>
5453
<artifactId>apiguardian-api</artifactId>
54+
<optional>true</optional>
5555
</dependency>
5656

5757
<dependency>
@@ -62,13 +62,13 @@
6262
<dependency>
6363
<groupId>org.jspecify</groupId>
6464
<artifactId>jspecify</artifactId>
65+
<optional>true</optional>
6566
</dependency>
6667

6768
<dependency>
6869
<!-- Used to provide convenience annotations -->
6970
<groupId>org.junit.jupiter</groupId>
7071
<artifactId>junit-jupiter-params</artifactId>
71-
<scope>provided</scope>
7272
<optional>true</optional>
7373
</dependency>
7474

0 commit comments

Comments
 (0)