Cannot fork scala console

53 views
Skip to first unread message

ericacm

unread,
Feb 7, 2014, 7:12:09 PM2/7/14
to maven-a...@googlegroups.com
Hi all:

When trying to run "mvn scala:console" I get a "[WARNING] scala-maven-plugin cannot fork scala console!! Running in process", then the console that it runs does not accept any input.

Here is my plugin config:

            <plugin>

                <groupId>net.alchim31.maven</groupId>

                <artifactId>scala-maven-plugin</artifactId>

                <version>3.1.6</version>

                <configuration>

                    <scalaVersion>2.10.3</scalaVersion>

                    <args>

                        <arg>-unchecked</arg>

                        <arg>-deprecation</arg>

                        <arg>-feature</arg>

                        <arg>-g:vars</arg>

                    </args>

                </configuration>

                <executions>

                    <execution>

                        <id>scala-compile-first</id>

                        <phase>process-resources</phase>

                        <goals>

                            <goal>add-source</goal>

                            <goal>compile</goal>

                        </goals>

                    </execution>

                    <execution>

                        <id>scala-test-compile</id>

                        <phase>process-test-resources</phase>

                        <goals>

                            <goal>testCompile</goal>

                        </goals>

                    </execution>

                </executions>

            </plugin>


I just accidentally posted this on the scala-tools list, I apologize for the cross-posting.


Please advise, thanks!

ericacm

unread,
Feb 18, 2014, 12:21:27 PM2/18/14
to maven-a...@googlegroups.com
Hi all - I didn't get a response so I wanted to follow up.

Thanks,

Eric Pederson

unread,
Feb 18, 2014, 2:59:16 PM2/18/14
to maven-a...@googlegroups.com
It turns out that this is related to Cygwin.  I've had problems using the REPL on Cygwin before so it looks like they are related.  mvn scala:console works fine in a DOS command window.

Thanks,


-- Eric


--
 
---
You received this message because you are subscribed to a topic in the Google Groups "Maven and Scala" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maven-and-scala/j4x5Ma7oBjs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maven-and-sca...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages