Netflix / conductor

Conductor is a microservices orchestration engine.
Apache License 2.0
12.83k stars 2.33k forks source link

Task with name 'postRelease' not found in root project 'conductor'. #3512

Open jevonsnotes opened 1 year ago

jevonsnotes commented 1 year ago

Describe the bug how can i resolve this problem? i meet it many times Task with name 'postRelease' not found in root project 'conductor'.

Details Conductor version: 3.13.2\3.13.3

when i run ../gradlew bootRun :

2023-03-01T15:24:51.227+0800 [WARN] [nebula.plugin.release.ReleasePlugin] Git repository not found at /mnt/e/workspace/idea/conductor-3.13.2/conductor-3.13.2 -- nebula-release tasks will not be available. Use the git.root Gradle property to specify a different directory.

...
023-03-01T15:24:51.246+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Configure build' completed
2023-03-01T15:24:51.247+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-03-01T15:24:51.248+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2023-03-01T15:24:51.248+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-03-01T15:24:51.248+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Where:
2023-03-01T15:24:51.248+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Build file '/mnt/e/workspace/idea/conductor-3.13.2/conductor-3.13.2/build.gradle' line: 22
2023-03-01T15:24:51.248+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-03-01T15:24:51.249+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2023-03-01T15:24:51.249+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] An exception occurred applying plugin request [id: 'nebula.netflixoss', version: '10.6.0']
2023-03-01T15:24:51.249+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to apply plugin class 'nebula.plugin.netflixossproject.publishing.PublishingPlugin'.
2023-03-01T15:24:51.249+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    > Task with name 'postRelease' not found in root project 'conductor'.
2023-03-01T15:24:51.249+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-03-01T15:24:51.250+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2023-03-01T15:24:51.250+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --stacktrace option to get the stack trace.
2023-03-01T15:24:51.250+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-03-01T15:24:51.250+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
2023-03-01T15:24:51.251+0800 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
2023-03-01T15:24:51.251+0800 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1s
2023-03-01T15:24:51.251+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operat

i think the version is correct

jevons@LAPTOP-VQ4BTBF1:/mnt/e/workspace/idea/conductor-3.13.2/conductor-3.13.2/server$ gradle version

Command 'gradle' not found, but can be installed with:

sudo apt install gradle

jevons@LAPTOP-VQ4BTBF1:/mnt/e/workspace/idea/conductor-3.13.2/conductor-3.13.2/server$ ../gradlew -version

------------------------------------------------------------
Gradle 7.5.1
------------------------------------------------------------

Build time:   2022-08-05 21:17:56 UTC
Revision:     d1daa0cbf1a0103000b71484e1dbfe096e095918

Kotlin:       1.6.21
Groovy:       3.0.10
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          11.0.9 (Oracle Corporation 11.0.9+7-LTS)
OS:           Linux 4.4.0-19041-Microsoft amd64

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

jevonsnotes commented 1 year ago

it works normal with git clone ... why? what is the difference in both ways?