librelist archives

« back to archive

Deploy to Nexus

Deploy to Nexus

From:
Derek Brown
Date:
2013-10-25 @ 20:17
I'd like to deploy to a private Nexus repo via lein deploy.I'm doing the 
following in project bar:

$ lein deploy snapshots com.foo.bar 0.1.0-SNAPSHOT 
target/bar-0.1.0-SNAPSHOT-standalone.jar

It makes it into the configured snapshots repo, but in the following path:

com/foo/bar/com.foo.bar/0.1.0-SNAPSHOT/

I'd expect

com/foo/bar/0.1.0-SNAPSHOT/

as maven-deployed projects are situated.

Is there a better way to invoke lein deploy? Thanks for any suggestions.

Derek