Skip to content

Instantly share code, notes, and snippets.

@gsmet
Last active November 26, 2021 13:32
Show Gist options
  • Save gsmet/3f703e1f077b51efb6020f570339cb69 to your computer and use it in GitHub Desktop.
Save gsmet/3f703e1f077b51efb6020f570339cb69 to your computer and use it in GitHub Desktop.

Create the extension as a Quarkiverse one, for instance for Tika:

mvn io.quarkus.platform:quarkus-maven-plugin:2.5.0.Final:create-extension -N \
    -DgroupId=io.quarkiverse.tika \
    -DextensionId=tika \
    -Dname="Tika"

Reformat the pom.xml files to use four spaces

Make sure you import the Quarkus formatter in your IDE.

Copy the classes and resources from the runtime/deployment and integration tests modules. Keep the packages as is. Copy the dependencies and the capabilities.

Remove the feature from the Feature enum in Quarkus.

Adjust the README.md

Add -Dnative in .github/workflows/build.yml Adjust .github/workflows/quarkus-snapshot.yaml: * ECOSYSTEM_CI_REPO_PATH: quarkiverse-…​

Create issue here for Ecosystem CI: https://github.com/quarkiverse/quarkiverse/ Then add an entry in https://github.com/quarkusio/quarkus-ecosystem-ci based on an existing quarkiverse repo - make sure to adjust the issue number in latestCommit and remove the context.yaml file, you just need the info.yaml one.

Initialize All contributors and adjust template

Create the docs module

  • adjust copy of config file

  • adjust links to other guides with {quarkus-guides-url}/ prefix

  • remove header comment

  • antora.yml

  • adjust docs/templates/includes/attributes.adoc

Adjust .github/workflows/release.yml so that Maven release steps so that the documentation update is committed and included in the tag:

      - name: Maven release ${{steps.metadata.outputs.current-version}}
        run: |
          gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.GPG_PASSPHRASE}}" --output /tmp/maven-settings.xml .github/release/maven-settings.xml.gpg
          git checkout -b release
          mvn -B release:prepare -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}} -s /tmp/maven-settings.xml
          git commit -am "Update stable version for documentation"
          # Move the tag after inclusion of documentation adjustments
          git tag -fa ${{steps.metadata.outputs.current-version}}
          git checkout ${{github.base_ref}}
          git rebase release
          mvn -B release:perform -Darguments=-DperformRelease -DperformRelease -Prelease -s /tmp/maven-settings.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment