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

Missing Licenses #2

Open
gsingers opened this issue May 1, 2022 · 0 comments
Open

Missing Licenses #2

gsingers opened this issue May 1, 2022 · 0 comments

Comments

@gsingers
Copy link

gsingers commented May 1, 2022

Hi,

I'm trying to upgrade the plugin to the latest version of OpenSearch and I'm getting:

`
./gradlew clean check

OpenSearch Build Hamster says Hello!
Gradle Version : 6.9.1
OS Info : Mac OS X 10.16 (x86_64)
JDK Version : 11 (Oracle JDK)
JAVA_HOME : /Library/Java/JavaVirtualMachines/jdk-11.0.5.jdk/Contents/Home
Random Testing Seed : 2625F8B29B2A8013
In FIPS 140 mode : false

Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :compileJavaRestTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :dependencyLicenses FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':dependencyLicenses'.

Missing LICENSE for RankyMcRankFace-0.1.1.jar, expected in RankyMcRankFace-LICENSE.txt

  • 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3s
14 actionable tasks: 11 executed, 3 up-to-date

`

Adding in the license from https://github.com/o19s/RankyMcRankFace/blob/master/LICENSE.txt, I get:

`

Task :dependencyLicenses FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':dependencyLicenses'.

Unknown license for license file: /Users/grantingersoll/projects/learn-to-rank/opensearch-learning-to-rank-base/licenses/RankyMcRankFace-LICENSE.txt

`

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

No branches or pull requests

1 participant