code-intelligence.com/cifuzz@v0.40.0/pkg/messaging/instructions/maven (about)

     1  Please make sure to add the following dependency to your
     2  pom.xml to enable fuzz testing:
     3  
     4      <dependency>
     5        <groupId>com.code-intelligence</groupId>
     6        <artifactId>jazzer-junit</artifactId>
     7        <version>0.19.0</version>
     8        <scope>test</scope>
     9      </dependency>
    10  
    11  We highly recommend using cifuzz with JUnit >=5 to ensure
    12  easy IDE integration. You can add it with the following
    13  dependency to your pom.xml:
    14  
    15      <dependency>
    16        <groupId>org.junit.jupiter</groupId>
    17        <artifactId>junit-jupiter-engine</artifactId>
    18        <version>5.9.2</version>
    19        <scope>test</scope>
    20      </dependency>
    21  
    22  For Jacoco coverage reports, please make sure to include the
    23  Jacoco plugin in the build section of your pom.xml. 
    24  
    25      <plugin>
    26          <groupId>org.jacoco</groupId>
    27          <artifactId>jacoco-maven-plugin</artifactId>
    28          <version>0.8.9</version>
    29      </plugin>
    30  
    31  For more information see:
    32  https://www.jacoco.org/jacoco/trunk/doc/maven.html
    33  
    34  Also, please add the following profile in your profiles:
    35  
    36      <profile>
    37        <id>cifuzz</id>
    38        <build>
    39          <plugins>
    40            <plugin>
    41              <groupId>org.jacoco</groupId>
    42              <artifactId>jacoco-maven-plugin</artifactId>
    43              <configuration>
    44                <formats>${cifuzz.report.format}</formats>
    45                <outputDirectory>${cifuzz.report.output}</outputDirectory>
    46              </configuration>
    47            </plugin>
    48          </plugins>
    49        </build>
    50      </profile>
    51