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

Delete non-Maven build scripts #521

Merged
merged 2 commits into from
Mar 7, 2019

Conversation

jglick
Copy link
Contributor

@jglick jglick commented Mar 6, 2019

When this project was created, in #1, it included a kubernetes/build.gradle and related files. It also included a Maven kubernetes/pom.xml, oh and a Scala-style kubernetes/build.sbt for good measure. The initial kubernetes/.travis.yml suggests that this was all just dumped here by Swagger, not deliberate. Later in #5, #73, etc. the structure was rearranged, all assuming a Maven build—as does the current (top-level) .travis.yml and README.md. In fact the current structure has a root POM and declares the kubernetes subdirectory as a module, which implies that it is to be built via Maven. The build.gradle is clearly out of date—for example, it does not reflect #453.

My practical interest in this is that the NetBeans IDE currently prefers build.gradle to pom.xml when both are present in a directory, so the kubernetes subdirectory gets opened as a Gradle project and it is a mess. If build scripts and related metadata are not actually current and usable, they are better deleted to avoid confusion.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 6, 2019
@brendandburns
Copy link
Contributor

Fine with me, but please add to https://github.com/kubernetes-client/java/blob/master/kubernetes/.swagger-codegen-ignore or else we'll just regenerate them next time we codegen.

Thanks!

@jglick
Copy link
Contributor Author

jglick commented Mar 7, 2019

please add to .swagger-codegen-ignore

Done, though I am not sure how to test this. (Not familiar with Swagger.)

@brendandburns
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 7, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, jglick

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2019
@k8s-ci-robot k8s-ci-robot merged commit 5cac38e into kubernetes-client:master Mar 7, 2019
@jglick jglick deleted the maven-only branch March 8, 2019 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants