Skip to content

Commit

Permalink
Add note about multiple optional dependencies
Browse files Browse the repository at this point in the history
This adds a note when one needs to declare more than one optional dependency when building several artifacts from a single module
  • Loading branch information
gastaldi authored and gsmet committed Jul 21, 2022
1 parent da77e2c commit c72cb0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/maven-tooling.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,8 @@ To isolate profile-specific dependencies from other profiles, the JDBC drivers c
<2> For backward compatibility reasons, it is necessary to explicitly indicate that the optional dependencies need to be filtered.
<3> Only the optional dependency corresponding to the JDBC driver of PostgreSQL is expected in the final artifact.

NOTE: If you have more than one optional dependency to declare in the `quarkus.package.included-optional-dependencies` tag, make sure they are separated with `,` (e.g. `org.postgresql:postgresql::jar,com.foo:bar::jar`).

[[configuration-reference]]
== Configuring the Project Output

Expand Down

0 comments on commit c72cb0d

Please sign in to comment.