Skip to content

Commit b63da89

Browse files
committed
add a conditional dep
1 parent 39f31d4 commit b63da89

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

extensions/cyclonedx/deployment/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
<groupId>io.quarkus</groupId>
3232
<artifactId>quarkus-cyclonedx-generator</artifactId>
3333
</dependency>
34+
<dependency>
35+
<groupId>io.quarkus</groupId>
36+
<artifactId>quarkus-cyclonedx-endpoint-deployment</artifactId>
37+
<optional>true</optional>
38+
</dependency>
3439
</dependencies>
3540

3641
<build>

extensions/cyclonedx/endpoint/deployment/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
<groupId>io.quarkus</groupId>
1919
<artifactId>quarkus-core-deployment</artifactId>
2020
</dependency>
21+
<dependency>
22+
<groupId>io.quarkus</groupId>
23+
<artifactId>quarkus-vertx-http-deployment</artifactId>
24+
</dependency>
2125
<dependency>
2226
<groupId>io.quarkus</groupId>
2327
<artifactId>quarkus-cyclonedx-endpoint</artifactId>

extensions/cyclonedx/endpoint/runtime/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,21 @@
1818
<groupId>io.quarkus</groupId>
1919
<artifactId>quarkus-core</artifactId>
2020
</dependency>
21+
<dependency>
22+
<groupId>io.quarkus</groupId>
23+
<artifactId>quarkus-vertx-http</artifactId>
24+
</dependency>
2125
</dependencies>
2226
<build>
2327
<plugins>
2428
<plugin>
2529
<groupId>io.quarkus</groupId>
2630
<artifactId>quarkus-extension-maven-plugin</artifactId>
31+
<configuration>
32+
<dependencyCondition>
33+
<artifact>io.quarkus:quarkus-vertx-http</artifact>
34+
</dependencyCondition>
35+
</configuration>
2736
</plugin>
2837
</plugins>
2938
</build>

extensions/cyclonedx/runtime/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
<groupId>io.quarkus</groupId>
1919
<artifactId>quarkus-core</artifactId>
2020
</dependency>
21+
<dependency>
22+
<groupId>io.quarkus</groupId>
23+
<artifactId>quarkus-cyclonedx-endpoint</artifactId>
24+
<optional>true</optional>
25+
</dependency>
2126
</dependencies>
2227
<build>
2328
<plugins>

0 commit comments

Comments
 (0)