librelist archives

« back to archive

Re: [leiningen] Deploy to Nexus

Re: [leiningen] Deploy to Nexus

From:
Phil Hagelberg
Date:
2013-10-25 @ 21:02
Derek Brown writes:

> 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

I can't tell for sure, but it sounds like you are expecting it to be
deployed with a group-id but not providing it with one in your
command. Try deploying com.foo.bar/bar or whatever the appropriate
group/artifact-id is for your jar.

-Phil

Re: [leiningen] Deploy to Nexus

From:
Derek Brown
Date:
2013-10-25 @ 21:10
Thanks, Phil. Looks like switching to "com.foo/bar" was the answer.


On 10/25/13 5:02 PM, "Phil Hagelberg" <phil@hagelb.org> wrote:

>
>Derek Brown writes:
>
>> 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
>
>I can't tell for sure, but it sounds like you are expecting it to be
>deployed with a group-id but not providing it with one in your
>command. Try deploying com.foo.bar/bar or whatever the appropriate
>group/artifact-id is for your jar.
>
>-Phil