On Tue, Jul 5, 2011 at 6:35 AM, Stephen C. Gilardi <squee...@mac.com> wrote:
> I would argue that the ~/.m2 repository is nearly as easy to work with as any 
> other local, on-disk scheme one might envision and has the benefit of working 
> with any maven-compatible tool.
>
> It also works for arbitrary jars one may have on disk (acquired from any 
> source) via:
>
>  http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

Thanks. I had the same issue using some generated jar files and this
worked. Here are the concrete commands I used to install the jars into
m2. Posting it here in case someone else finds it useful.

mvn install:install-file \
    -DgroupId=com.sforce.soap \
    -DartifactId=partner \
    -Dversion=22 \
    -Dfile=partner.jar \
    -Dpackaging=jar \
    -DgeneratePom=true

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to