maven-plugin-testing-harness-junit-jupiter
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.codeteapot.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness-junit-jupiter</artifactId> <version>1.1.1</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.codeteapot.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>1.1.1</version> </parent> <artifactId>maven-plugin-testing-harness-junit-jupiter</artifactId> <packaging>jar</packaging> <name>Maven Plugin Testing Harness JUnit Jupiter</name> <description>JUnit Jupiter extension of Maven Plugin Testing Harness</description> <url>https://github.com/codeteapot/maven-plugin-testing-harness</url> <dependencies> <dependency> <groupId>com.github.codeteapot.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness-api</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.7.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>5.7.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>3.5.13</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.17.2</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Comment for Eclipse users Respect intentionally wrapped lines even automatic formatting. To avoid remove line breaks, check "Never join already wrapped lines" at "Line Wrapping" section of Java > Code Style > Formatter preference page. You can download Google Style Formatter from https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.1.1</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>8.41</version> </dependency> </dependencies> <configuration> <configLocation>${checkstyle.configLocation}</configLocation> </configuration> <executions> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <phase>process-classes</phase> <configuration> <failsOnError>true</failsOnError> <failOnViolation>true</failOnViolation> <violationSeverity>warning</violationSeverity> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.6</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> </limits> </rule> <rule> <element>CLASS</element> <limits> <limit> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> <limit> <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <versionRange>[3.1,)</versionRange> <goals> <goal>check</goal> </goals> </pluginExecutionFilter> <action> <ignore/> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <windowtitle>${project.name} API</windowtitle> <doctitle>${project.name} API</doctitle> <charset>UTF-8</charset> <links> <link>https://docs.oracle.com/javase/8/docs/api/</link> <link>https://junit.org/junit5/docs/5.7.0/api/</link> </links> </configuration> <reportSets> <reportSet> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <profiles> <profile> <id>developer</id> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <testWindowtitle>${project.name} Test API</testWindowtitle> <testDoctitle>${project.name} Test API</testDoctitle> <links> <link>https://docs.oracle.com/javase/8/docs/api/</link> <link>https://junit.org/junit5/docs/current/api/</link> </links> </configuration> <reportSets> <reportSet> <reports> <report>test-javadoc</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <reportSets> <reportSet> <reports> <report>report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </profile> <profile> <id>style-checker</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <executions> <execution> <id>default-check</id> <configuration> <failsOnError>false</failsOnError> <failOnViolation>false</failOnViolation> </configuration> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>3.0.0</version> <configuration> <windowTitle>${project.name} Reference</windowTitle> <docTitle>${project.name} Reference</docTitle> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <configLocation>${checkstyle.configLocation}</configLocation> </configuration> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </profile> <profile> <id>manual-tester</id> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>default-check</id> <configuration> <haltOnFailure>false</haltOnFailure> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>gh-pages-deployer</id> <distributionManagement> <site> <id>github</id> <url>scm:git:https://github.com/codeteapot/maven-plugin-testing-harness/maven-plugin-testing-harness-junit-jupiter</url> </site> </distributionManagement> </profile> </profiles> </project>