eclipse / microprofile-open-api

Microprofile open api
Apache License 2.0
132 stars 82 forks source link

Snapshot build failing #641

Closed Azquelt closed 3 months ago

Azquelt commented 3 months ago

Fails with

00:01:13.398 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.3.1:jar (attach-sources) on project microprofile-openapi-api: Presumably you have configured maven-source-plugin to execute twice in your build. You have to configure a classifier for at least one of them. -> [Help 1]
00:01:13.398 [ERROR] 
00:01:13.399 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
00:01:13.399 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
00:01:13.399 [ERROR] 
00:01:13.399 [ERROR] For more information about the errors and possible solutions, please read the following articles:
00:01:13.400 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
00:01:13.400 [ERROR] 
00:01:13.400 [ERROR] After correcting the problems, you can resume the build with the command
00:01:13.401 [ERROR]   mvn <goals> -rf :microprofile-openapi-api
Azquelt commented 3 months ago

I think @MikeEdgar has fixed the snapshot build by changing the requested phases from install deploy to just deploy, but the release build is still broken with the same issue and it is running release:prepare release:perform so there's more to look into there.

Azquelt commented 3 months ago

Hopefully this is fixed by eclipse/microprofile-parent#89

Azquelt commented 3 months ago

642 will update MP OpenAPI to use the parent version with the fix