quarkus-quickstarts icon indicating copy to clipboard operation
quarkus-quickstarts copied to clipboard

Apache PDFBOX Quickstart

Open Karm opened this issue 2 years ago • 6 comments

Check list:

Your pull request:

  • [x] targets the development branch
  • [x] uses the 999-SNAPSHOT version of Quarkus
  • [x] has tests (mvn clean test)
  • [x] works in native (mvn clean package -Pnative)
  • [x] has integration/native tests (mvn clean verify -Pnative)
  • [x] makes sure the associated guide must not be updated
  • [x] links the guide update pull request (if needed)
  • [x] updates or creates the README.md file (with build and run instructions)
  • [x] for new quickstart, is located in the directory component-quickstart
  • [x] for new quickstart, is added to the root pom.xml and README.md

Karm avatar Aug 11 '22 16:08 Karm

@gsmet @geoand My gut feeling is that there should be an apache pdfbox extension in Quarkus (or some other Quarkus location) that takes care of the extra configuration that is required for this to work. Thoughts?

galderz avatar Aug 16 '22 05:08 galderz

I think that's a great candidate for the Quarkiverse (cc @gastaldi )

geoand avatar Aug 16 '22 05:08 geoand

I think that's a great candidate for the Quarkiverse (cc @gastaldi )

That is an excellent idea, any candidates to lead it?

gastaldi avatar Aug 16 '22 11:08 gastaldi

I would say @karm signed up by creating this PR 😊

geoand avatar Aug 16 '22 11:08 geoand

I get the vibe. It seems like a new extension would be warranted. I think it might have ended up that way anyway, because when you open the can of worms that is PDF and start dealing with signatures, forms, embedded stuff in it etc. there might be substitutions required.

/me reading https://github.com/quarkiverse/quarkiverse/wiki#getting-an-extension-onboarded

Karm avatar Aug 16 '22 18:08 Karm

I think this PR could still be integrated while the extension is developed. Doing so would already help users out there wanting to use this. Then once the extension is in place, the quickstart can be revisited to simplify it.

@Karm Once you create an extension with the maven plugin, the best thing to do is to look at the myriad of extensions in quarkus/quarkus and see how they do things. E.g. you could start by getting the extension to register some types for runtime init, then remove that config from the quickstart and see if it all works. Then you slowly add more things to it.

galderz avatar Aug 18 '22 10:08 galderz