I've fixed JIRA, so now you can create your issue. -Robert > Date: Tue, 12 Jun
2012 09:20:33 -0700
> From: yann-em...@club-internet.fr
> To: user@mojo.codehaus.org
> Subject: Re: [mojo-user] idlj-maven-plugin cannot failed
>
>
> Hi Russ,
>
> I tried with Sun Java version: 1.6.0_31 and 1.5.0_12 (both get the same
> result)
> I am running on windows 7
>
> Here is the pom I used:
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <artifactId>testIdlj</artifactId>
> <groupId>org.codehaus.mojo</groupId>
> <packaging>jar</packaging>
> <version>1.0.0-SNAPSHOT</version>
> <name>testIdlj</name>
> <description />
> <build>
> <plugins>
> <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>
> </plugins>
> </build>
> </project>
>
> and the idl (in src\main\idl\myIdl.idl):
> interface ITestIdlj {
> UnknownReturnType testFailed();
> };
>
>
>
> Here is the full output when I run command: mvn clean idlj:generate (with
> JDK 1.6.0_31)
>
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building testIdlj 1.0.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ testIdlj ---
> [INFO] Deleting E:\temp\mvn-idlj-pb\target
> [INFO]
> [INFO] --- idlj-maven-plugin:1.1.1:generate (default-cli) @ testIdlj ---
> [INFO] Processing 1 grammar files to
> E:\temp\mvn-idlj-pb\target\generated-sources\idl
> [INFO] com.sun.tools.corba.se.idl.toJavaPortable.Compile -verbose -i
> E:\temp\mvn-idlj-pb\src\main\idl -td target/generated-sources/idl -fall
> E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl
> [INFO] Parsing E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl
> done - E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl
> [INFO] Parsing E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl
> done - E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl
>
> [ERROR] E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl (line 3):
> UnknownReturnType is an undeclared type.
> UnknownReturnType testFailed();
> ^
>
>
> [ERROR] E:\temp\mvn-idlj-pb\src\main\idl\myIdl.idl (line 3):
> UnknownReturnType is an undeclared type.
> UnknownReturnType testFailed();
> ^
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.400s
> [INFO] Finished at: Tue Jun 12 18:11:06 CEST 2012
> [INFO] Final Memory: 3M/245M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Thanks
> Yann
>
>
> russgold wrote:
> >
> > Hi Yeagle1,
> >
> > I'm not able to reproduce this. What version of the JDK are you using? Can
> > you post the full output from the mvn command? Your full pom.xml?
> >
> > Thanks,
> > Russ
> >
> > On Jun 12, 2012, at 3:21 AM, Yeagle1 wrote:
> >
> >>
> >> Hello,
> >>
> >> Yes I was running the plugin because I was running the following mvn
> >> command:
> >> mvn idlj:generate
> >> Anyway I tried adding the execution section and the behaviour is still
> >> the
> >> same...
> >>
> >> I tried to open a Jira but without success because of : "Assignee: The
> >> default assignee does NOT have ASSIGNABLE permission OR Unassigned issues
> >> are turned off."
> >>
> >> Thanks
> >> Yann.
> >>
> >>
> >> Russell Gold-3 wrote:
> >>>
> >>> 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
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/idlj-maven-plugin-cannot-failed-tp33991679p33998084.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
> >>
> >>
> >
> > -----------------
> > Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
> > and listen to the Misfile radio play
> > <http://www.gold-family.us/audio/misfile.html>!
> >
> >
> >
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/idlj-maven-plugin-cannot-failed-tp33991679p34000342.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
>
>