I haven't tried scala:cc, but you can ask maven to just build a particular sub-project. For example:
mvn -pl :spark-examples_2.10 compile On Sat, Nov 15, 2014 at 5:31 PM, Yiming (John) Zhang <sdi...@gmail.com> wrote: > Hi, > > > > I have already successfully compile and run spark examples. My problem is > that if I make some modifications (e.g., on SparkPi.scala or LogQuery.scala) > I have to use “mvn -DskipTests package” to rebuild the whole spark project > and wait a relatively long time. > > > > I also tried “mvn scala:cc” as described in > http://spark.apache.org/docs/latest/building-with-maven.html, but I could > only get infinite stop like: > > [INFO] --- scala-maven-plugin:3.2.0:cc (default-cli) @ spark-parent --- > > [INFO] wait for files to compile... > > > > Is there any method to incrementally compile the examples using mvn? Thank > you! > > > > Cheers, > > Yiming -- Marcelo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org