File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 88 - openjdk7
99
1010install : mvn install -DskipTests=true -q
11- script : mvn verify -B -q
11+ script : mvn verify snyk:monitor -B -q
Original file line number Diff line number Diff line change 11# ZAP Java Integration
22
3- [ ![ Build Status] ( https://travis-ci.org/ContinuousSecurityTooling/zap-java.svg?branch=master )] ( https://travis-ci.org/ContinuousSecurityTooling/zap-java )
3+ [ ![ Build Status] ( https://travis-ci.org/ContinuousSecurityTooling/zap-java.svg?branch=master )] ( https://travis-ci.org/ContinuousSecurityTooling/zap-java )
4+ [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/ContinuousSecurityTooling/zap-java/badge.svg )] ( https://snyk.io/test/github/ContinuousSecurityTooling/zap-java )
Original file line number Diff line number Diff line change 8585 <maven-gpg-plugin .version>1.6</maven-gpg-plugin .version>
8686 <nexus-staging-maven-plugin .version>1.6.8</nexus-staging-maven-plugin .version>
8787 <maven-plugin .gitflow.version>1.8.0</maven-plugin .gitflow.version>
88+ <maven-snyk-plugin .version>1.1.1</maven-snyk-plugin .version>
8889
8990 <!-- Dependencies versions -->
9091 <zap-api-java .version>1.5.0</zap-api-java .version>
188189 </configuration >
189190 </plugin >
190191
192+ <!-- -->
193+
194+ <plugin >
195+ <groupId >io.snyk</groupId >
196+ <artifactId >snyk-maven-plugin</artifactId >
197+ <version >${maven-snyk-plugin.version} </version >
198+ <executions >
199+ <execution >
200+ <id >snyk-test</id >
201+ <phase >test</phase >
202+ <goals >
203+ <goal >test</goal >
204+ </goals >
205+ </execution >
206+ <execution >
207+ <id >snyk-monitor</id >
208+ <phase >install</phase >
209+ <goals >
210+ <goal >monitor</goal >
211+ </goals >
212+ </execution >
213+ </executions >
214+ <configuration >
215+ <apiToken >${SNYK_API_TOKEN} </apiToken >
216+ <failOnSeverity >medium</failOnSeverity >
217+ <org ></org >
218+ </configuration >
219+ </plugin >
220+
191221 <!-- Attach Javadoc and source -->
192222 <plugin >
193223 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments