diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..7a557896 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,41 @@ +version: 2.1 +orbs: + maven: circleci/maven@1.4.1 + snyk: snyk/snyk@1.7.0 +workflows: + snyk With Maven: + jobs: + - Build_Maven + - Snyk_SCA: + requires: + - Build_Maven + - Snyk_Code: + requires: + - Snyk_SCA +jobs: + Build_Maven: + docker: + - image: circleci/openjdk:8-jdk + + steps: + - checkout + - run: mvn clean install + Snyk_SCA: + docker: + - image: cimg/node:lts + steps: + - checkout + - snyk/install + - run: + command: | + snyk test + + Snyk_Code: + docker: + - image: cimg/node:lts + steps: + - checkout + - snyk/install + - run: + command: snyk code test + diff --git a/pom.xml b/pom.xml index ad967556..d6efdf79 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 2.3.30 - 2.3 + 2.16.0 UTF-8 3.0.5.RELEASE