I’m new in circleci and I’m not familiar with syntax of yaml file.
I’m trying to build project by maven. so I’m using default yaml file given here
I found that orbs circleci/maven use 13.0 version as default, here
But I want to use java 14 version.
so I tried some.
orbs:
maven: circleci/maven@0.0.12
workflows:
maven_test:
jobs:
- maven/test: # checkout, build, test, and upload test results
executor:
tag: 14.0.1
Error calling workflow: ‘maven_test’
Error calling job: ‘maven/test’
Unexpected executor invocation format
The value of name
must be a string
Examples of correct executor invocation:
executor: string-executor-name
executor: {name: string-executor-name}
executor: << parameters.executor-type-parameter >>
orbs:
maven: circleci/maven@0.0.12
workflows:
maven_test:
jobs:
- maven/test: # checkout, build, test, and upload test results
executor:
name: maven/default
tag: 14.0.1
Error calling workflow: ‘maven_test’
Error calling job: ‘maven/test’
Cannot find a definition for executor named maven/default
Could you help me?