finalize-analizer-agent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.marschall</groupId>
<artifactId>finalize-analizer-agent</artifactId>
<version>1.0.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.marschall</groupId>
<artifactId>finalize-analizer</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>finalize-analizer-agent</artifactId>
<name>finalize Analizer Agent</name>
<description>Java Agent that lists all loaded classes with a finalizer</description>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<java>
<include>true</include>
</java>
<libraries>
<library>
<type>jni</type>
<linkCPP>false</linkCPP>
</library>
</libraries>
</configuration>
<executions>
<execution>
<id>nar-validate</id>
<goals>
<goal>nar-validate</goal>
</goals>
<phase>validate</phase>
</execution>
<execution>
<id>nar-compile</id>
<goals>
<goal>nar-javah</goal>
<goal>nar-compile</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkCount>0</forkCount>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Agent-Class>com.github.marschall.finalizeanalizer.agent.Agent</Agent-Class>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>