Did you add the following stanza to your settings.xml file (per the
instructions on the wiki)?  If so, remove it...

<settings>
    <mirrors>
        <mirror>
            <id>repo.mergere.com</id>
            <url>http://repo.mergere.com/maven2</url>
            <mirrorOf>central</mirrorOf>
        </mirror>
    </mirrors></settings>

I have never added this stanza.  Actually, I don't even have a
~/.m2/settings.xml file -- never needed one.

If removal of this stanza allows you to build, then I'll update that page.
I really have no idea why that instruction is there.

Kevin

On Wed, Mar 13, 2013 at 11:29 PM, Chak Sun Leung <tocsle...@me.com> wrote:

> I wish to compile the latest OpenJPA source, and follow the instruction as
> stated in the following link:
>
> http://openjpa.apache.org/building.html
>
> However,
> still get the maven error, state that the following maven repo is not
> responding
>
> http://repo.mergere.com/maven2
>
> C:\work\osgi\apache-openjpa-2.2.1-source>mvn package -DfailIfNoTests=false
> [INFO] Scanning for projects...
> Downloading:
> http://repo.mergere.com/maven2/org/apache/apache/7/apache-7.pom
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.openjpa:openjpa-parent:2.2.1
> (C:\work\osgi\apache-openjpa-2.2.1-source\pom.xml) has 1 e
> rror
> [ERROR]     Non-resolvable parent POM: Could not transfer artifact
> org.apache:apache:pom:7 from/to repo.mergere.com (htt
> p://repo.mergere.com/maven2): repo.mergere.com and 'parent.relativePath'
> points at wrong local POM @ line 26, column 13:
>  Unknown host repo.mergere.com -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> C:\work\osgi\apache-openjpa-2.2.1-source>
>
> Have any alternative maven repo site?
>
>
> Tom
>
>
>
>

Reply via email to