swagger-api/swagger-codegen

[JAVA] Understanding client deployment to maven repository

Offen

#5.796 geöffnet am 07.06.2017

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (5.474 Forks)batch import
Client: JavaEnhancement: Generalhelp wanted

Repository-Metriken

Stars
 (12.701 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description

We use aws-maven and deploy all our maven libraries to S3 bucket. Would like to know what is the best way to deploy the generated java client to S3.

Swagger-codegen version

2.2.2

Command line used for generation
java -jar swagger-codegen-cli.jar generate -i target/generated/swagger.json -l java --library retrofit2 -o client/java -c config.json
Suggest a Fix

If pom.xml could have support for aws-maven plugin as a configurable option and if a distribution management is provided we could override the distribution repository from command line to deploy.

Contributor Guide