You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Chak Sun Leung <to...@me.com> on 2013/03/14 05:29:00 UTC

Fail to compile OpenJPA source

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




Re: Fail to compile OpenJPA source

Posted by José Luis Cetina <ma...@gmail.com>.
Sorry i confused this topic with other. Forget the previous message.
Thanks
El 14/03/2013 07:14, "José Luis Cetina" <ma...@gmail.com> escribió:

> I dont have that. In fact i didnt know what is stanza. What error do you
> have?
> El 14/03/2013 07:12, "Kevin Sutter" <kw...@gmail.com> escribió:
>
>> 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 <to...@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
>> >
>> >
>> >
>> >
>>
>

Re: Fail to compile OpenJPA source

Posted by José Luis Cetina <ma...@gmail.com>.
I dont have that. In fact i didnt know what is stanza. What error do you
have?
El 14/03/2013 07:12, "Kevin Sutter" <kw...@gmail.com> escribió:

> 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 <to...@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
> >
> >
> >
> >
>

Re: Fail to compile OpenJPA source

Posted by Kevin Sutter <kw...@gmail.com>.
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 <to...@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
>
>
>
>