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

The Archive Base Latest Questions

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

I have exported a Maven Project . (So i dont have settings.xml file with

  • 0

I have exported a Maven Project . (So i dont have settings.xml file with me )

When i ran the Mavens POM.xml file the build is failin due to this reasson

Failed to execute goal on project bayer-ws: Could not resolve
dependencies for project com.tata:bayer-ws:war:1.0: Failed to collect
dependencies for [com.tata:bayer-util:jar:1.0 (compile),
com.tata:bayer-model:jar:1.0 (compile), com.tata:bayer-samples:jar:1.0
(compile), com.tata:bayer-mw:jar:1.0 (compile),
com.tata:bayer-fixml:jar:1.0 (compile), cglib:cglib-nodep:jar:2.1_3
(runtime), jdom:jdom:jar:1.1 (compile),
org.apache.ws.commons.schema:XmlSchema:jar:1.4.5 (runtime),
javax.servlet:servlet-api:jar:2.5 (provided), junit:junit:jar:4.4
(test), org.easymock:easymockclassextension:jar:2.3 (test),
org.easymock:easymock:jar:2.3 (test),
org.apache.cxf:cxf-rt-bindings-http:jar:2.2.1 (compile),
org.apache.cxf:cxf-rt-ws-security:jar:2.2.1 (compile),
org.apache.derby:derby:jar:10.3.1.4 (test),
org.springframework:spring-beans:jar:2.5.2 (compile),
org.springframework:spring-context:jar:2.5.2 (compile),
org.springframework:spring-core:jar:2.5.2 (compile),
org.springframework:spring-web:jar:2.5.2 (compile),
log4j:log4j:jar:1.2.14 (runtime),
commons-logging:commons-logging:jar:1.1.1 (runtime),
com.tata:middleware:jar:5.0.0 (compile), com.tata:PRO:jar:1.0.0
(compile), com.tata:legacy.backoffice:jar:1.0.0 (compile),
hessian:hessian:jar:3.0.8 (compile),
commons-httpclient:commons-httpclient:jar:3.1 (runtime),
xstream:xstream:jar:1.2.2 (compile), bouncycastle:bcprov-jdk16:jar:140
(runtime), org.apache.ws.security:wss4j:jar:1.5.8 (compile),
net.sf.ehcache:ehcache-core:jar:2.4.1 (runtime)]: Failed to read
artifact descriptor for commons-logging:commons-logging:jar:99.1:
Could not transfer artifact commons-logging:commons-logging:pom:99.1
from/to maven-central (http://repo1.maven.org/maven/): No connector
available to access repository maven-central
(http://repo1.maven.org/maven/) of type legacy using the available
factories AsyncRepositoryConnectorFactory,
WagonRepositoryConnectorFactory -> [Help 1]


// Before

 <repositories>
            <repository>
                <id>central</id>
                <url>http://repo1.maven.org/maven2</url>
                <releases>
                    <enabled>true</enabled>
                    <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                    <updatePolicy>always</updatePolicy>
                </snapshots>
            </repository>
            <repository>
                <id>codehaus</id>
                <url>http://repository.codehaus.org/</url>
                <releases>
                    <enabled>true</enabled>
                    <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                    <updatePolicy>always</updatePolicy>
                </snapshots>
            </repository>
            <repository>
                <id>Apache Incubating Repository</id>
                <url>http://people.apache.org/repo/m2-incubating-repository</url>
                <releases>
                    <enabled>true</enabled>
                    <updatePolicy>never</updatePolicy>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                    <updatePolicy>always</updatePolicy>
                </snapshots>
            </repository>
            <repository>
                <id>apache-snapshot</id>
                <name>Apache Maven Snapshot</name>
                <url>http://people.apache.org/repo/m2-snapshot-repository</url>
                <releases>
                    <enabled>false</enabled>
                    <updatePolicy>always</updatePolicy>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                    <updatePolicy>always</updatePolicy>
                </snapshots>
            </repository>
            <repository>

after

<repositories>
        <repository>
            <id>central</id>
            <url>http://nexus.sonatype.org/url>  <!--Here i did a change-->
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>codehaus</id>
            <url>http://repository.codehaus.org/</url>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>Apache Incubating Repository</id>
            <url>http://people.apache.org/repo/m2-incubating-repository</url>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
        <repository>
            <id>apache-snapshot</id>
            <name>Apache Maven Snapshot</name>
            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
            <releases>
                <enabled>false</enabled>
                <updatePolicy>always</updatePolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>
        <repository>
  • 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-25T21:39:20+00:00Added an answer on May 25, 2026 at 9:39 pm

    It seems you’re trying to access Maven 1 legacy repositories.

    Please check this answer:

    How to use a maven 1 repository with maven 2?

    “The Nexus repository manager is able to proxy Maven 1 repositories for Maven {2,3} clients.”

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

Sidebar

Related Questions

I have exported a map to a .osm file (this is an xml). I
I have this exported file of some weird (standard for this industry!) format, which
I have exported data .xls file using as3. var xml:ArrayCollection; xml=Labneuron8.lastResult.Response.Terminal as ArrayCollection; var
I have exported my project as a jar file earlier today and it is
I have json file that I have exported using TexturePacker, and it produces this
I have a XAML file that I exported from Expression Design. I would like
I have a Multimodule project like this: parent entities jibx-exporter I have configured jibx
I have exported a CSV file from a database. Certain fields are longer text
I have exported data from a text file to an excel sheet, with the
I have exported a project to a runnable JAR in eclipse. There are a

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.