I have a Maven multi-module project that has dependencies between sibling modules. This causes the maven orb to fail on mvn dependency:go-offline
. The workaround would be to replace maven_command
with mvn package
but it’s not being picked up:
The configuration is:
version: 2.1
orbs:
maven: circleci/maven@1.0.0
workflows:
maven_test:
jobs:
- maven/test: # checkout, build, test, and upload test results
maven_command: 'mvn package'
but the orb is still running: mvn dependency:go-offline --settings 'pom.xml'
What am I doing wrong?