Skip to content
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

No export of tekton-triggers v1beta1 #5218

Closed
ggallen opened this issue Jun 7, 2023 · 1 comment · Fixed by #5219
Closed

No export of tekton-triggers v1beta1 #5218

ggallen opened this issue Jun 7, 2023 · 1 comment · Fixed by #5219
Assignees
Milestone

Comments

@ggallen
Copy link

ggallen commented Jun 7, 2023

I am trying to upgrade my v1alpha1 tekton-triggers to v1beta1 and have run into this problem.

On this line:

            String url = eventListener.getStatus().getAddress().getUrl();

I get this error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project agogos-cli: Compilation failure
[ERROR] /home/gallen/work/cpaas/agogos/cli/src/main/java/com/redhat/agogos/cli/commands/adm/InitNamespaceCommand.java:[206,62] cannot access io.fabric8.tekton.triggers.internal.knative.pkg.apis.duck.v1beta1.Addressable
[ERROR]   class file for io.fabric8.tekton.triggers.internal.knative.pkg.apis.duck.v1beta1.Addressable not found
[ERROR]

The VS Code UI says something slightly different:

The type io.fabric8.tekton.triggers.internal.knative.pkg.apis.duck.v1beta1.Addressable cannot be resolved. It is indirectly referenced from required type io.fabric8.tekton.triggers.v1beta1.EventListenerStatusJava(16777563)

How can I resolve it?

Originally posted by @ggallen in #5208

@ggallen
Copy link
Author

ggallen commented Jun 7, 2023

Please see the discussion in #5208.

@rohanKanojia rohanKanojia self-assigned this Jun 7, 2023
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Jun 7, 2023
…age in tekton v1beta1 triggers model (fabric8io#5218)

+ `io.fabric8.tekton.triggers.internal.knative.pkg.apis.duck.v1beta1.Addressable`
  is generated during model generation process in tekton
  model-triggers-v1beta1, However it doesn't seem to be getting exposed.
  It is referenced in `io.fabric8.tekton.triggers.v1beta1.EventListenerStatus`.

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@rohanKanojia rohanKanojia moved this to Review in Eclipse JKube Jun 8, 2023
manusa pushed a commit that referenced this issue Jun 8, 2023
…age in tekton v1beta1 triggers model (#5218)

+ `io.fabric8.tekton.triggers.internal.knative.pkg.apis.duck.v1beta1.Addressable`
  is generated during model generation process in tekton
  model-triggers-v1beta1, However it doesn't seem to be getting exposed.
  It is referenced in `io.fabric8.tekton.triggers.v1beta1.EventListenerStatus`.

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@github-project-automation github-project-automation bot moved this from Review to Done in Eclipse JKube Jun 8, 2023
@manusa manusa added this to the 6.7.2 milestone Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants