Just another idea...if you're using an alternative encoding on
purpose, you might try something like:
<project>
[...]
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- not sure if this applies to the IBM compiler, just
something I dug up on Google -->
<!-- NOTE: UTF-8 is just an example... -->
<compilerArgument> -encoding UTF-8 </compilerArgument>
</configuration>
</plugin>
</plugins>
</build>
</project>
Just FWIW.
-john
On Aug 14, 2007, at 8:54 AM, Enrique Gaona wrote:
Patrick,
Thanks for the info and the link. I'm using the IBM JDK 1.4.2. I'll
definitely try your suggestion and let you know the results.
Thanks again.
Enrique
"Patrick Schneider" <[EMAIL PROTECTED]>
"Patrick Schneider" <[EMAIL PROTECTED]>
08/13/2007 08:00 PM
Please respond to
"Maven Users List" <[email protected]>
To
"Maven Users List" <[email protected]>
cc
Subject
Re: error: IO exception sun.io.MalformedInputException
Enrique,
Are you using the IBM JDK? If so, do you know if your files are
explicitly
encoded in UTF-8? I've experienced the same problem with the IBM
JDK -- the
filtering in Maven was munging the bits, causing failures.
You might experiment with altering the default filtering, by stating
explicitly what your files are encoded in, or turning it off
entirely...
http://maven.apache.org/guides/getting-started/index.html#How%20do%
20I%20filter%20resource%20files
?
Patrick
On 8/13/07, Enrique Gaona <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
> I was wondering if anyone has encountered the "error: IO exception
> sun.io.MalformedInputException" in continuum. This error shows
up when
> the build is executed within continuum, but not from the command
> line. Any
> ideas? Thanks.
>
> Compiling 20 source files to
>
> /opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/
CSDPContentGenClient/target/classes
>
> [INFO]
>
----------------------------------------------------------------------
--
> [ERROR] BUILD FAILURE
> [INFO]
>
----------------------------------------------------------------------
--
> [INFO] Compilation failure
>
> error: IO exception sun.io.MalformedInputException
>
> [INFO]
>
----------------------------------------------------------------------
--
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
----------------------------------------------------------------------
--
> [INFO] Total time: 3 minutes 42 seconds
> [INFO] Finished at: Mon Aug 13 16:44:33 CDT 2007
> [INFO] Final Memory: 38M/116M
> [INFO]
>
----------------------------------------------------------------------
--
>
> Enrique
>
---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john