|
12 | 12 | <groupId>com.amazonaws.serverless</groupId> |
13 | 13 | <artifactId>aws-serverless-java-container</artifactId> |
14 | 14 | <version>1.2-SNAPSHOT</version> |
| 15 | + <relativePath>..</relativePath> |
15 | 16 | </parent> |
16 | 17 |
|
17 | 18 | <properties> |
18 | | - <jackson.version>2.9.5</jackson.version> |
| 19 | + <jackson.version>2.9.7</jackson.version> |
19 | 20 | <jaxrs.version>2.1</jaxrs.version> |
20 | 21 | <servlet.version>3.1.0</servlet.version> |
21 | 22 | </properties> |
|
49 | 50 | <version>${jackson.version}</version> |
50 | 51 | </dependency> |
51 | 52 |
|
| 53 | + <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-afterburner --> |
| 54 | + <dependency> |
| 55 | + <groupId>com.fasterxml.jackson.module</groupId> |
| 56 | + <artifactId>jackson-module-afterburner</artifactId> |
| 57 | + <version>${jackson.version}</version> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + |
52 | 61 | <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload --> |
53 | 62 | <dependency> |
54 | 63 | <groupId>commons-fileupload</groupId> |
|
67 | 76 |
|
68 | 77 | <build> |
69 | 78 | <plugins> |
| 79 | + <plugin> |
| 80 | + <groupId>org.jacoco</groupId> |
| 81 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 82 | + <version>0.8.1</version> |
| 83 | + <configuration> |
| 84 | + <destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile> |
| 85 | + <dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile> |
| 86 | + </configuration> |
| 87 | + <executions> |
| 88 | + <execution> |
| 89 | + <id>default-prepare-agent</id> |
| 90 | + <goals> |
| 91 | + <goal>prepare-agent</goal> |
| 92 | + </goals> |
| 93 | + </execution> |
| 94 | + <execution> |
| 95 | + <id>jacoco-site</id> |
| 96 | + <phase>package</phase> |
| 97 | + <goals> |
| 98 | + <goal>report</goal> |
| 99 | + </goals> |
| 100 | + </execution> |
| 101 | + <execution> |
| 102 | + <id>jacoco-check</id> |
| 103 | + <phase>test</phase> |
| 104 | + <goals> |
| 105 | + <goal>check</goal> |
| 106 | + </goals> |
| 107 | + <configuration> |
| 108 | + <haltOnFailure>true</haltOnFailure> |
| 109 | + <rules><rule> |
| 110 | + <element>BUNDLE</element> |
| 111 | + <limits> |
| 112 | + <limit> |
| 113 | + <counter>INSTRUCTION</counter> |
| 114 | + <value>COVEREDRATIO</value> |
| 115 | + <minimum>${jacoco.minCoverage}</minimum> |
| 116 | + </limit> |
| 117 | + </limits> |
| 118 | + </rule></rules> |
| 119 | + </configuration> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
70 | 123 | <plugin> |
71 | 124 | <groupId>com.github.spotbugs</groupId> |
72 | 125 | <artifactId>spotbugs-maven-plugin</artifactId> |
|
109 | 162 | <plugin> |
110 | 163 | <groupId>org.owasp</groupId> |
111 | 164 | <artifactId>dependency-check-maven</artifactId> |
112 | | - <version>3.1.1</version> |
| 165 | + <version>3.3.2</version> |
113 | 166 | <configuration> |
114 | 167 | <skipProvidedScope>true</skipProvidedScope> |
115 | 168 | <suppressionFiles> |
|
0 commit comments