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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:53:11+00:00 2026-05-27T06:53:11+00:00

I am really new to maven. I am bit confused about the dependency feature.

  • 0

I am really new to maven. I am bit confused about the dependency feature. I know that I can add dependency in the pom file like this

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.6.1</version>
</dependency>

What does this actually mean? Does it mean that I dont need to import the slf4j jar files into my project? If so how does my project get access to those libraries?

I have read about dependency from maven site but didnt help me much.

Can some one explain it in a simpler way.

Thanks

  • 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-27T06:53:12+00:00Added an answer on May 27, 2026 at 6:53 am

    Nutshell: It means your project has a dependency on slf4j, version 1.6.1.

    Furthermore:

    • If you build your project with Maven (or your IDE is Maven-aware), you don’t have to do anything else in order to use slf4j. (Aside from normal source-code considerations, like a reasonable import statement, etc.)
    • slf4j v. 1.6.1 will be retrieved from a default Maven repository to your local repository, meaning…
    • … ~/.m2/repository is your repository. slf4j will be put in $M2_HOME/org/slf4j/$(artifactId}/1.6.1 and will include (in general) a jar file, a pom file, and a hash file.
    • Slf4j’s dependencies will be downloaded into your local repository as well.
    • Dependencies of those dependencies will be downloaded ad infinitum/ad nauseum. (The source of “first use of a library downloads the internet” jokes if there are a lot of dependencies; not the case for slf4j.) This is “transitive dependency management”–one of Maven’s original purposes.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So our new webapp project is based on maven. I'm really liking the dependency
Concerning my previous question , I found out that maven can't really output jboss
im really new to flash, how do i go about creating a variable which
im really new to linq-to-SQL so this may sound like a really dumb question,
I'm really new to android and I got an issue that I don't clearly
i have some questions about Maven 2 and i hope somebody can clear things
Im really really new to Javascript but Ive got this script that loads the
sorry for the dumb question, but I'm really new to maven and I cannot
really new to JQuery.. like 2 hours new. Began to write a drop down
I just started working with maven and I am really new to this concept.

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.