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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:16:18+00:00 2026-06-01T06:16:18+00:00

I run mvn install in command line and get stuck by below error. Caused

  • 0

I run “mvn install” in command line and get stuck by below error.

Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.detux.vios:common-entity:jar:2_0_0: 
Could not find artifact org.hibernate:hibernate-entitymanager:jar:3.6.2.FINAL in central (http://repo.maven.apache.org/maven2)

I check in m2\repository\org\hibernate\hibernate-entitymanager\3.6.2.FINAL\, here is its contents

enter image description here

I’ve also tried to add new remote repository to pom.xml but it still doesn’t work

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <artifactId>common</artifactId>
        <groupId>com.detux.vios</groupId>
        <version>2_0_0</version>
    </parent>
    <groupId>com.detux.vios</groupId>
    <artifactId>common-entity</artifactId>
    <version>${common.version}</version>
    <name>Vios Common entity</name>
    <dependencies>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>${hibernate.version}</version>
        </dependency>
        <dependency>
            <groupId>com.detux.vios</groupId>
            <artifactId>common-util</artifactId>
            <version>${common.version}</version>
        </dependency>
    </dependencies>
    <properties>
    </properties>
    <repositories>
        <repository>
            <id>repository.jboss.org-public</id>
            <name>JBoss repository</name>
            <url>http://repository.jboss.org/nexus/content/groups/public</url>
        </repository>
    </repositories>
</project>

Below is pom.xml of parent project

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.detux.vios</groupId>
    <artifactId>common</artifactId>
    <version>2_0_0</version>
    <packaging>pom</packaging>
    <name>Vios Common</name>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <id>jar-test-classes</id>
                        <phase>package</phase>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <properties>
        <commons-jxpath.version>1.3</commons-jxpath.version>
        <common.version>2_0_0</common.version>
        <spring.version>3.0.5.RELEASE</spring.version>
        <spring.integration.version>2.0.4.RELEASE</spring.integration.version>
        <hibernate.version>3.6.2.FINAL</hibernate.version>
        <maven-jaxb2-plugin.version>0.7.4</maven-jaxb2-plugin.version>
        <commonsbeanutils.version>1.8.3</commonsbeanutils.version>
        <commons-lang.version>2.6</commons-lang.version>
    </properties>
    <modules>
        <module>common-model</module>
        <module>common-entity</module>
        <module>common-storage</module>
        <module>common-util</module>
        <module>common-service</module>
        <module>common-service-business</module>
        <module>common-service-resource</module>
        <module>common-catalog</module>
        <module>common-xml-jaxb2</module>
    </modules>
</project>
  • 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-06-01T06:16:19+00:00Added an answer on June 1, 2026 at 6:16 am

    I am not sure how this could have happened, but the central has this artifact but with Final in its folder path and not FINAL.

    Can you change your pom.xml to use Final and delete the existing local repository folder m2\repository\org\hibernate\hibernate-entitymanager\3.6.2.FINAL so that it can download again?

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

Sidebar

Related Questions

I created a j2ee-simple project using the maven template with following command-line mvn archetype:create
I have maven project with modules. I want on run mvn install that install
While installing my project to local repository with mvn install command, hibernate mapping files
I am using maven 3.0.2 version. mvn --version works fine on command line but
When I run mvn pmd:pmd I get an warning / error from PMD saying
Why does maven download dependencies when I run mvn clean ? can I turn
Why does every time I do mvn jetty:run, maven tries to download some dependencies
I have a Spring Roo project and I use mvn jetty:run to run my
Is there a way to control the Maven embedded Tomcat version? mvn tomcat:run This
I'm relatively new to the Maven mantra, but I'm trying to build a command-line

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.