Your application must be started to retrieve the yaml from
<apiDocsUrl>http://localhost:8080/v3/api-docs.yaml</apiDocsUrl>
for example.
Start your application
and then mvn verify
mvn verify
find your file in the <outputDir>
<outputDir>