Skip to content

Commit

Permalink
Merge pull request quarkusio#10486 from kdnakt/fix-doc-s3
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi authored Jul 6, 2020
2 parents c035570 + 4683bad commit 8f46dec
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/src/main/asciidoc/amazon-s3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,23 @@ mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \
-DprojectArtifactId=amazon-s3-quickstart \
-DclassName="org.acme.s3.S3SyncClientResource" \
-Dpath="/s3" \
-Dextensions="resteasy-jsonb,multipart-provider,amazon-s3"
-Dextensions="resteasy-jsonb,amazon-s3"
cd amazon-s3-quickstart
----

This command generates a Maven structure importing the RESTEasy/JAX-RS and S3 Client extensions.
After this, the `amazon-s3` extension has been added to your `pom.xml`.

Then, we'll add the following dependency to support `multipart/form-data` requests:

[source,xml]
----
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
</dependency>
----

== Setting up the model

In this example, we will create an application to manage a list of files. The example application will demonstrate the two programming models supported by the extension.
Expand Down

0 comments on commit 8f46dec

Please sign in to comment.