Apache Maven Project
If your application is a Maven Project:
- Add the following code to the
<dependencies>
section:<dependency> <groupId>com.appdynamics</groupId> <artifactId>appdynamics-runtime</artifactId> <version>1.0</version> </dependency>
- Add the following code to the
<plugins>
section:<plugin> <groupId>com.appdynamics</groupId> <artifactId>appdynamics-maven-plugin</artifactId> <version>1.0</version> <executions> <execution> <phase>implementation</phase> <goals> <goal>adinject</goal> </goals> </execution> </executions> </plugin>