Hey Joesan,

mvn clean install -Pscala-11

Works, you have to define the version of Scala (if you have more as one version 
installed). mvn clean install detects the Scala version and build automatically 

—Alex 

> On 15. Jan 2022, at 07:30, Joe San <[email protected]> wrote:
> 
> I checked out and tried the following against the top level project and ran
> into errors as I tried using scala profile, thinking that it would compile
> any scala sources, but it seems it has some problems. Has anyone tried
> using scala as a profile for the Wayang builds?
> 
> joesan@joesan-InfinityBook-S-14-v5:~/Projects/Private/apache-projects/incubator-wayang$
> mvn clean install -P scala
> .....
> .....
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  2.056 s
> [INFO] Finished at: 2022-01-15T07:24:39+01:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> net.alchim31.maven:scala-maven-plugin:4.5.6:compile (compile-scala) on
> project wayang: Execution compile-scala of goal
> net.alchim31.maven:scala-maven-plugin:4.5.6:compile failed: invalid
> versionNumber : major.minor(.bugfix)(modifier) :${scala.version} -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> joesan@joesan-InfinityBook-S-14-v5
> :~/Projects/Private/apache-projects/incubator-wayang$

Reply via email to