|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + 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>ca.bc.gov.open</groupId> |
| 8 | + <artifactId>spring-clamav-starter</artifactId> |
| 9 | + <version>0.1.4</version> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <java.version>1.8</java.version> |
| 13 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 14 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 15 | + <spring-boot.version>2.2.4.RELEASE</spring-boot.version> |
| 16 | + <org.apache.maven.plugins.version.version>2.22.0</org.apache.maven.plugins.version.version> |
| 17 | + </properties> |
| 18 | + |
| 19 | + <dependencies> |
| 20 | + |
| 21 | + <dependency> |
| 22 | + <groupId>org.springframework.boot</groupId> |
| 23 | + <artifactId>spring-boot-starter</artifactId> |
| 24 | + </dependency> |
| 25 | + |
| 26 | + <dependency> |
| 27 | + <groupId>fi.solita.clamav</groupId> |
| 28 | + <artifactId>clamav-client</artifactId> |
| 29 | + </dependency> |
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-test</artifactId> |
| 34 | + <scope>test</scope> |
| 35 | + <exclusions> |
| 36 | + <exclusion> |
| 37 | + <groupId>org.junit.vintage</groupId> |
| 38 | + <artifactId>junit-vintage-engine</artifactId> |
| 39 | + </exclusion> |
| 40 | + </exclusions> |
| 41 | + </dependency> |
| 42 | + |
| 43 | + </dependencies> |
| 44 | + |
| 45 | + <dependencyManagement> |
| 46 | + <dependencies> |
| 47 | + <dependency> |
| 48 | + <groupId>org.springframework.boot</groupId> |
| 49 | + <artifactId>spring-boot-dependencies</artifactId> |
| 50 | + <version>${spring-boot.version}</version> |
| 51 | + <type>pom</type> |
| 52 | + <scope>import</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>ca.bc.gov.open</groupId> |
| 56 | + <artifactId>spring-starters-bom</artifactId> |
| 57 | + <version>0.1.4</version> |
| 58 | + <type>pom</type> |
| 59 | + <scope>import</scope> |
| 60 | + </dependency> |
| 61 | + </dependencies> |
| 62 | + </dependencyManagement> |
| 63 | + |
| 64 | + |
| 65 | + <build> |
| 66 | + <plugins> |
| 67 | + <plugin> |
| 68 | + <groupId>org.apache.maven.plugins</groupId> |
| 69 | + <artifactId>maven-surefire-plugin</artifactId> |
| 70 | + <version>${org.apache.maven.plugins.version.version}</version> |
| 71 | + </plugin> |
| 72 | + <plugin> |
| 73 | + <groupId>org.apache.maven.plugins</groupId> |
| 74 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 75 | + <version>${org.apache.maven.plugins.version.version}</version> |
| 76 | + </plugin> |
| 77 | + <!--jacoco code coverage--> |
| 78 | + <plugin> |
| 79 | + <groupId>org.jacoco</groupId> |
| 80 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 81 | + <version>0.8.2</version> |
| 82 | + <executions> |
| 83 | + <execution> |
| 84 | + <goals> |
| 85 | + <goal>prepare-agent</goal> |
| 86 | + </goals> |
| 87 | + </execution> |
| 88 | + <!-- attached to Maven test phase --> |
| 89 | + <execution> |
| 90 | + <id>report</id> |
| 91 | + <phase>test</phase> |
| 92 | + <goals> |
| 93 | + <goal>report</goal> |
| 94 | + </goals> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + </plugins> |
| 99 | + </build> |
| 100 | + |
| 101 | + |
| 102 | +</project> |
0 commit comments