we have an sbt project using sbt-dependency-check, and we are trying to authenticate with the oss index as part of our build.
Are you able to provide an example sbt command that uses dependencyCheckOSSIndexAnalyzerUsername
and dependencyCheckOSSIndexAnalyzerPassword
flags.
When we've tried, sbt is unable to understand the flags we're passing:
> $ sbt
> dependencyCheck "--dependencyCheckOSSIndexAnalyzerUsername bob@gmail.com --dependencyCheckOSSIndexAnalyzerPassword abc123"
> \[error\] Expected whitespace character
> \[error\] Expected '/'
Note that we are running this as part of a jenkins build where the oss username and password are supplied during the build as environment variables, so we don't know them ahead of time, and can't configure these in our project settings.