Netflix / Netflix/mantis

mantis-examples-mantis-publish-web-sample does not work with dependency recommender plugin

Open
#267 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build good first issue
Dominant language
Java
Stars
1.5k
Forks
224
Avg merge
22h 46m
Merged PRs (30d)
1

Description

Context

mantis-examples-mantis-publish-web-sample subproject under mantis-examples does not work with the dependency recommender plugin.

Steps to reproduce

Uncomment the relevant line in settings.gradle#L42-43; looks something like //include 'mantis-examples:mantis-examples-mantis-publish-web-sample'

Expected behavior

./gradlew generateLock saveLock runs successfully without issues.

Actual Behavior

./gradlew generateLock saveLock fails instead with the stack trace below.

Execution failed for task ':mantis-examples:mantis-examples-mantis-publish-web-sample:generateLock'.
> Could not resolve all dependencies for configuration ':mantis-examples:mantis-examples-mantis-publish-web-sample:grettyRunnerJetty7'.
   > Could not find org.gretty:gretty-runner-jetty7:2.2.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/gretty/gretty-runner-jetty7/2.2.0/gretty-runner-jetty7-2.2.0.pom
       - https://netflixoss.jfrog.io/artifactory/maven-oss-candidates/org/gretty/gretty-runner-jetty7/2.2.0/gretty-runner-jetty7-2.2.0.pom
     Required by:
         project :mantis-examples:mantis-examples-mantis-publish-web-sample

* Try:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Uncomment the sample in settings.gradle around lines 42-43, then run ./gradlew generateLock saveLock to reproduce the failure. Inspect dependency resolution for gretty-runner-jetty7:2.2.0 in the mantis-examples-mantis-publish-web-sample project. Done means the command completes successfully without the reported resolution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.