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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:15:46+00:00 2026-05-22T03:15:46+00:00

I am having problem building my project (using maven 2) which references some jars

  • 0

I am having problem building my project (using maven 2) which references some jars from a maven 1 repository.

The scenario: My company has a private maven 1 repository that has the following info:

<url>http://my-company-maven1-repo/maven-repository<url>

It has the layout of:

   maven-repository
              |_repository
                     |_ ....
                     |_ ....
                     |_vectorgraphics
                              |_jars
                                  |_freehep_swing-2.0.3.jar
                                  |_freehep_io-2.0.2.jar

What I have tried:
1. Following the guide here: relevant maven official docs
My mvn2 pom.xml:

<repository>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
  <id>my-repo</id>        <-- I made up a temporary id/name
  <name>my_repo></name>
  <url>http://my-company-maven1-repo/maven-repository<url>
  <layout>
<repository>
<dependencies>
  <dependency>
    <groupId>vectorgraphics</groupId>
    <artifactId>freehep-swing</artifactId>
    <version>2.0.3</version>
    <scope>jar</scope>
  </dependency>
</dependencies>

The result was weird, my company’s maven1 repo was completely ignored. Instead, mvn2 attempted to download the jar from “maven2 central”:

Downloading http://repo1.maven.org/maven2/vectorgraphics/freehep-swing/2.0.3/freehep-swing-2.0.3.pom 

And the resulted freehep-swing-2.0.3.pom (in my local .m2/repository/) has the following errors:

legacy-http\://my-company-maven1-repo/maven-repository/.lastUpdated=1305430120039
http\://my-company-maven1-repo/maven-repository/.error=Could not transfer artifact vectorgraphics\:freehep-swing\:pom\:2.0.3 from/to my-repo (http\://my-company-maven1-repo/maven-repository)\: No connector available to access repository my-repo (http\://my-company-maven1-repo/maven-repository) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
http\://repo1.maven.org/maven2/.error=
http\://repo1.maven.org/maven2/.lastUpdated=1305430120281

If anyone can point out to me how to fetch that freehep_swing-2.0.3.jar from the maven1 repository (with layout shown above), I would really really appreciate that.

Thanks,

Tung

  • 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-22T03:15:47+00:00Added an answer on May 22, 2026 at 3:15 am

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

    Maven 3 no longer has the possibility of using ‘legacy’ repositories, see Maven 3.x compatibility notes.

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

Sidebar

Related Questions

I have an old C++ project and I'm having problem building it. For a
Problem I'm having trouble using XdcMake to generate XML documentation in a C++ project
I'm having hard time with this project, I'm building a boat configurator which is
I'm having some strange issues building and running a project on another computer. It's
I've got a really odd problem when building a project in VS2008. Having made
I'm building a website in Flash CS3 and I'm having a problem. Yo give
I'm having some problems with Edit and Continue when using Visual Studio 2010 on
I'm having this problem last Friday when I'm trying to build my project to
I am having a problem that has had me stuck for a day and
Having recently upgraded to TFS2010 I am having a problem building web applications. In

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.