Hi,
you where right. The reference is indeed wrong. But you where talking about the
reactor pom of the Entityhub
{stanbol-trunk}/entityhub/pom.xml
and not the parent pom
{stanbol-trunk}/entityhub/parent/pom.xml
so I missed this. Should have thought about that possibility in the beginning.
thx for reporting
best
Rupert
On 05.06.2012, at 13:00, Roberto Martín wrote:
> Hi Rupert,
> Thanks for your reply.
>
> On Tue, Jun 5, 2012 at 12:09 PM, Rupert Westenthaler <
> [email protected]> wrote:
>
>> Hi
>>
>> On Tue, Jun 5, 2012 at 11:00 AM, Roberto Martín <[email protected]> wrote:
>>> Hi all!
>>> Few minutes ago, iwas trying to deploy Stanbol following the instructions
>>> of the page:
>> http://incubator.apache.org/stanbol/docs/trunk/building.html It
>>> downloaded correnctly from the svn but when I did "mvn clean install" it
>>> show an error in the parent on the entityhub pom. To fix it, only change:
>>>
>>> <relativePath>../../parent</relativePath>
>>> to this:
>>> <relativePath>../parent</relativePath>
>>>
>>
>> This mail assumes that you are referring to
>>
>>
>> http://svn.apache.org/repos/asf/incubator/stanbol/trunk/entityhub/parent/pom.xml
>>
>>
>> Maybe I miss something but I checked this with my local version AND
>> the POM files as in the trunk and in my opinion
>>
>> <parent>
>> <groupId>org.apache.stanbol</groupId>
>> <artifactId>stanbol-parent</artifactId>
>> <version>2-incubating-SNAPSHOT</version>
>> <relativePath>../../parent</relativePath>
>> </parent>
>>
>> <groupId>org.apache.stanbol</groupId>
>> <artifactId>org.apache.stanbol.entityhub.parent</artifactId>
>> <version>0.10.1-incubating-SNAPSHOT</version>
>> <packaging>pom</packaging>
>>
>> is correct as the Stanbol parent pom is located at "../../parent/pom.xml".
>>
>> Changing the relative path as suggested to
>> "<relativePath>../parent</relativePath>" would be a self reference. So
>> IMHO this could only work if you have
>> "org.apache.stanbol:stanbol-parent:2-incubating-SNAPSHOT" already
>> available in your local repository (because than an invalid relative
>> path would not break the build).
>>
>> Can you please validate this and if you have still problems provide
>> more information.
>>
>
> I've cleaned my maven repository and tried to build and install a clean
> version from SVN (trunk). Again, I get the following error:
>
> The project
> org.apache.stanbol:apache-stanbol-entityhub:0.10.1-incubating-SNAPSHOT
> (/home/user/workspace/stanbol/entityhub/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact
> org.apache.stanbol:stanbol-parent:pom:2-incubating-SNAPSHOT and
> 'parent.relativePath' points at wrong local POM @ line 22, column 11
>
> Looking at the entityhub pom.xml, the reference to its parent pom file is
> the following: <relativePath>../../parent</relativePath>
> The parent's pom is in the project root folder that it's the parent of
> entityhub folder, so Its really seems that the relative path should
> be <relativePath>../parent</relativePath>
>
> Thanks in advance.
> Regards.
>
>
>>
>> Because we are currently changing the build infrastructure in a way so
>> that we can release single components a lot of changes where performed
>> recently. Because of this it is absolutely possible that there are
>> some new issues introduced by those changes.
>>
>> best
>> Rupert Westenthaler
>>
>>> This message should be regarded as confidential. If you have received
>> this email in error please notify the sender and destroy it immediately.
>> Statements of intent shall only become binding when confirmed in hard copy
>> by an authorised signatory.
>>>
>>> Zaizi Ltd is registered in England and Wales with the registration
>> number 6440931. The Registered Office is 222 Westbourne Studios, 242 Acklam
>> Road, London W10 5JJ, UK.
>>
>>
>>
>> --
>> | Rupert Westenthaler [email protected]
>> | Bodenlehenstraße 11 ++43-699-11108907
>> | A-5500 Bischofshofen
>>
>
> This message should be regarded as confidential. If you have received this
> email in error please notify the sender and destroy it immediately.
> Statements of intent shall only become binding when confirmed in hard copy by
> an authorised signatory.
>
> Zaizi Ltd is registered in England and Wales with the registration number
> 6440931. The Registered Office is 222 Westbourne Studios, 242 Acklam Road,
> London W10 5JJ, UK.
>