You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to publish Flow Framework plugin to maven local. The following error occurs :
> Task :generatePomFileForPluginZipPublication FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':generatePomFileForPluginZipPublication' (type 'GenerateMavenPom').
- Gradle detected a problem with the following location: '/local/home/jpalis/repos/delete/flow-framework/build/distributions/opensearch-flow-framework-3.0.0.0-SNAPSHOT.pom'.
Reason: Task ':publishNebulaPublicationToMavenLocal' uses this output of task ':generatePomFileForPluginZipPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':generatePomFileForPluginZipPublication' as an input of ':publishNebulaPublicationToMavenLocal'.
2. Declare an explicit dependency on ':generatePomFileForPluginZipPublication' from ':publishNebulaPublicationToMavenLocal' using Task#dependsOn.
3. Declare an explicit dependency on ':generatePomFileForPluginZipPublication' from ':publishNebulaPublicationToMavenLocal' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.4/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org/.
BUILD FAILED in 5s
14 actionable tasks: 14 executed
What is the bug?
Unable to publish Flow Framework plugin to maven local. The following error occurs :
How can one reproduce the bug?
clone https://github.com/opensearch-project/flow-framework/ and
./gradlew publishToMavenLocal
The text was updated successfully, but these errors were encountered: