asyncapi / jasyncapi

/jay-sync-api/ is a Java code-first tool for AsyncAPI specification
Apache License 2.0
67 stars 23 forks source link

[BUG] [asyncapi-core] lombok dependency should be marked as `provided` #205

Open kchaber opened 3 weeks ago

kchaber commented 3 weeks ago

Describe the bug.

Currently, the asyncapi-core uses the lombok dependency in the default/compile maven scope. This results in having the lombok dependency in the final jar, which can cause various compile problems in projects using the asyncapi.

<!-- Code generation -->
<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
</dependency>

Expected behavior

As per lombok docs the lombok dependency should be marked as provided

<!-- Code generation -->
<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <scope>provided<scope>
</dependency>

Screenshots

N/A

How to Reproduce

  1. Build the project
  2. Check if the lombok is present in the final jar

🥦 Browser

None

👀 Have you checked for similar open issues?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None