MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Trouble getting Alexa to install



  • Hello I’ve been trying to get Alexa to install on my mm. Been following this tutorial
    https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi

    Everything is fine until I get to step 7 and it wants me to run the command:
    javaclient && mvn exec:exec

    When I run the command I get this

    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.819 s
    [INFO] Finished at: 2018-12-08T18:18:28-08:00
    [INFO] Final Memory: 7M/17M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Could not find goal '' in plugin org.codehaus.mojo:exec-maven-plugin:1.2.1 among available goals exec, java, help -> [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/MojoNotFoundException``
    
    Anybody have any clues on what I'm doing wrong here?


  • This is really frustrating if anybody could help it would be greatly appreciated !! I think it has to do something with java8 but java8 is already installed it says


  • Project Sponsor

    @tbs86 - At first glance, it looks like Maven is having trouble locating the defined target. Maven works by defining configurations to assist with compilation. “Exec”, “test”, “debug”, “production”, etc. are all examples of Maven targets. At first blush, it seems that the Maven XML file does not include a target named “exec”.

    I don’t think you’re doing anything wrong, per se. More likely, someone has updated the Maven file and the instructions are out of date.


Log in to reply