mjul / mjul/cucumber-tutorial

Dependency not found

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
41
Forks
6
PR merge metrics
No merged PRs in 30d

Description

This is roughly what the stacktrace (from lein deps) looks like.

This is after running lein deps on this project.

Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.pom from clojure
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.pom from clojure-snapshots
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.pom from clojars
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.pom from cukes
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.pom from codehaus
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.pom from central
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.jar from clojure
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.jar from clojure-snapshots
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.jar from clojars
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.jar from cukes
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.jar from codehaus
Downloading: cuke4duke/cuke4duke/0.3.3/cuke4duke-0.3.3.jar from central

Exception in thread "main" Unable to resolve artifact: Missing:

  1. cuke4duke:cuke4duke🫙0.3.3

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=cuke4duke -DartifactId=cuke4duke -Dversion=0.3.3 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=cuke4duke -DartifactId=cuke4duke -Dversion=0.3.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.apache.maven:super-pom🫙2.0
2) org.clojars.mjul:lein-cuke🫙1.1.0
3) cuke4duke:cuke4duke🫙0.3.3


1 required artifact is missing.

for artifact:
org.apache.maven:super-pom🫙2.0

from the specified remote repositories:
clojure (http://build.clojure.org/releases),
clojars (http://clojars.org/repo/),
clojure-snapshots (http://build.clojure.org/snapshots),
central (http://repo1.maven.org/maven2)

(NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:458)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:174)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)

Caused by: Unable to resolve artifact: Missing:

  1. cuke4duke:cuke4duke🫙0.3.3

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=cuke4duke -DartifactId=cuke4duke -Dversion=0.3.3 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=cuke4duke -DartifactId=cuke4duke -Dversion=0.3.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.apache.maven:super-pom🫙2.0
2) org.clojars.mjul:lein-cuke🫙1.1.0
3) cuke4duke:cuke4duke🫙0.3.3


1 required artifact is missing.

for artifact:
org.apache.maven:super-pom🫙2.0

from the specified remote repositories:
clojure (http://build.clojure.org/releases),
clojars (http://clojars.org/repo/),
clojure-snapshots (http://build.clojure.org/snapshots),
central (http://repo1.maven.org/maven2)

at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:175)
at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:678)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90)
at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:265)
at leiningen.deps$deps.invoke(deps.clj:79)
at leiningen.deps$deps.invoke(deps.clj:87)
at leiningen.deps$deps.invoke(deps.clj:90)
at leiningen.deps$deps.invoke(deps.clj:91)
at clojure.lang.Var.invoke(Var.java:365)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$apply_task.invoke(core.clj:191)
at leiningen.core$_main.doInvoke(core.clj:250)
at clojure.lang.RestFn.applyTo(RestFn.java:138)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:255)
at user$eval175.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 11 more

Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:

  1. cuke4duke:cuke4duke🫙0.3.3

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=cuke4duke -DartifactId=cuke4duke -Dversion=0.3.3 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=cuke4duke -DartifactId=cuke4duke -Dversion=0.3.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.apache.maven:super-pom🫙2.0
2) org.clojars.mjul:lein-cuke🫙1.1.0
3) cuke4duke:cuke4duke🫙0.3.3


1 required artifact is missing.

for artifact:
org.apache.maven:super-pom🫙2.0

from the specified remote repositories:
clojure (http://build.clojure.org/releases),
clojars (http://clojars.org/repo/),
clojure-snapshots (http://build.clojure.org/snapshots),
central (http://repo1.maven.org/maven2)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)
at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:170)
... 33 more

Contributor guide

No contributing guide indexed for this repository

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

Start by running lein deps in the project and compare the reported dependency chain for org.clojars.mjul/lein-cuke and cuke4duke:cuke4duke:0.3.3 with the project's dependency configuration. Done means the dependency resolves successfully without the missing-artifact error; the issue does not name a configuration file or test to update.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.