Skip to content

Instantly share code, notes, and snippets.

@behaghel
Created August 18, 2011 12:44
Show Gist options
  • Save behaghel/1153988 to your computer and use it in GitHub Desktop.
Save behaghel/1153988 to your computer and use it in GitHub Desktop.
davidB/maven-scala-plugin#57 illustration
[INFO] [scala:compile {execution: default}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[INFO] /home/hub/p/eee/src/main/scala:-1: info: compiling
[INFO] Compiling 128 source files to /home/hub/p/eee/target/classes at 1312794546514
[INFO] Recompiling 1 files
[ERROR] /home/hub/p/eee/src/main/scala/Service.scala:72: error: type mismatch;
[INFO] found : Unit
[INFO] required: () => Any
[INFO] f()
[INFO] ^
[ERROR] /home/hub/p/eee/src/main/scala/src/main/scala/Service.scala:79: error: type mismatch;
[INFO] found : Unit
[INFO] required: () => Any
[INFO] f()
[INFO] ^
[ERROR] two errors found
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Aug 08 11:09:10 CEST 2011
[INFO] Final Memory: 45M/297M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment