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..... 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 ?

On Mon, Oct 27, 2008 at 5:23 PM, Jean-Sebastien Delfino
<[EMAIL PROTECTED]> wrote:
> On Mon, Oct 27, 2008 at 4:03 PM,  <[EMAIL PROTECTED]> wrote:
>> Author: lresende
>> Date: Mon Oct 27 16:03:06 2008
>> New Revision: 708370
>>
>> URL: http://svn.apache.org/viewvc?rev=708370&view=rev
>> Log:
>> Moving usage of tuscany-eclipse-compiler to modules only, to allow tools to 
>> be compiled successfully.
>>
>> Modified:
>>    tuscany/branches/sca-equinox/modules/pom.xml
>>    tuscany/branches/sca-equinox/pom.xml
>>
>> Modified: tuscany/branches/sca-equinox/modules/pom.xml
>> URL: 
>> http://svn.apache.org/viewvc/tuscany/branches/sca-equinox/modules/pom.xml?rev=708370&r1=708369&r2=708370&view=diff
>> ==============================================================================
>> --- tuscany/branches/sca-equinox/modules/pom.xml (original)
>> +++ tuscany/branches/sca-equinox/modules/pom.xml Mon Oct 27 16:03:06 2008
>> @@ -170,6 +170,26 @@
>>
>>     <build>
>>         <plugins>
>> +            <!-- compiler plugin configuration -->
>> +            <plugin>
>> +                <groupId>org.apache.maven.plugins</groupId>
>> +                <artifactId>maven-compiler-plugin</artifactId>
>> +                <version>2.0.2</version>
>> +                <configuration>
>> +                    <compilerId>tuscany-eclipse</compilerId>
>> +                    <source>1.5</source>
>> +                    <target>1.5</target>
>> +                </configuration>
>> +
>> +                <dependencies>
>> +                    <dependency>
>> +                        <groupId>org.apache.tuscany.sca</groupId>
>> +                        
>> <artifactId>tuscany-maven-eclipse-compiler</artifactId>
>> +                        <version>1.4-SNAPSHOT</version>
>> +                    </dependency>
>> +                </dependencies>
>> +            </plugin>
>> +
>>             <plugin>
>>                <artifactId>maven-eclipse-plugin</artifactId>
>>                <version>2.5.1</version>
>>
>> Modified: tuscany/branches/sca-equinox/pom.xml
>> URL: 
>> http://svn.apache.org/viewvc/tuscany/branches/sca-equinox/pom.xml?rev=708370&r1=708369&r2=708370&view=diff
>> ==============================================================================
>> --- tuscany/branches/sca-equinox/pom.xml (original)
>> +++ tuscany/branches/sca-equinox/pom.xml Mon Oct 27 16:03:06 2008
>> @@ -340,6 +340,7 @@
>>         </profile>
>>     </profiles>
>>
>> +
>>     <build>
>>         <defaultGoal>install</defaultGoal>
>>
>> @@ -367,18 +368,12 @@
>>                     <artifactId>maven-compiler-plugin</artifactId>
>>                     <version>2.0.2</version>
>>                     <configuration>
>> -                        <compilerId>tuscany-eclipse</compilerId>
>> +                    <!--
>> +                        <compilerId>eclipse</compilerId>
>> +                     -->
>>                         <source>1.5</source>
>>                         <target>1.5</target>
>>                     </configuration>
>> -
>> -                    <dependencies>
>> -                        <dependency>
>> -                            <groupId>org.apache.tuscany.sca</groupId>
>> -                            
>> <artifactId>tuscany-maven-eclipse-compiler</artifactId>
>> -                            <version>1.4-SNAPSHOT</version>
>> -                        </dependency>
>> -                    </dependencies>
>>                 </plugin>
>>
>>                 <!-- surefire plugin configuration -->
>>
>>
>>
>
> What was the error with the compiler plugin? I had configured the
> maven-eclipse-compiler POM to use Javac, and the other tools were
> compiling OK for me.
>
> --
> Jean-Sebastien
>



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

Reply via email to