You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ne...@indiatimes.com on 2008/11/08 08:53:21 UTC

Maven compilation error

Hi,

When i am compiling the classes using

mvn com[ile,I am gettin the followiug exceptions...

INFO] Compilation failure


error: IO exception sun.io.MalformedInputException
error: IO exception sun.io.MalformedInputException
error: IO exception sun.io.MalformedInputException
error: IO exception sun.io.MalformedInputException


Earlier when we had used ant scripts,this was resolved with

<javac encoding="iso-8859-1" srcdir="".....


How to specify the same in maven??

THanks

Regards


--
Hyundai to launch the i20 in India. Catch the exclusive preview on ZigWheels.com
http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven compilation error

Posted by ne...@indiatimes.com.
Thanks man Mathus :)

----- Original Message -----
From: Baptiste MATHUS <ml...@batmat.net>
To: Maven Users List <us...@maven.apache.org>
Sent: Sat, 8 Nov 2008 19:42:05 +0530 (IST)
Subject: Re: Maven compilation error

Hi,

See the maven-compiler-plugin:
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#encodingadd
the encoding tag inside the configuration one.

Cheers.

2008/11/8 <ne...@indiatimes.com>

> Hi,
>
> When i am compiling the classes using
>
> mvn com[ile,I am gettin the followiug exceptions...
>
> INFO] Compilation failure
>
>
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
>
>
> Earlier when we had used ant scripts,this was resolved with
>
> <javac encoding="iso-8859-1" srcdir="".....
>
>
> How to specify the same in maven??
>
> THanks
>
> Regards
>
>
> --
> Hyundai to launch the i20 in India. Catch the exclusive preview on
> ZigWheels.com
>
> http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !



--
Hyundai to launch the i20 in India. Catch the exclusive preview on ZigWheels.com
http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven compilation error

Posted by Baptiste MATHUS <ml...@batmat.net>.
Hi,

See the maven-compiler-plugin:
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#encodingadd
the encoding tag inside the configuration one.

Cheers.

2008/11/8 <ne...@indiatimes.com>

> Hi,
>
> When i am compiling the classes using
>
> mvn com[ile,I am gettin the followiug exceptions...
>
> INFO] Compilation failure
>
>
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
>
>
> Earlier when we had used ant scripts,this was resolved with
>
> <javac encoding="iso-8859-1" srcdir="".....
>
>
> How to specify the same in maven??
>
> THanks
>
> Regards
>
>
> --
> Hyundai to launch the i20 in India. Catch the exclusive preview on
> ZigWheels.com
>
> http://www.zigwheels.com/b2cam/newsDetails.action?name=Emb11_20080731&path=/INDT/News/Emb11_20080731&page=1&pagecount=2&utm_source=indmail&utm_medium=footer&utm_content=tracking&utm_campaign=Nletter_07oct2008_ZW
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !