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

[BUG] Snapshot build is broken #173

Closed
dblock opened this issue Aug 13, 2021 · 0 comments · Fixed by #176
Closed

[BUG] Snapshot build is broken #173

dblock opened this issue Aug 13, 2021 · 0 comments · Fixed by #176
Assignees
Labels
bug Something isn't working untriaged

Comments

@dblock
Copy link
Member

dblock commented Aug 13, 2021

Describe the bug

Snapshot build is broken.

To Reproduce

./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true -Dopensearch.version=1.0.0-SNAPSHOT -Dcommon_utils.version=1.0.0.0-SNAPSHOT -Djob_scheduler.version=1.0.0.0-SNAPSHOT -Dbuild.snapshot=true

Fails as follows.

> Evaluating settings
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/ubuntu/.gradle/wrapper/dists/gradle-6.6.1-all/ejrtlte9hlw8v6ii20a9584rs/gradle-6.6.1/
lib/groovy-all-1.3-2.5.12.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 6.6.1
  OS Info               : Linux 5.8.0-1041-aws (amd64)
  JDK Version           : 14 (JDK)
  JAVA_HOME             : /usr/lib/jvm/java-14-openjdk-amd64
  Random Testing Seed   : 10B85CB25E74D133
  In FIPS 140 mode      : false
=======================================
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.opensearch:opensearch-job-scheduler-spi:1.0.0.0.
     Searched in the following locations:
       - file:/home/ubuntu/.m2/repository/org/opensearch/opensearch-job-scheduler-spi/1.0.0.0/opensearch-job-scheduler-spi-1.0.0.0.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/opensearch-job-scheduler-spi/1.0.0.0/opensearch-job-scheduler-spi-1.0.0.0.pom
       - https://plugins.gradle.org/m2/org/opensearch/opensearch-job-scheduler-spi/1.0.0.0/opensearch-job-scheduler-spi-1.0.0.0.pom
       - https://jcenter.bintray.com/org/opensearch/opensearch-job-scheduler-spi/1.0.0.0/opensearch-job-scheduler-spi-1.0.0.0.pom
     Required by:
         project :

Expected behavior

Work, produce anomaly-detection-1.0.0.0-SNAPSHOT.zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant