code-intelligence.com/cifuzz@v0.40.0/examples/maven/pom.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <project xmlns="http://maven.apache.org/POM/4.0.0" 4 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"> 5 <modelVersion>4.0.0</modelVersion> 6 7 <groupId>com.github.CodeIntelligenceTesting.cifuzz</groupId> 8 <artifactId>maven-example</artifactId> 9 <version>1.0-SNAPSHOT</version> 10 11 <name>maven-example</name> 12 <description>A simple maven-example for cifuzz</description> 13 14 <properties> 15 <maven.compiler.source>8</maven.compiler.source> 16 <maven.compiler.target>8</maven.compiler.target> 17 </properties> 18 19 <dependencies> 20 <!-- Use JUnit Jupiter for testing. --> 21 <dependency> 22 <groupId>org.junit.jupiter</groupId> 23 <artifactId>junit-jupiter-engine</artifactId> 24 <version>5.9.2</version> 25 <scope>test</scope> 26 </dependency> 27 <!-- Use Jazzer for fuzzing --> 28 <dependency> 29 <groupId>com.code-intelligence</groupId> 30 <artifactId>jazzer-junit</artifactId> 31 <version>0.19.0</version> 32 <scope>test</scope> 33 </dependency> 34 </dependencies> 35 36 <profiles> 37 <profile> 38 <id>cifuzz</id> 39 <build> 40 <plugins> 41 <plugin> 42 <groupId>org.jacoco</groupId> 43 <artifactId>jacoco-maven-plugin</artifactId> 44 <configuration> 45 <formats>${cifuzz.report.format}</formats> 46 <outputDirectory>${cifuzz.report.output}</outputDirectory> 47 </configuration> 48 </plugin> 49 </plugins> 50 </build> 51 </profile> 52 </profiles> 53 54 <build> 55 <plugins> 56 <plugin> 57 <groupId>org.jacoco</groupId> 58 <artifactId>jacoco-maven-plugin</artifactId> 59 <version>0.8.8</version> 60 <executions> 61 <execution> 62 <goals> 63 <goal>prepare-agent</goal> 64 </goals> 65 </execution> 66 <execution> 67 <id>report</id> 68 <phase>test</phase> 69 <goals> 70 <goal>report</goal> 71 </goals> 72 </execution> 73 </executions> 74 </plugin> 75 <plugin> 76 <artifactId>maven-clean-plugin</artifactId> 77 <version>3.1.0</version> 78 </plugin> 79 <plugin> 80 <artifactId>maven-compiler-plugin</artifactId> 81 <version>3.8.0</version> 82 </plugin> 83 <plugin> 84 <artifactId>maven-surefire-plugin</artifactId> 85 <version>2.22.1</version> 86 </plugin> 87 <plugin> 88 <artifactId>maven-jar-plugin</artifactId> 89 <version>3.0.2</version> 90 </plugin> 91 </plugins> 92 </build> 93 </project>