Dependencies are provided through the use of a bom dependency.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.dragee</groupId>
<artifactId>dragee-bom</artifactId>
<version>${dragee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
This dependency is mandatory in order to process objects that are assignable to dragee.
<dependencies>
<dependency>
<groupId>io.dragee</groupId>
<artifactId>annotation-processor</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>io.dragee</groupId>
<artifactId>annotation-processor</artifactId>
<version>${dragee.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
Core annotations of Dragee format. It is already provided by the annotation-processor.
<dependency>
<groupId>io.dragee</groupId>
<artifactId>core-annotations</artifactId>
<scope>provided</scope>
</dependency>
All the annotations relative to DDD tactical patterns.
<dependency>
<groupId>io.dragee</groupId>
<artifactId>ddd-annotations</artifactId>
<scope>provided</scope>
</dependency>