quarkiverse / quarkus-authzed-client

An extension for connecting to authzed instances from Quarkus applications
https://docs.authzed.com/reference/api
Apache License 2.0
5 stars 8 forks source link

Can't release the cli module #63

Open iocanel opened 1 year ago

iocanel commented 1 year ago

Ever since I added the cli module to the project, I can't release due to:

Error: [ERROR] Rule failure while trying to close staging repository with ID "ioquarkiverse-1781".
Error: [ERROR] 
Error: [ERROR] Nexus Staging Rules Failure Report
Error: [ERROR] ==================================
Error: [ERROR] 
Error: [ERROR] Repository "ioquarkiverse-1781" failures
Error: [ERROR]   Rule "sources-staging" failures
Error: [ERROR]     * Missing: no main jar artifact found in folder '/io/quarkiverse/authzed/quarkus-authzed-cli/0.2.1'
Error: [ERROR]   Rule "javadoc-staging" failures
Error: [ERROR]     * Missing: no main jar artifact found in folder '/io/quarkiverse/authzed/quarkus-authzed-cli/0.2.1'
Error: [ERROR] 
Error: [ERROR] 
Error: [ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: [ioquarkiverse-1781]
Error: [ERROR]  * Deleting context 166ff053e5f61f.properties
Error: [ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: [ioquarkiverse-1781]
Error: [ERROR]  * Dropping failed staging repository with ID "ioquarkiverse-1781" (Rule failure during close of staging repositories: [ioquarkiverse-1781]).

Details: https://github.com/quarkiverse/quarkus-authzed-client/actions/runs/4364294724/jobs/7631435499

It seems to me that cli is producing an artifact with the classifier runner and there is no unclassified artfiact. Nexus doesn't seem to like it.

iocanel commented 1 year ago

@gastaldi, @gsmet, @geoand: Any ideas here? How do we deal with this issue for the Quarkus CLI itself?

geoand commented 1 year ago

No ideas here unfortunately

iocanel commented 1 year ago

It seems that quarkus.package.add-runner-suffix might do the trick. :crossed_fingers:

gastaldi commented 1 year ago

If that doesn't work, you might need to generate your CLI as an uber-jar:

        <quarkus.package.type>uber-jar</quarkus.package.type>
iocanel commented 1 year ago

If that doesn't work, you might need to generate your CLI as an uber-jar:

        <quarkus.package.type>uber-jar</quarkus.package.type>

I already have this in my application.properties.