that's odd. Can you file this in JIRA, then someone will try to reproduce it.
On Fri, 5 Nov 2004 10:59:15 +0100, Herv� Guidetti
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am a newbee with Maven. I just have tested it.
> I have created a little "HelloWorld" class. I have written a wrong code on purpose.
>
> public class HelloWorld
> {
>
> public void hello ()
> {
> System.out.println2("Hello World !");
> }
>
> public static void main(String[] args) {
> new HelloWorld().hello();
> }
> }
>
> When I compile it using "javac *.java", the compilator generate a compilation error.
> If I use maven java:compile, it build successfuly.
> I have decompiled the class and the generated method hello() is :
>
> public void hello(){
> throw new Error("Unresolved compilation problem: \n\tThe method println2(String) is
> undefined for the type PrintStream\n");
> }
>
> I found that dangerous not to have a compilation error.
> Is that normal ?
>
> Thanks for your help.
> Herv�
>
> P.S : I using Maven 1.0, jdk 1.4.2_05 on WinXP.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]