Provide and Embed

Dependencies

Define a dependency using <groupId>:<artifactId>:<version>.
If you want to add multiple dependencies, you need to use one line for each dependency.
Currently, you can only use MVNRepository to get dependencies from.
Note: This article is only important, when you want to publish your addon!

Structure

The PROVIDE and the EMBED File need to be placed in the root directory of your project! Both are optional and only important when you need to include a dependency.

Provide

Add a dependency to the build cycle. Not including it into the addon!

Example of the PROVIDE File

1
org.projectlombok:lombok:1.16.12

Embed

Add a dependency to the build cycle. Include it into the addon!

Example of the EMBED File

1
2
org.javassist:javassist:3.22.0-GA
com.github.ben-manes.caffeine:caffeine:2.6.2

Important

Both Files can only contain valid Dependency Classifier's. If something is wrong, your Addon get's rejected!