I was able to find some issues even after applying my fix. I'll revert
my changes for now, and document the manual steps to first build
tuscany-eclipse-compiler from tools, before trying a top down build.

On Mon, Oct 27, 2008 at 8:11 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The problem is for other projects under the tools folder, for example,
> maven-ant-generator depends on maven-compiler-plugin which in turn depends
> on tuscany-eclipse-compiler. So it fails when you do a top-down build unless
> you have ever built the tuscany-eclipse-compiler alone.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
> Sent: Monday, October 27, 2008 7:55 PM
> To: <[email protected]>
> Subject: Re: svn commit: r708370 - in /tuscany/branches/sca-equinox:
> modules/pom.xml pom.xml
>
>> Luciano Resende wrote:
>>>
>>> Let me see if I can clearly explain the issue : in the sca-pom, when
>>> you defined the maven-compiler-plugin, you had a dependency on
>>> tuscany-maven-eclipse-compiler, this kind made maven try to build the
>>> tuscany-maven-eclipse-compiler with a dependency on itself.....
>>
>> Are you sure? Here is the maven-eclipse-compiler's POM:
>>
>> http://svn.apache.org/repos/asf/tuscany/branches/sca-equinox/tools/maven/maven-eclipse-compiler/pom.xml
>>
>> I may have missed something but I had customized it to avoid that kind of
>> circular dependency (it has a different parent POM).
>>
>> This
>>>
>>> issue would only happen if you don't have the maven-eclipse-compiler
>>> in your local repo, and that was probably why you didn't see the
>>> issue.
>>>
>>> Anyway, were you thinking to use this to all modules (e.g modules,
>>> samples, itest, etc ?), or is it ok to have it in the tuscany modules
>>> (a.k.a sca/modules) only ?
>>
>> I am happily using it for all modules (as it's much faster and lighter,
>> more flexible wrt error reporting and can be made OSGi-aware).
>>
>> --
>> Jean-Sebastien
>
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to