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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:28:39+00:00 2026-05-25T23:28:39+00:00

In eclipse I’ve installed m2e plugin. I am trying to understand how do you

  • 0

In eclipse I’ve installed m2e plugin. I am trying to understand how do you know the names of properties for dependencies to add to pom file?

Say for instance how do you know which artifact id to use?

<dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>${org.aspectj-version}</version>                   
</dependency>   

why here say aspectjrt in artifact id?

<dependency>
        <groupId>javax.inject</groupId>
        <artifactId>javax.inject</artifactId>
        <version>1</version>
    </dependency>

and here same as group id ??
is there any pattern?

say my project is missing

org.hibernate.Query;
org.hibernate.Session;
org.hibernate.SessionFactory;

and in maven dependencies folder I have hibernate-core-3.6.0.Final.jar which effectively contains everything except those 3.

Do you write these .pom yourself?

I am betting that for student project I will have to stick with manually adding hundreds of libraries… otherwise I will fail trying to learn it 🙂

  • 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-25T23:28:40+00:00Added an answer on May 25, 2026 at 11:28 pm
    1. You know what groupId:artifactId:version (we call these coordinates) to use by which artifact you want. Most often, you find out which artifact you want by reading it in the project’s documentation, especially for projects with a large number of artifacts, some of which might contain optional addons.
    2. aspectjrt is short for AspectJ RunTime.
    3. GroupId and artifactId are defined by the creators of the library in question. There’s no universal pattern because there’s no one central coordinator. There are some conventions that have evolved, though. Generally, the groupId is at least partly the reversed domain name, like the first part of a Java package name is: org.hibernate, org.apache, org.springframework… The artifactId distinctly identifies the role of that particular artifact in the group it belongs to, like spring-core, spring-tx, spring-jms, etc. You can get an idea of what groupId’s and artifactId’s look like by searching Maven Central for some of the libraries you know.
    4. If you’re missing org.hibernate.SessionFactory, then you don’t have hibernate-core-3.6.0.Final on your classpath. If you have that on your classpath, then you’re not missing the SessionFactory class. Those three classes you mentioned are most definitely in that artifact, as you can see from searching for the class in Central. If you still doubt, do a jar -tf hibernate-core-3.6.0.Final.jar and check out the contents yourself. I promise it has those classes.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Eclipse world is totally new to me. I've just installed Tour de Flex plugin
Eclipse has a visual properties file tool for graphically composing you ant build.properties files.
eclipse: servers panel, the names of servers are in white color, so i want
Eclipse has a feature Add unimplemented methods that adds the unimplemented methods for a
Eclipse crashed and won't restart. Can someone help me understand what the problem is?
Eclipse is deployed with CVS client plugin by default. Why there are no svn
Eclipse can add unambiguous classes with an on-save action, but it will not resolve
Eclipse support incremental compiling. If I save a source file then it will compile
Eclipse comes with some dependencies like Junit. How to configure the maven to use
Eclipse Vaadin plugin has cool autobuild feature. Just clicking restart application in debug console

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.