mixin-annotation-processor
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>guru.mocker.annotation</groupId> <artifactId>mixin-annotation-processor</artifactId> <version>1.1.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>guru.mocker.annotation</groupId> <artifactId>mixin</artifactId> <version>1.1.0</version> </parent> <artifactId>mixin-annotation-processor</artifactId> <name>Mocker Guru Mixin Annotation Processor</name> <description>Mocker Guru's Mixin project annotation processor module. This contains the Mixin annotation processor to generate the forwarder class source code.</description> <properties> <guru.mocker.mixin.scm.url>https://bitbucket.org/mocker-guru/mixin.git</guru.mocker.mixin.scm.url> <version.junit5>5.12.2</version.junit5> <version.google-java-format>1.27.0</version.google-java-format> <version.hamcrest>3.0</version.hamcrest> <version.mockito-junit-jupiter>5.18.0</version.mockito-junit-jupiter> <sonar-maven-plugin.version>5.1.0.4751</sonar-maven-plugin.version> <sonar.host.url>https://sonarcloud.io</sonar.host.url> <sonar.organization>mocker-guru</sonar.organization> <sonar.projectName>Mixin</sonar.projectName> <sonar.projectKey>mocker-guru_mixin</sonar.projectKey> </properties> <dependencies> <dependency> <groupId>guru.mocker.annotation</groupId> <artifactId>mixin-annotation</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </dependency> <dependency> <groupId>com.squareup</groupId> <artifactId>javapoet</artifactId> <version>1.13.0</version> </dependency> <dependency> <groupId>com.google.auto.service</groupId> <artifactId>auto-service</artifactId> <version>1.1.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${version.junit5}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${version.junit5}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${version.junit5}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <version>${version.hamcrest}</version> <scope>test</scope> </dependency> <dependency> <groupId>guru.mocker.hamcrest</groupId> <artifactId>hamcrest-date</artifactId> <version>3.0.0</version> </dependency> <dependency> <groupId>io.toolisticon.cute</groupId> <artifactId>cute</artifactId> <version>1.8.0</version> <scope>test</scope> <exclusions> <exclusion> <groupId>io.toolisticon.cute</groupId> <artifactId>extension-modulesupport</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.googlejavaformat</groupId> <artifactId>google-java-format</artifactId> <version>${version.google-java-format}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>7.2.1.202505142326-r</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${version.mockito-junit-jupiter}</version> <scope>test</scope> </dependency> </dependencies> <build> <testResources> <testResource> <directory>${project.basedir}/src/test/resources/</directory> <excludes> <exclude>guru/mocker/annotation/mixin/test/common/*</exclude> </excludes> </testResource> </testResources> <pluginManagement> <plugins> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>${sonar-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.pitest</groupId> <artifactId>pitest-maven</artifactId> <version>1.19.4</version> <dependencies> <dependency> <groupId>org.pitest</groupId> <artifactId>pitest-junit5-plugin</artifactId> <version>1.2.3</version> </dependency> </dependencies> <configuration> <outputFormats> <outputFormat>HTML</outputFormat> <outputFormat>XML</outputFormat> </outputFormats> <avoidCallsTo> <avoidCallsTo>org.slf4j</avoidCallsTo> </avoidCallsTo> <timeoutFactor>1.5</timeoutFactor> <timeoutConstant>6000</timeoutConstant> <exportLineCoverage>true</exportLineCoverage> <mutators> <mutator>DEFAULTS</mutator> </mutators> <coverageThreshold>80</coverageThreshold> <mutationThreshold>80</mutationThreshold> <testStrengthThreshold>85</testStrengthThreshold> </configuration> <executions> <execution> <id>run-mutation-tests</id> <phase>test</phase> <goals> <goal>mutationCoverage</goal> </goals> </execution> <execution> <id>create-mutation-test-report</id> <phase>site</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.13</version> <configuration> <propertyName>jacocoAgent</propertyName> </configuration> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> <configuration> <propertyName>surefire.jacoco.args</propertyName> </configuration> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <configuration> <proc>full</proc> <showWarnings>true</showWarnings> </configuration> <executions> <execution> <id>test-compile</id> <phase>generate-test-resources</phase> <configuration> <annotationProcessors> guru.mocker.annotation.mixin.processor.MixinProcessor </annotationProcessors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>mixin-test-sources</id> <goals> <goal>copy-resources</goal> </goals> <phase>validate</phase> <configuration> <filters> <filter>${project.basedir}/src/test/resources/mixin-filter.properties</filter> </filters> <resources> <resource> <directory>${project.basedir}/src/test/resources/guru/mocker/annotation/mixin/test/common</directory> <filtering>true</filtering> </resource> <resource> <directory>${project.basedir}/src/test/resources/guru/mocker/annotation/mixin/test/common/expected </directory> <targetPath>expected</targetPath> <filtering>true</filtering> </resource> </resources> <outputDirectory>${project.build.directory}/test-classes/guru/mocker/annotation/mixin/test/mixin </outputDirectory> </configuration> </execution> <execution> <id>trait-test-sources</id> <goals> <goal>copy-resources</goal> </goals> <phase>validate</phase> <configuration> <filters> <filter>${project.basedir}/src/test/resources/trait-filter.properties</filter> </filters> <resources> <resource> <directory>${project.basedir}/src/test/resources/guru/mocker/annotation/mixin/test/common</directory> <filtering>true</filtering> </resource> <resource> <directory>${project.basedir}/src/test/resources/guru/mocker/annotation/mixin/test/common/expected </directory> <targetPath>expected</targetPath> <filtering>true</filtering> </resource> </resources> <outputDirectory>${project.build.directory}/test-classes/guru/mocker/annotation/mixin/test/trait </outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.8.1</version> <executions> <execution> <goals> <goal>properties</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <configuration> <argLine> -javaagent:${org.mockito:mockito-core:jar} -XX:+EnableDynamicAgentLoading @{surefire.jacoco.args} --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED </argLine> </configuration> </plugin> </plugins> </build> </project>