You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Da...@empolis.com on 2008/09/22 11:52:30 UTC

build issues

Hi all,

I have some build problems in the current version from trunk:

1) The file pom.xml in sca\itest\osgi-tuscany\tuscany-versioned is not
valid xml. The closing </dependencies> is missing.


2) After fixing this I still cannot build, because the pom has a
dependency to tuscany-distribution-all which does not exist:
[ERROR] BUILD ERROR
 [INFO] Failed to resolve artifact.
Missing:
org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT


3) If I run "mvn install -o" in sca\distribution the build runs
successfully, but in created lib and modules folders is only a subset of
the jars (31 in lib and 35 in modules) available.


Bye,
Daniel

Re: build issues

Posted by Simon Laws <si...@googlemail.com>.
On Mon, Sep 22, 2008 at 4:39 PM, Raymond Feng <en...@gmail.com> wrote:

> Hi,
>
> It was my fault. Some local changes were accidentally checked in. I just
> reverted it under r697872.
>
> Thanks,
> Raymond
>
> --------------------------------------------------
> From: <Da...@empolis.com>
> Sent: Monday, September 22, 2008 2:52 AM
> To: <us...@tuscany.apache.org>
> Subject: build issues
>
>
>  Hi all,
>>
>> I have some build problems in the current version from trunk:
>>
>> 1) The file pom.xml in sca\itest\osgi-tuscany\tuscany-versioned is not
>> valid xml. The closing </dependencies> is missing.
>>
>>
>> 2) After fixing this I still cannot build, because the pom has a
>> dependency to tuscany-distribution-all which does not exist:
>> [ERROR] BUILD ERROR
>> [INFO] Failed to resolve artifact.
>> Missing:
>> org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT
>>
>>
>> 3) If I run "mvn install -o" in sca\distribution the build runs
>> successfully, but in created lib and modules folders is only a subset of
>> the jars (31 in lib and 35 in modules) available.
>>
>>
>> Bye,
>> Daniel
>>
>
>
Thanks Raymond, mystery solved.

Simon

Re: build issues

Posted by Raymond Feng <en...@gmail.com>.
Hi,

It was my fault. Some local changes were accidentally checked in. I just 
reverted it under r697872.

Thanks,
Raymond

--------------------------------------------------
From: <Da...@empolis.com>
Sent: Monday, September 22, 2008 2:52 AM
To: <us...@tuscany.apache.org>
Subject: build issues

> Hi all,
>
> I have some build problems in the current version from trunk:
>
> 1) The file pom.xml in sca\itest\osgi-tuscany\tuscany-versioned is not
> valid xml. The closing </dependencies> is missing.
>
>
> 2) After fixing this I still cannot build, because the pom has a
> dependency to tuscany-distribution-all which does not exist:
> [ERROR] BUILD ERROR
> [INFO] Failed to resolve artifact.
> Missing:
> org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT
>
>
> 3) If I run "mvn install -o" in sca\distribution the build runs
> successfully, but in created lib and modules folders is only a subset of
> the jars (31 in lib and 35 in modules) available.
>
>
> Bye,
> Daniel 


Re: build issues

Posted by Simon Laws <si...@googlemail.com>.
On Tue, Sep 23, 2008 at 11:13 AM, <Da...@empolis.com> wrote:

>  Hi Simon,
>
>
>
> the  itest/osgi-tuscany build now completes successfully.
>
> The sca/distribution build still runs trough but produces too few jars.
>
> I also tried to build in sca/distribution/features. There I get the
> following error:
>
>
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Error building POM (may not be this project's POM).
>
>
>
> Project ID: org.jruby:jruby-complete
>
> POM Location:
> \.m2\repository\org\jruby\jruby-complete\1.1.3\jruby-complete-1.1.3.pom
>
>
>
> Reason: Not a v4.0.0 POM. for project org.jruby:jruby-complete at
> \.m2\repository\org\jruby\jruby-complete\1.1.3\jruby-complete-1.1.3.pom
>
>
>
> However, apache-tuscany-sca-all-1.4-SNAPSHOT.zip is created and it looks
> complete to me.
>
>
>
> Bye,
>
> Daniel
>
>
>
>
>
>
> Hi Daniel
>
> I just fixed the missing end element. The problematic pom now seems to
> depend on the tuscany-distribution-all jar that is build when you compile
> sca/distribution/features. I've made a fix there also. However I'm having
> some strange maven problem in that osgi-tuscany/tuscany-versioned still
> can't find the
> org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT that I just
> build. So am still looking at it.
>
> In step 3 can you try building sca/distribution/features instead of
> sca/distribution and see what happens.
>
> I'm not sure why these changes were made so we'll have to wait for Raymond
> to tell us.
>
> Simon
>
Hi Daniel

As Raymond has put the pom back to the way it was with all the explicit
dependencies we don't need to worry about the "all" jar for the time being.

Simon

AW: build issues

Posted by Da...@empolis.com.
Hi Simon,

 

the  itest/osgi-tuscany build now completes successfully.

The sca/distribution build still runs trough but produces too few jars.

I also tried to build in sca/distribution/features. There I get the
following error:

 

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Error building POM (may not be this project's POM).

 

Project ID: org.jruby:jruby-complete

POM Location:
\.m2\repository\org\jruby\jruby-complete\1.1.3\jruby-complete-1.1.3.pom

 

Reason: Not a v4.0.0 POM. for project org.jruby:jruby-complete at
\.m2\repository\org\jruby\jruby-complete\1.1.3\jruby-complete-1.1.3.pom

 

However, apache-tuscany-sca-all-1.4-SNAPSHOT.zip is created and it looks
complete to me.

 

Bye,

Daniel

 

 


Hi Daniel

I just fixed the missing end element. The problematic pom now seems to
depend on the tuscany-distribution-all jar that is build when you
compile sca/distribution/features. I've made a fix there also. However
I'm having some strange maven problem in that
osgi-tuscany/tuscany-versioned still can't find the
org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT that I
just build. So am still looking at it.

In step 3 can you try building sca/distribution/features instead of
sca/distribution and see what happens. 

I'm not sure why these changes were made so we'll have to wait for
Raymond to tell us. 

Simon


Re: build issues

Posted by Simon Laws <si...@googlemail.com>.
On Mon, Sep 22, 2008 at 10:52 AM, <Da...@empolis.com> wrote:

> Hi all,
>
> I have some build problems in the current version from trunk:
>
> 1) The file pom.xml in sca\itest\osgi-tuscany\tuscany-versioned is not
> valid xml. The closing </dependencies> is missing.
>
>
> 2) After fixing this I still cannot build, because the pom has a
> dependency to tuscany-distribution-all which does not exist:
> [ERROR] BUILD ERROR
>  [INFO] Failed to resolve artifact.
> Missing:
> org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT
>
>
> 3) If I run "mvn install -o" in sca\distribution the build runs
> successfully, but in created lib and modules folders is only a subset of
> the jars (31 in lib and 35 in modules) available.
>
>
> Bye,
> Daniel
>

Hi Daniel

I just fixed the missing end element. The problematic pom now seems to
depend on the tuscany-distribution-all jar that is build when you compile
sca/distribution/features. I've made a fix there also. However I'm having
some strange maven problem in that osgi-tuscany/tuscany-versioned still
can't find the
org.apache.tuscany.sca:tuscany-distribution-all:jar:1.4-SNAPSHOT that I just
build. So am still looking at it.

In step 3 can you try building sca/distribution/features instead of
sca/distribution and see what happens.

I'm not sure why these changes were made so we'll have to wait for Raymond
to tell us.

Simon