Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7033701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:05:49+00:00 2026-05-28T01:05:49+00:00

I am starting lein new project in clojure and want to use the goose

  • 0

I am starting lein new project in clojure and want to use the goose article extraction library. Unfortunately I couldn’t find the jar of that library on any publicly available maven repository, so I set out to add it to a local maven repository.

In the project directory, I copied the goose jar and its pom.xml files and did

mkdir maven-repo
mvn install:install-file -Dfile=goose-2.1.6.jar -DartifactId=goose -Dversion=2.1.6 \
    -DgroupId=local -Dpackaging=jar -DlocalRepositoryPath=maven-repo -DpomFile=pom.xml

And added the following to project.clj

:repositories {"local" ~(str (.toURI (java.io.File. "maven-repo")))}

and [local/goose "2.1.6"] in :dependencies. Now when I do a lein deps, I get the goose-2.1.6.jar file added to lib directory, but not the dependencies of goose. They are listed in the goose’s pom.xml file.

Is there a way I can fix this other than listing goose’s dependencies in my project.clj?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:05:50+00:00Added an answer on May 28, 2026 at 1:05 am

    You can use lein-localrepo instead of the lengthy mvn command:
    https://github.com/kumarshantanu/lein-localrepo

    Install like this:

    lein localrepo coords target/goose-2.1.6.jar | xargs lein localrepo install

    However, that alone will not help to install the POM file in the repo. You should additionally run this:

    cp pom.xml ~/.m2/repository/goose/goose/2.1.6/goose-2.1.6.pom

    Note that in this example Goose will be installed as groupId=goose, artifactId=goose. You can override that if you wish, and probably you should.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Starting a new rails project and we have a well-thought-out color palette, and want
Starting a new project and would like to use one of the MVC framworks.
I'm new to clojure. I have a jar file I want to play with
starting a new project and want to try using the storyboard feature of xcode
I am starting a toy project in clojure. I decided to give it a
Starting a new project in Xcode 4 - what's the best way to make
Starting with a recent new version of ADT, I've noticed this new attribute on
Starting from Windows Server 2003, Windows included a new tool which calculates the effective
starting with InDesign CS 5, there is a new format, called IDML , that
I'm just starting learning Clojure and web programming. I've installed Leiningen 2.0.0-preview2 on Clojure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.