Open farnulfo opened 2 years ago
Hi @farnulfo, thanks so much for the explanation in 73, that really helped me get a bit further.
For anyone stumbling across this, I will leave the correct configuration here.
configuration>
<clientConfiguration>
<authConfiguration>
<username>xxxxxxxx</username>
<password>yyyyyyyyy</password>
</authConfiguration>
</clientConfiguration>
(i.e. when I added the wrong username here, i got a 401.)
I'm trying to get it to work from the command line, sadly
mvn org.sonatype.ossindex.maven:ossindex-maven-plugin:audit-aggregate -f pom.xml -"Dossindex.clientConfiguration.authConfiguration.username={WRONG_USERNAME}" -"Dossindex.clientConfiguration.authConfiguration.password={SOME_PASSWORD}"
still does not return a 401, but the correct cve result, so I think this is not how you run it from the command line
I find that the documentation is really lacking here.:/
If anyone has any idea, how to configure this from the command line, this would be a great help.
On https://sonatype.github.io/ossindex-maven/maven-plugin/ossindex-audit/#clientConfiguration , link to "client configuration" is wrong:
Cf. issue #73