Skip to content

Delete non-Maven build scripts#521

Merged
k8s-ci-robot merged 2 commits into
kubernetes-client:masterfrom
jglick:maven-only
Mar 7, 2019
Merged

Delete non-Maven build scripts#521
k8s-ci-robot merged 2 commits into
kubernetes-client:masterfrom
jglick:maven-only

Conversation

@jglick

@jglick jglick commented Mar 6, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

jglick commented Mar 7, 2019

Copy link
Copy Markdown
Contributor Author

please add to .swagger-codegen-ignore

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

@brendandburns

Copy link
Copy Markdown
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
Copy Markdown
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

Details 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