diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ac6621f..c907224 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,10 @@ version: 2 updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" - package-ecosystem: "" # See documentation for possible values directory: "/" # Location of package manifests schedule: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3cf58ed..c1bf672 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,10 +7,10 @@ jobs: name: lint runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" - run: make lint diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index bea7923..fe13597 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -7,10 +7,10 @@ jobs: name: unit runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" - run: make test diff --git a/README.md b/README.md index a683dcd..441e736 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +## This repository is now deprecated and it is no longer actively maintained. Please use the provided Quarkus tools as described in the bootstraping instructions - https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project. + # Java Operator Plugin diff --git a/pkg/quarkus/v1beta/plugin.go b/pkg/quarkus/v1beta/plugin.go index 7ca70c5..178d4b7 100644 --- a/pkg/quarkus/v1beta/plugin.go +++ b/pkg/quarkus/v1beta/plugin.go @@ -66,3 +66,10 @@ func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { return &p. // // GetEditSubcommand will return the subcommand which is responsible for editing the scaffold of the project // func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.editSubcommand } + +func (p Plugin) DeprecationWarning() string { + return "This plugin is deprecated and will be eventually removed." + + " It is recommended that you bootstrap your Quarkus-based operator with" + + " the provided Quarkus tools as described in the bootstraping instructions -" + + " https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project." +} diff --git a/pkg/quarkus/v1beta/scaffolds/internal/templates/pomxml.go b/pkg/quarkus/v1beta/scaffolds/internal/templates/pomxml.go index cf2a482..e82f943 100644 --- a/pkg/quarkus/v1beta/scaffolds/internal/templates/pomxml.go +++ b/pkg/quarkus/v1beta/scaffolds/internal/templates/pomxml.go @@ -57,8 +57,8 @@ const pomxmlTemplate = ` 17 UTF-8 UTF-8 - 6.7.1 - 3.11.0 + 6.7.3 + 3.13.2 diff --git a/testdata/quarkus/memcached-quarkus-operator/pom.xml b/testdata/quarkus/memcached-quarkus-operator/pom.xml index 6c375fa..f7409b7 100644 --- a/testdata/quarkus/memcached-quarkus-operator/pom.xml +++ b/testdata/quarkus/memcached-quarkus-operator/pom.xml @@ -15,8 +15,8 @@ 11 UTF-8 UTF-8 - 6.7.1 - 3.11.0 + 6.7.3 + 3.13.2