Declaring this module as the parent of your project will add basic capabilities for using OT/J in your sources.
This pom supports the dynamic weaving scheme OTDRE. For the traditional OTRE please use org.eclipse.objectteams:objectteams-parent-pom instead.
For simple cases two declarations in your pom will suffice:
<repositories>
<repository>
<id>ObjectTeamsRepository</id>
<name>Object Teams Repository</name>
<url>http://download.eclipse.org/objectteams/maven/3/repository</url>
</repository>
</repositories> <parent>
<groupId>org.eclipse.objectteams</groupId>
<artifactId>objectteams-otdre-parent-pom</artifactId>
<version>2.7.6</version>
</parent>Starting with version 2.1.1 the parent pom also supports using OT/J in tycho builds (projects using OSGi).
See the objectteams-compile-test project for an example of how to use this parent pom.
All OT/J projects using the objectteams-otdre-parent-pom implicitly depend on the following artifacts which are developed independent of maven and simply repackaged using the org.eclipse.objectteams:objectteams-artifact-deployer module:
org.eclipse.objectteams.runtime OSGi bundle.org.eclipse.objectteams.otredyn OSGi bundle.otredyn_agent.jar from the org.eclipse.objectteams.otdt project).org.eclipse.tycho:org.eclipse.jdt.core that enables the org.eclipse.tycho:tycho-compiler-jdt plugin to compile OT/J sources.The following modules are indirectly used:
asm-commons, asm-tree, asm-util and asm-analysis