Skip to content

Ensure Lombok is not included transitively#36

Open
fwdekker wants to merge 1 commit intosisyphsu:masterfrom
fwdekker:master
Open

Ensure Lombok is not included transitively#36
fwdekker wants to merge 1 commit intosisyphsu:masterfrom
fwdekker:master

Conversation

@fwdekker
Copy link

Fixes #30. That is, ensures that other tools that rely on dateparser do not unnecessarily include the entire Lombok library.

As explained in the Maven FAQ:

How do I prevent including JARs in WEB-INF/lib? I need a "compile only" scope!

The scope you should use for this is provided. This indicates to Maven that the dependency will be provided at run time by its container or the JDK, for example.

Dependencies with this scope will not be passed on transitively, nor will they be bundled in a package such as a WAR, or included in the runtime classpath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lombok dependency leaking into projects that use Dateparser

1 participant