maven-cli-plugin shell problem

4 views
Skip to first unread message

braver

unread,
Jun 30, 2009, 11:53:36 PM6/30/09
to Maven and Scala
Thanks to Josh, I found maven-cli-plugin at http://wiki.github.com/mrdon/maven-cli-plugin
and started using it. It had problems with Maven 2.1.0, but works OK
with Maven 2.0.10 and the new 2.2.0. In order to do Scala, have to
use

mvn cli:execute-phase

However, often, I hit Enter or Arrow-up key, and the shell quits with:

maven2> !!!! exc !!!java.io.IOException: Broken pipe
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at java.io.BufferedOutputStream.flushBuffer
(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush
(BufferedOutputStream.java:123)
at org.scala_tools.maven.StreamPiper.run(StreamPiper.java:42)
Exception in thread "Thread-2" java.lang.RuntimeException: wrap:
Broken pipe
at org.scala_tools.maven.StreamPiper.run(StreamPiper.java:56)
Caused by: java.io.IOException: Broken pipe
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at java.io.BufferedOutputStream.flushBuffer
(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush
(BufferedOutputStream.java:123)
at org.scala_tools.maven.StreamPiper.run(StreamPiper.java:42)

-- notice scala_tools getting in on the action somehow, why?!

Cheers,
Alexy

Josh Suereth

unread,
Jul 1, 2009, 8:36:45 AM7/1/09
to maven-a...@googlegroups.com
I'm wondering if there's a jline conflict between the maven-scala-plugin and the maven-cli-plugin.  I'll have to investigate.  I'll open an issue on the project.
Reply all
Reply to author
Forward
0 new messages