Hi Yeagle,

Could you please change that section of your pom to:

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>idlj-maven-plugin</artifactId>
                <version>1.1.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <debug>true</debug>
                    <sources>
                        <source>
                            <compatible>false</compatible>
                        </source>
                    </sources>
                </configuration>
            </plugin>

and try again? I don't think you are actually running the plugin. 

Thanks,
Russ

On Jun 11, 2012, at 4:12 AM, Yeagle1 wrote:

> 
> Hello,
> 
> I have an Idl that contains an error (bad type):
> 
> interface ITestIdlj {
> 
>       UnknownReturnType testFailed();
> 
> };
> 
> when I execute maven using :
>                       <plugin>
>                               <groupId>org.codehaus.mojo</groupId>
>                               <artifactId>idlj-maven-plugin</artifactId>
>                               <version>1.1.1</version>
>                               <configuration>
>                                       <debug>true</debug>
>                                       <sources>
>                                               <source>
>                                                       
> <compatible>false</compatible>
>                                               </source>
>                                       </sources>
>                               </configuration>
>                       </plugin>
> 
> Then I can see an error form the idl compiler:
> [ERROR] E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl (line 5): 
> UnknownReturnType is an undeclared type.
>       UnknownReturnType testFailed();
>                   ^
> But maven says it is a success (BUILD SUCCESS)
> I have tried with parameter failOnError to true but still the same behaviour
> 
> How to make it failed ?
> Thanks
> Yann
> -- 
> View this message in context: 
> http://old.nabble.com/idlj-maven-plugin-cannot-failed-tp33991679p33991679.html
> Sent from the mojo - user mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

Reply via email to