-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
plugin version 1.44
mavenSettingsConfigFile('my-maven-settings') { content readFileFromWorkspace('resources/my_maven_settings.xml') } mavenJob('Develop_PR') { ... providedSettings('my-maven-settings') }
Putting these two statements in the same file results in a dependency problem:
ERROR: (Develop_PR.groovy, line 46) Managed Maven settings with name 'my-maven-settings' not found
Workaround: Put config files in separate groovy script and process it first.