Skip to content

smallrye-pulsar cannot publish message in sample Quarkus project #2567

Answered by ozangunalp
vszakd asked this question in Q&A
Discussion options

You must be logged in to vote

After much searching, I found out why this happens. It is not obvious but possible to resolve this.

The problem stems from the fact that the dependency artifact resolution in Maven and Gradle are different when it comes to the default packaging of transitive dependencies.

In Maven, the dependency type defaults to "jar". But in Gradle, a dependency is resolved by default to the type marked in the artifact description. For example, the org.apache.bookkeeper:circe-checksum artifacts packaging in pom file is nar, but there are artifacts published with type nar jar, see https://repo1.maven.org/maven2/org/apache/bookkeeper/circe-checksum/4.16.1/.
Therefore in Maven the transitive dependency is …

Replies: 11 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ozangunalp
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cescoffier
Comment options

@vszakd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2472 on April 08, 2024 07:21.