-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a RESTEasy Multipart extension #880
Comments
This should just be added into the bom |
Just so I get this right: the
|
We probably want to consume the Resteasy bom, and then have our build parent import the bom as well. I am looking into it. |
Fixes #880, add Resteasy to the bom so the version aligns
Revert "Fixes #880, add Resteasy to the bom so the version aligns"
Can someone reopen this issue? |
@gastaldi I think I fixed the issue with the new BOM. You should be able to simply add the dependency with no versions. Can you check and close if OK? Thanks! |
I can confirm that the new BOM contains the necessary RESTEasy artifacts. Here is what I added to make this work: <dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
<exclusions>
<exclusion>
<groupId>org.jboss.spec.javax.annotation</groupId>
<artifactId>jboss-annotations-api_1.3_spec</artifactId>
</exclusion>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
</exclusion>
</exclusions>
</dependency> |
@gastaldi reopening as if we should include that configuration in the BOM. Will do. |
@gsmet just tested and when removing the exclusions I haven't noticed any errors |
I can confirm that adding the following dependency is enough. Tested in 0.12.0: <dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
</dependency> |
RESTEasy has rich support for the
multipart/*
andmultipart/form-data
mime types. The multipart mime format is used to pass lists of content bodies. Multiple content bodies are embedded in one message.multipart/form-data
is often found in web application HTML Form documents and is generally used to upload files. The form-data format is the same as other multipart formats, except that each inlined piece of content has a name associated with it.It should be supported in Protean too.
The text was updated successfully, but these errors were encountered: