Github user arthare commented on the issue:
https://github.com/apache/incubator-predictionio/issues/293
@infoquestsolutions
@jozsefhabit
Managed to fix the SimilarProduct template.
built.sbt needed to be modified to:
```
import AssemblyKeys._
assemblySettings
name := "template-scala-parallel-similarproduct"
organization := "io.prediction"
parallelExecution in Test := false
test in assembly := {}
libraryDependencies ++= Seq(
"org.apache.predictionio" %% "apache-predictionio-core" %
pioVersion.value % "provided",
"org.apache.spark" %% "spark-core" % "1.3.0" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.3.0" % "provided",
"org.scalatest" %% "scalatest" % "2.2.1" % "test")
```
And each .scala file needed to have its `import` statements modified:
`io.prediction.controller.P2LAlgorithm` ->
`org.apache.predictionio.controller.P2LAlgorithm`
Then you should be able to `pio build` again.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---