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

Update Makefile openapi-generate-java-classes target #6575

Closed
manusa opened this issue Nov 13, 2024 · 0 comments · Fixed by #6578
Closed

Update Makefile openapi-generate-java-classes target #6575

manusa opened this issue Nov 13, 2024 · 0 comments · Fixed by #6578
Assignees
Labels
component/kubernetes-model Deals with the kubernetes-model
Milestone

Comments

@manusa
Copy link
Member

manusa commented Nov 13, 2024

Description

Part of #6130

After every extension has been migrated, the Makefile openapi-generate-java-classes target needs to be updated to be less explicit and to allow for Maven parallel builds.

.PHONY: openapi-generate-java-classes
openapi-generate-java-classes:
# Test dependency needed for model de/serialization validation
mvn $(MAVEN_ARGS) clean install -pl . -pl zjsonpatch
cd kubernetes-model-generator && mvn $(MAVEN_ARGS) -Pgenerate clean install
# TODO: run generate from extensions module root once all extensions are migrated
cd extensions && mvn $(MAVEN_ARGS) -N clean install
cd extensions/certmanager && mvn $(MAVEN_ARGS) -N clean install
cd extensions/certmanager/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/chaosmesh && mvn $(MAVEN_ARGS) -N clean install
cd extensions/chaosmesh/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/istio && mvn $(MAVEN_ARGS) -N clean install
cd extensions/istio/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/knative && mvn $(MAVEN_ARGS) -N clean install
cd extensions/knative/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/open-virtual-network && mvn $(MAVEN_ARGS) -N clean install
cd extensions/open-virtual-network/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/open-cluster-management && mvn $(MAVEN_ARGS) -N clean install
cd extensions/open-cluster-management/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/tekton && mvn $(MAVEN_ARGS) -N clean install
cd extensions/tekton/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/verticalpodautoscaler && mvn $(MAVEN_ARGS) -N clean install
cd extensions/verticalpodautoscaler/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/volcano && mvn $(MAVEN_ARGS) -N clean install
cd extensions/volcano/model && mvn $(MAVEN_ARGS) -Pgenerate clean install
cd extensions/volumesnapshot && mvn $(MAVEN_ARGS) -N clean install
cd extensions/volumesnapshot/model && mvn $(MAVEN_ARGS) -Pgenerate clean install

@manusa manusa moved this to In Progress in Eclipse JKube Nov 13, 2024
@manusa manusa self-assigned this Nov 13, 2024
@manusa manusa added this to the 7.0.0 milestone Nov 13, 2024 — with automated-tasks
@github-project-automation github-project-automation bot moved this from Review to Done in Eclipse JKube Nov 14, 2024
@manusa manusa added the component/kubernetes-model Deals with the kubernetes-model label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes-model Deals with the kubernetes-model
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant