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 7444679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:34:01+00:00 2026-05-29T11:34:01+00:00

I installed maven and configured based on their 5 minute tutorial Created a eclipse

  • 0
  1. I installed maven and configured based on their 5 minute tutorial
  2. Created a eclipse project using Maven
  3. Installed Maven Integration for eclipse by going to eclipse market place
  4. Added dependencies (spring, log4j) to pom.xml by getting the xml snippet from mvnrepository.com
  5. right click on pom.xml and run as Maven Install.

I was not able to use the new jar files immediately, had to do mvn install several times and finally all the jar files are showed up in the project.

what could be the problem? Is it not updating the class path correctly?

My questions are:

  1. Are my steps above correct?
  2. I see all the dependent jar files in the main folder. I want to place these jar files under lib folder. How do i do that?
  3. How can i add external jar file to the repository, these are not in mvnrepository
  4. How do i generate ear file to be deployed to weblogic?

Edit: Attached the screenshot of the repositoryrepository

Edit2: i picked the wrong project type. Once i picked webapp archetype, it puts all dependencies in “Maven Dependencies”. This is related to my second question.

  • 1 1 Answer
  • 0 Views
  • 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-29T11:34:04+00:00Added an answer on May 29, 2026 at 11:34 am

    For your question 3 : You can add any public maven repositories in to your pom file which contains your required jar files.
    http://forum.springsource.org/showthread.php?63612-Maven-repository-location

    or else if you have that jar file in your local machine you can manually install it into maven repository.

    mvn install:install-file -Dfile=<path-to-file> -DgroupId=group-id  
        -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging
    

    As per the Guide to installing 3rd party JARs.

    For your 2nd question you can use:

    http://maven.apache.org/plugins/maven-dependency-plugin/

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

Sidebar

Related Questions

I have successfully installed & configured the M2E Maven plugin for Eclipse, along with
I have imported maven project in eclipse and configured properly. Its a web application,
I just installed Maven for a project in Eclipse. Now Maven is complaining that
I'm following the Scala, Eclipse and Maven Integration tutorial . It is really useful.
I have Fedora 11 (x86 64) installed with Eclipse. I need a Maven plugin,
I installed m2eclipse to build a java project in Eclipse. I imported the project
I've installed all the modules in the playn project with maven 3 with no
I installed maven plugin for eclipse and was able to use it only in
I installed the Maven plugin for Eclipse , and then I got an error
I have created a New Dynamic Project under Eclipse Helios Version, where my JRE

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.