Welcome! Please see the About page for a little more info on how this works.

+1 vote
ago in Clojure CLI by
> clojure -X:deps help/doc :fn mvn-install
-------------------------
clojure.tools.deps.cli.api/mvn-install
([{:keys [jar pom lib version classifier local-repo]}])
  Install a jar and pom to the Maven local cache.
  The pom file must either be supplied, or generated based
  on provided lib/version/classifier, or provided inside the jar.
  The group/artifact/version coordinate will be pulled from the
  pom source as above.

  Required:
    :jar (reqired) - path to jar file (embedded pom used by default)

Should be :jar (required).

In addition, further on in the docstring:

  Execute ad-hoc:
    clj -X:deps mvn/install :jar '"foo-1.2.3.jar"'

That should be mvn-install, not mvn/install.

1 Answer

+2 votes
ago by
selected ago by
 
Best answer

Yep, thx - fixed in source for next release.

...