export the java version you want to use

> On 15. Jan 2022, at 16:02, Joe San <[email protected]> wrote:
> 
> Figured out that I had different scala versions set in my .bash_profile.
> Once I got down from Scala 3 to Scala 2.12, I was able to proceed with the
> compilation, until I hit the next one which I guess is related to a Java
> settings. Again I have quite a few java versions that I use for various
> projects and there is something that is causing this issue.
> 
> 
> 
> On Sat, Jan 15, 2022 at 7:30 AM 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