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

Fix maven missing deps: upgrade nebula + gradle #693

Merged
merged 8 commits into from
Jul 19, 2024

Conversation

Andyz26
Copy link
Collaborator

@Andyz26 Andyz26 commented Jul 18, 2024

Context

To fix the removed maven dependencies, the Nebula oss version + gradle version needs to be updated.

  • New gradle (8.x) is also causing error on the extra copyLibs task in control-plane-core which now requires explicit declaration on downstream consumers.
  • Baseline plugin new version requires jdk17. Disable for now.

Checklist

  • ./gradlew build compiles code correctly
  • Added new tests where applicable
  • ./gradlew test passes all tests
  • Extended README or added javadocs where applicable

@@ -104,9 +105,8 @@ project.snapshot.configure { finalizedBy printAllReleasedArtifacts }
subprojects {
apply plugin: 'java-library'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we add explicit dep on jar task for control-plane project here in subprojects block instead of adding to individual projects.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a specific handling between control-plane-core etc. and it feels a bit too generic to add these rules for all sub-proj?

allprojects {
apply plugin: 'com.palantir.baseline-idea'
}
// allprojects {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete altogether instead of commenting?

@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 01:23 — with GitHub Actions Failure
Copy link

github-actions bot commented Jul 19, 2024

Test Results

535 tests   529 ✅  7m 45s ⏱️
139 suites    6 💤
139 files      0 ❌

Results for commit c7c92f1.

♻️ This comment has been updated with latest results.

build.gradle Outdated
@@ -27,7 +27,7 @@ buildscript {
dependencies {
classpath 'com.netflix.nebula:gradle-netflixoss-project-plugin:11.5.0'
classpath 'com.netflix.nebula:nebula-dependency-recommender:11.+'
classpath 'io.mantisrx:mantis-gradle-plugin:1.2.6-rc.3'
classpath 'io.mantisrx:mantis-gradle-plugin:1.2.6-rc.4'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Pl consider using a release version instead of a candidate.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeha will switch once this is fully fixed. (it's an open pr on the other side).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(currently blocked due to gradle plugin repo publish failure).

@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 20:26 — with GitHub Actions Failure
@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 20:43 — with GitHub Actions Failure
@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 20:57 — with GitHub Actions Failure
@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 21:06 — with GitHub Actions Failure
@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 21:40 — with GitHub Actions Failure
@Andyz26 Andyz26 had a problem deploying to Integrate Pull Request July 19, 2024 22:09 — with GitHub Actions Failure
@Andyz26 Andyz26 temporarily deployed to Integrate Pull Request July 19, 2024 22:26 — with GitHub Actions Inactive
Copy link

Uploaded Artifacts

To use these artifacts in your Gradle project, paste the following lines in your build.gradle.

resolutionStrategy {
    force "io.mantisrx:mantis-discovery-proto:0.1.0-20240719.223932-548"
    force "io.mantisrx:mantis-client:0.1.0-20240719.223932-549"
    force "io.mantisrx:mantis-common-serde:0.1.0-20240719.223932-548"
    force "io.mantisrx:mantis-common:0.1.0-20240719.223932-548"
    force "io.mantisrx:mantis-network:0.1.0-20240719.223932-548"
    force "io.mantisrx:mantis-runtime:0.1.0-20240719.223932-549"
    force "io.mantisrx:mantis-runtime-loader:0.1.0-20240719.223932-549"
    force "io.mantisrx:mantis-rxcontrol:0.1.0-20240719.223932-22"
    force "io.mantisrx:mantis-runtime-executor:0.1.0-20240719.223932-84"
    force "io.mantisrx:mantis-shaded:0.1.0-20240719.223932-547"
    force "io.mantisrx:mantis-remote-observable:0.1.0-20240719.223932-549"
    force "io.mantisrx:mantis-connector-iceberg:0.1.0-20240719.223932-547"
    force "io.mantisrx:mantis-connector-job:0.1.0-20240719.223932-549"
    force "io.mantisrx:mantis-connector-kafka:0.1.0-20240719.223932-549"
    force "io.mantisrx:mantis-connector-publish:0.1.0-20240719.223932-548"
    force "io.mantisrx:mantis-control-plane-client:0.1.0-20240719.223932-548"
    force "io.mantisrx:mantis-control-plane-dynamodb:0.1.0-20240719.223932-9"
    force "io.mantisrx:mantis-control-plane-server:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-core:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-groupby-sample:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-testcontainers:0.1.0-20240719.223932-218"
    force "io.mantisrx:mantis-control-plane-core:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-jobconnector-sample:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-synthetic-sourcejob:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-sine-function:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-twitter-sample:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-mantis-publish-sample:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-publish-netty:0.1.0-20240719.223932-541"
    force "io.mantisrx:mantis-server-agent:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-server-worker-client:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-source-job-kafka:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-publish-netty-guice:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-publish-core:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-examples-wordcount:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-source-job-publish:0.1.0-20240719.223932-542"
    force "io.mantisrx:mantis-control-plane-store-dynamodb:0.1.0-20240719.223932-36"
}

@Andyz26 Andyz26 merged commit c7c8224 into master Jul 19, 2024
8 checks passed
@Andyz26 Andyz26 deleted the andyz/fixMavenMissingDeps branch July 19, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants