asperbbc:
Amazon's Raspberry Pi guide lets coders use Alexa
Amazon has published an online guide explaining how to access its virtual assistant Alexa via a Raspberry Pi. The technique presents a lower-cost alternative to buying one of its Echo devices - which are not yet available outside of the US - and an incentive to gain computer skills.
The walkthrough includes access to the necessary app data and certificates in order to link the budget computer up to the tech giant's servers.
---snip---
Amazon says that users require at least the second-generation model, released in February 2015, as well as:
a plug-in USB microphone
a MicroSD card
an ethernet cable
a wi-fi wireless adapter
a mouse, keyboard and screen
(The guide requires the user to install the Java Development Kit and the Maven automation tool )
full BBC article here http://www.bbc.com/news/technology-35899887
Amazon Github project walkthrough, photos, & install guide: https://github.com/amzn/alexa-avs-raspberry-pi
- CaptSunset
- Posts: 140
- Joined: Fri Mar 20, 2015 2:55 pm
-
- Posts: 25175
- Joined: Tue Mar 25, 2014 12:40 pm
- Location: Delightful Dorset
Re: BBC: Amazon connects Pi to Alexa
Did you miss this ALEXA PostCaptSunset wrote:asperbbc:
Amazon's Raspberry Pi guide lets coders use Alexa
Amazon has published an online guide explaining how to access its virtual assistant Alexa via a Raspberry Pi. The technique presents a lower-cost alternative to buying one of its Echo devices - which are not yet available outside of the US - and an incentive to gain computer skills.
The walkthrough includes access to the necessary app data and certificates in order to link the budget computer up to the tech giant's servers.
---snip---
Amazon says that users require at least the second-generation model, released in February 2015, as well as:
a plug-in USB microphone
a MicroSD card
an ethernet cable
a wi-fi wireless adapter
a mouse, keyboard and screen
(The guide requires the user to install the Java Development Kit and the Maven automation tool )
full BBC article here http://www.bbc.com/news/technology-35899887
Amazon Github project walkthrough, photos, & install guide: https://github.com/amzn/alexa-avs-raspberry-pi

viewtopic.php?f=37&t=123576&p=938067#p938067
The information is out there....you just have to let it in.
Re: BBC: Amazon connects Pi to Alexa
Is somebody going to give this a go?
Re: BBC: Amazon connects Pi to Alexa
That previous thread is a 6 months old attempt followed up with a single-link reference. I think an official release from Amazon from 4 days ago that is clearly a public push to get Alexa into widespread public use (following Googles recent step) by piggy-backing the Pi warrants its own thread

This is awesome news. Clear concise instruction on how to get Alexa up and running on an already widespread piece of hardware. The unstructured speech recognition market is gonna get very interesting.
Raspberry Pi 3 model B Idle @ 250mA
- HDMI +200mA
- Minecraft 1.9 Server +100mA
- 2.4Ghz dongle +20mA
-
- Posts: 578
- Joined: Wed Nov 12, 2014 8:16 pm
Re: BBC: Amazon connects Pi to Alexa
I was considering having a go until I saw the words "Java development kit" at which point my interest evaporated.Douglas6 wrote:Is somebody going to give this a go?
- CaptSunset
- Posts: 140
- Joined: Fri Mar 20, 2015 2:55 pm
Re: BBC: Amazon connects Pi to Alexa
Hi FotL-
I've tried 3 times now to get a Pi in the News thread established, it doesn't seem to work unless some mod will do it and make it a sticky. The BBC article was posted today.
btw, please check out the github step-by-step, it is very well done as a piece of instruction.
I've tried 3 times now to get a Pi in the News thread established, it doesn't seem to work unless some mod will do it and make it a sticky. The BBC article was posted today.
btw, please check out the github step-by-step, it is very well done as a piece of instruction.

Re: BBC: Amazon connects Pi to Alexa
Since you'll find everything needs the java development kit, this is probably a mistake.Pithagoros wrote:I was considering having a go until I saw the words "Java development kit" at which point my interest evaporated.Douglas6 wrote:Is somebody going to give this a go?
-
- Posts: 578
- Joined: Wed Nov 12, 2014 8:16 pm
Re: BBC: Amazon connects Pi to Alexa
Do you mean Java Runtime Environment?stderr wrote:Since you'll find everything needs the java development kit, this is probably a mistake.Pithagoros wrote:I was considering having a go until I saw the words "Java development kit" at which point my interest evaporated.Douglas6 wrote:Is somebody going to give this a go?
Not a mistake, it's been my policy for a long time to wipe all traces of Java cruft from any computer I use. It works for me.
-
- Posts: 26
- Joined: Mon Feb 11, 2013 6:18 pm
Re: BBC: Amazon connects Pi to Alexa
Just installed this and the service seems to be running, but it doesn't receive any sound. Any tips on how to get the usb microphone working with this service?
Re: BBC: Amazon connects Pi to Alexa
I'm trying to followthe walkthrough on github but it's been written assuming Raspbian Wheezy is the OS. All roads now seem to lead to Jessie and I think this may be where I'm running into difficulties. I've got a clean install of Jessie on a rpi3 and the walkthrough only gets me as far as step 2.5 Download and install Node.js However, Jessie already has node v0.10.29 preinstalled. Same goes for Java and javac (v1.8.0_65). Being noobish I'm not sure if I should skip the install steps and continue on or not at this point.
- CaptSunset
- Posts: 140
- Joined: Fri Mar 20, 2015 2:55 pm
Re: BBC: Amazon connects Pi to Alexa
Did you try #11 down on the Github FAQ?dirtydischo wrote:Just installed this and the service seems to be running, but it doesn't receive any sound. Any tips on how to get the usb microphone working with this service?
- CaptSunset
- Posts: 140
- Joined: Fri Mar 20, 2015 2:55 pm
Re: BBC: Amazon connects Pi to Alexa
I'm very new to github's projects myself, and sometimes have difficulty navigating there; but I think you can contact the authors directly by clciking on their icons or issuing a 'pull' request. Right now there are 14 'issues; listed and 4 requests- already mentioned is a copy/paste error fix.AdrianM wrote: it's been written assuming Raspbian Wheezy is the OS. All roads now seem to lead to Jessie and I think this may be where I'm running into difficulties.
For now I'd try getting out an old SD card with Wheezy on it, and seeing if this is actually worth your time!

That is the revolutionary beauty of a Pi; change the card and it's a whole different computer!

-
- Posts: 26
- Joined: Mon Feb 11, 2013 6:18 pm
Re: BBC: Amazon connects Pi to Alexa
Yes, I'd tried looking at the FAQ. The problem I'm having is with the audio input (usb mic) the output is fine.
It might be worth noting that I had to use a different version of node to get it to work. I followed http://conoroneill.net/download-compile ... y-pi-here/ for that bit.
It might be worth noting that I had to use a different version of node to get it to work. I followed http://conoroneill.net/download-compile ... y-pi-here/ for that bit.
Re: BBC: Amazon connects Pi to Alexa
I'm pretty sure that you could just change the hard drive in most any computer and it's a whole different computer too!CaptSunset wrote:That is the revolutionary beauty of a Pi; change the card and it's a whole different computer!
Re: BBC: Amazon connects Pi to Alexa
This is great. Soon we will have millions and millions of devices listening to every word we say and forwarding it to who we don't know.
Memory in C++ is a leaky abstraction .
-
- Posts: 122
- Joined: Mon May 28, 2012 12:18 pm
Re: BBC: Amazon connects Pi to Alexa
I got it working on my RPi3 Jessie but couldn't quite get it working with my Plugable USB Audio Adapter (yet). Other than that its the best voice recognition project I've seen so far. If you are having issues installing it I recommend keeping an eye on the GitHub page and the issues raised there as I have seen that the documentation is being updated when issues are raised.
- CaptSunset
- Posts: 140
- Joined: Fri Mar 20, 2015 2:55 pm
Re: BBC: Amazon connects Pi to Alexa
Mebbe; but I'd bet I'd be both booted up and have my mail sorted, before you'd be able to clear a workspace and find the Phillips screwdriver...stderr wrote:I'm pretty sure that you could just change the hard drive in most any computer and it's a whole different computer too!CaptSunset wrote:That is the revolutionary beauty of a Pi; change the card and it's a whole different computer!

- CaptSunset
- Posts: 140
- Joined: Fri Mar 20, 2015 2:55 pm
Re: BBC: Amazon connects Pi to Alexa
There are some new YouTube vids that simply use an old USB webcam for the audio input and apparently the multi-pin jack for output.bantammenace2012 wrote:I got it working on my RPi3 Jessie but couldn't quite get it working with my Plugable USB Audio Adapter (yet).
(OT AFOW, did you know instructables has plans to build Leeloo's Multipass?

https://youtu.be/OruS55uokTY
https://youtu.be/frH9HaQTFL8
http://www.instructables.com/id/Multipa ... h-Element/
-
- Posts: 1
- Joined: Thu Mar 31, 2016 5:37 pm
Re: BBC: Amazon connects Pi to Alexa
Same issue here. When I run "sudo tar zxvf jdk-8u77-linux-arm32-vfp-hflt.tar.gz -C /opt" I get no file or directory error. I tried creating the opt directory but it already exists. I tried extracting with the built in extractor to the opt folder and that works but when I try the next cmd in the instructions (set default java and javac to the new installed jdk8) I get the same error. the cmd is "sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_77/bin/javac 1"AdrianM wrote:I'm trying to followthe walkthrough on github but it's been written assuming Raspbian Wheezy is the OS. All roads now seem to lead to Jessie and I think this may be where I'm running into difficulties. I've got a clean install of Jessie on a rpi3 and the walkthrough only gets me as far as step 2.5 Download and install Node.js However, Jessie already has node v0.10.29 preinstalled. Same goes for Java and javac (v1.8.0_65). Being noobish I'm not sure if I should skip the install steps and continue on or not at this point.
I think I'm failing with the install. the download isnt installing and the extraction doesn't seem to do anything either. I hve tried to find instructions on how to install the download but get the resault of finding the original github instructions.
I have very little experience with installing software with linux distros so any help would be great
Thanks in advance
-
- Posts: 9
- Joined: Fri Dec 04, 2015 4:03 pm
- Location: US
Re: BBC: Amazon connects Pi to Alexa
Look up AlexaPi. It doesn't use any java only Python and Bash. Works with a switch, to talk, attached to your pi.Pithagoros wrote:I was considering having a go until I saw the words "Java development kit" at which point my interest evaporated.Douglas6 wrote:Is somebody going to give this a go?
-
- Posts: 1
- Joined: Tue Apr 19, 2016 8:51 am
Re: BBC: Amazon connects Pi to Alexa
Can anyone help me?
Can't get Alexa to run and as a newbi not sure what to do next.
I can validate mvn but build fails when I run it.
pi@raspberrypi:~/Desktop/alexa/samples/javaclient $ mvn validate
[INFO] Scanning for projects...
[INFO]
INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alexa Voice Service Sample Java Client 20160207.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.472 s
[INFO] Finished at: 2016-04-19T08:41:46+00:00
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
pi@raspberrypi:~/Desktop/alexa/samples/javaclient $ mvn -e -X exec:exec
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_77, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.1.19-v7+", arch: "arm", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: javax.enterprise.util.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.slf4j.helpers.* < plexus.core
[DEBUG] Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /opt/apache-maven-3.3.9/conf/settings.xml
[DEBUG] Reading user settings from /home/pi/.m2/settings.xml
[DEBUG] Reading global toolchains from /opt/apache-maven-3.3.9/conf/toolchains.xml
[DEBUG] Reading user toolchains from /home/pi/.m2/toolchains.xml
[DEBUG] Using local repository at /home/pi/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/pi/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.amazon.alexa.avs:sample-java-client:jar:20160207.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from POM com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] Tasks: [exec:exec]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alexa Voice Service Sample Java Client 20160207.0
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from POM com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: com.amazon.alexa.avs:sample-java-client:20160207.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<arguments>
<argument>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar</argument>
<argument>-Dlog4j.configurationFile=file:////home/pi/Desktop/alexa/samples/javaclient/log4j2.xml</argument>
<argument>-classpath</argument>
<classpath/>
<argument>-Djna.library.path=${env.VLC_PATH}</argument>
<argument>com.amazon.alexa.avs.AVSApp</argument>
</arguments>
<basedir default-value="${basedir}"/>
<classpathScope default-value="runtime">${exec.classpathScope}</classpathScope>
<commandlineArgs>${exec.args}</commandlineArgs>
<executable>java</executable>
<longClasspath default-value="false">${exec.longClasspath}</longClasspath>
<outputFile>${exec.outputFile}</outputFile>
<project default-value="${project}"/>
<session default-value="${session}"/>
<skip default-value="false">${skip}</skip>
<sourceRoot>${sourceRoot}</sourceRoot>
<testSourceRoot>${testSourceRoot}</testSourceRoot>
<workingDirectory>${exec.workingdir}</workingDirectory>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=4, ConflictMarker.markTime=2, ConflictMarker.nodeCount=53, ConflictIdSorter.graphTime=3, ConflictIdSorter.topsortTime=2, ConflictIdSorter.conflictIdCount=29, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=24, ConflictResolver.conflictItemCount=52, DefaultDependencyCollector.collectTime=929, DefaultDependencyCollector.transformTime=42}
[DEBUG] com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] commons-codec:commons-codec:jar:1.9:compile
[DEBUG] commons-io:commons-io:jar:2.4:compile
[DEBUG] org.apache.commons:commons-lang3:jar:3.4:compile
[DEBUG] commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG] uk.co.caprica:vlcj:jar:2.4.1:compile
[DEBUG] net.java.dev.jna:platform:jar:3.5.2:compile
[DEBUG] org.glassfish:javax.json:jar:1.0.4:compile
[DEBUG] javazoom:jlayer:jar:1.0.1:compile
[DEBUG] org.mortbay.jetty.alpn:alpn-boot:jar:8.1.7.v20160121:compile
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[DEBUG] org.slf4j:slf4j-api:jar:1.7.10:compile
[DEBUG] org.apache.logging.log4j:log4j-slf4j-impl:jar:2.3:compile
[DEBUG] org.apache.logging.log4j:log4j-api:jar:2.3:compile
[DEBUG] org.apache.logging.log4j:log4j-core:jar:2.3:compile
[DEBUG] org.eclipse.jetty:jetty-alpn-client:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-http:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-client:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-http-client-transport:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-hpack:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-common:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-server:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-security:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-servlet:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-util:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-io:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-client:jar:9.3.7.v20160115:compile
[DEBUG] javax.servlet:javax.servlet-api:jar:3.1.0:compile
[DEBUG] net.java.dev.jna:jna:jar:4.1.0:compile
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-java-client ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=0, ConflictMarker.nodeCount=68, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=25, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=8, ConflictResolver.conflictItemCount=65, DefaultDependencyCollector.collectTime=307, DefaultDependencyCollector.transformTime=11}
[DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.2.1:
[DEBUG] org.apache.maven:maven-toolchain:jar:1.0:compile
[DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG] commons-cli:commons-cli:jar:1.0:compile
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG] org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG] classworlds:classworlds:jar:1.1:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[DEBUG] junit:junit:jar:3.8.2:test
[DEBUG] org.apache.commons:commons-exec:jar:1.1:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1
[DEBUG] Included: org.codehaus.mojo:exec-maven-plugin:jar:1.2.1
[DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG] Included: commons-cli:commons-cli:jar:1.0
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG] Included: org.apache.commons:commons-exec:jar:1.1
[DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.2.1:exec from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1, parent: sun.misc.Launcher$AppClassLoader@647e05]
[DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.2.1:exec' with basic configurator -->
[DEBUG] (f) arguments = [-Xbootclasspath/p:/home/pi/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar, -Dlog4j.configurationFile=file:////home/pi/Desktop/alexa/samples/javaclient/log4j2.xml, -classpath, Classpath {}, -Djna.library.path=${env.VLC_PATH}, com.amazon.alexa.avs.AVSApp]
[DEBUG] (f) basedir = /home/pi/Desktop/alexa/samples/javaclient
[DEBUG] (f) classpathScope = runtime
[DEBUG] (f) executable = java
[DEBUG] (f) longClasspath = false
[DEBUG] (f) project = MavenProject: com.amazon.alexa.avs:sample-java-client:20160207.0 @ /home/pi/Desktop/alexa/samples/javaclient/pom.xml
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@1a590ba
[DEBUG] (f) skip = false
[DEBUG] -- end configuration --
[DEBUG] Collected project artifacts [commons-codec:commons-codec:jar:1.9:compile, commons-io:commons-io:jar:2.4:compile, org.apache.commons:commons-lang3:jar:3.4:compile, commons-fileupload:commons-fileupload:jar:1.3.1:compile, uk.co.caprica:vlcj:jar:2.4.1:compile, net.java.dev.jna:platform:jar:3.5.2:compile, org.glassfish:javax.json:jar:1.0.4:compile, javazoom:jlayer:jar:1.0.1:compile, org.mortbay.jetty.alpn:alpn-boot:jar:8.1.7.v20160121:compile, org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile, org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile, org.slf4j:slf4j-api:jar:1.7.10:compile, org.apache.logging.log4j:log4j-slf4j-impl:jar:2.3:compile, org.apache.logging.log4j:log4j-api:jar:2.3:compile, org.apache.logging.log4j:log4j-core:jar:2.3:compile, org.eclipse.jetty:jetty-alpn-client:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-http:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-client:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-http-client-transport:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-hpack:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-common:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-server:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-security:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-servlet:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-util:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-io:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-client:jar:9.3.7.v20160115:compile, javax.servlet:javax.servlet-api:jar:3.1.0:compile, net.java.dev.jna:jna:jar:4.1.0:compile]
[DEBUG] Collected project classpath [/home/pi/Desktop/alexa/samples/javaclient/target/classes]
[DEBUG] dealing with commons-codec:commons-codec:jar:1.9:compile
[DEBUG] dealing with commons-io:commons-io:jar:2.4:compile
[DEBUG] dealing with org.apache.commons:commons-lang3:jar:3.4:compile
[DEBUG] dealing with commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG] dealing with uk.co.caprica:vlcj:jar:2.4.1:compile
[DEBUG] dealing with net.java.dev.jna:platform:jar:3.5.2:compile
[DEBUG] dealing with org.glassfish:javax.json:jar:1.0.4:compile
[DEBUG] dealing with javazoom:jlayer:jar:1.0.1:compile
[DEBUG] dealing with org.mortbay.jetty.alpn:alpn-boot:jar:8.1.7.v20160121:compile
[DEBUG] dealing with org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[DEBUG] dealing with org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[DEBUG] dealing with org.slf4j:slf4j-api:jar:1.7.10:compile
[DEBUG] dealing with org.apache.logging.log4j:log4j-slf4j-impl:jar:2.3:compile
[DEBUG] dealing with org.apache.logging.log4j:log4j-api:jar:2.3:compile
[DEBUG] dealing with org.apache.logging.log4j:log4j-core:jar:2.3:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-alpn-client:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-http:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-client:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-http-client-transport:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-hpack:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-common:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-server:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-security:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-servlet:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-util:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-io:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-client:jar:9.3.7.v20160115:compile
[DEBUG] dealing with javax.servlet:javax.servlet-api:jar:3.1.0:compile
[DEBUG] dealing with net.java.dev.jna:jna:jar:4.1.0:compile
[DEBUG] Executing command line: java -Xbootclasspath/p:/home/pi/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar -Dlog4j.configurationFile=file:////home/pi/Desktop/alexa/samples/javaclient/log4j2.xml -classpath /home/pi/Desktop/alexa/samples/javaclient/target/classes:/home/pi/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/pi/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/pi/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/home/pi/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar:/home/pi/.m2/repository/uk/co/caprica/vlcj/2.4.1/vlcj-2.4.1.jar:/home/pi/.m2/repository/net/java/dev/jna/platform/3.5.2/platform-3.5.2.jar:/home/pi/.m2/repository/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar:/home/pi/.m2/repository/javazoom/jlayer/1.0.1/jlayer-1.0.1.jar:/home/pi/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar:/home/pi/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/home/pi/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/home/pi/.m2/repository/org/slf4j/slf4j-api/1.7.10/slf4j-api-1.7.10.jar:/home/pi/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.3/log4j-slf4j-impl-2.3.jar:/home/pi/.m2/repository/org/apache/logging/log4j/log4j-api/2.3/log4j-api-2.3.jar:/home/pi/.m2/repository/org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-alpn-client/9.3.7.v20160115/jetty-alpn-client-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-http/9.3.7.v20160115/jetty-http-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-client/9.3.7.v20160115/http2-client-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-http-client-transport/9.3.7.v20160115/http2-http-client-transport-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-hpack/9.3.7.v20160115/http2-hpack-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-common/9.3.7.v20160115/http2-common-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-server/9.3.7.v20160115/jetty-server-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-security/9.3.7.v20160115/jetty-security-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-servlet/9.3.7.v20160115/jetty-servlet-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-util/9.3.7.v20160115/jetty-util-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-io/9.3.7.v20160115/jetty-io-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-client/9.3.7.v20160115/jetty-client-9.3.7.v20160115.jar:/home/pi/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/pi/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar -Djna.library.path=${env.VLC_PATH} com.amazon.alexa.avs.AVSApp
Exception in thread "main" com.amazon.alexa.avs.config.DeviceConfig$MalformedConfigException: /home/pi/Desktop/alexa/samples/javaclient/certs/client.client.pksc12 sslClientKeyStore does not exist.
at com.amazon.alexa.avs.config.DeviceConfig$CompanionServiceInformation.isValid(DeviceConfig.java:488)
at com.amazon.alexa.avs.config.DeviceConfig.<init>(DeviceConfig.java:118)
at com.amazon.alexa.avs.config.DeviceConfigUtils.readConfigFile(DeviceConfigUtils.java:111)
at com.amazon.alexa.avs.config.DeviceConfigUtils.readConfigFile(DeviceConfigUtils.java:46)
at com.amazon.alexa.avs.AVSApp.<init>(AVSApp.java:79)
at com.amazon.alexa.avs.AVSApp.main(AVSApp.java:74)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.571 s
[INFO] Finished at: 2016-04-19T08:43:09+00:00
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project sample-java-client: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project sample-java-client: Command execution failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
... 22 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... nException
pi@raspberrypi:~/Desktop/alexa/samples/javaclient $
Can't get Alexa to run and as a newbi not sure what to do next.
I can validate mvn but build fails when I run it.
pi@raspberrypi:~/Desktop/alexa/samples/javaclient $ mvn validate
[INFO] Scanning for projects...
[INFO]
INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alexa Voice Service Sample Java Client 20160207.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.472 s
[INFO] Finished at: 2016-04-19T08:41:46+00:00
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
pi@raspberrypi:~/Desktop/alexa/samples/javaclient $ mvn -e -X exec:exec
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_77, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.1.19-v7+", arch: "arm", family: "unix"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: javax.enterprise.util.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.slf4j.helpers.* < plexus.core
[DEBUG] Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /opt/apache-maven-3.3.9/conf/settings.xml
[DEBUG] Reading user settings from /home/pi/.m2/settings.xml
[DEBUG] Reading global toolchains from /opt/apache-maven-3.3.9/conf/toolchains.xml
[DEBUG] Reading user toolchains from /home/pi/.m2/toolchains.xml
[DEBUG] Using local repository at /home/pi/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/pi/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.amazon.alexa.avs:sample-java-client:jar:20160207.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from POM com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] Tasks: [exec:exec]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alexa Voice Service Sample Java Client 20160207.0
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin from POM com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: com.amazon.alexa.avs:sample-java-client:20160207.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<arguments>
<argument>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar</argument>
<argument>-Dlog4j.configurationFile=file:////home/pi/Desktop/alexa/samples/javaclient/log4j2.xml</argument>
<argument>-classpath</argument>
<classpath/>
<argument>-Djna.library.path=${env.VLC_PATH}</argument>
<argument>com.amazon.alexa.avs.AVSApp</argument>
</arguments>
<basedir default-value="${basedir}"/>
<classpathScope default-value="runtime">${exec.classpathScope}</classpathScope>
<commandlineArgs>${exec.args}</commandlineArgs>
<executable>java</executable>
<longClasspath default-value="false">${exec.longClasspath}</longClasspath>
<outputFile>${exec.outputFile}</outputFile>
<project default-value="${project}"/>
<session default-value="${session}"/>
<skip default-value="false">${skip}</skip>
<sourceRoot>${sourceRoot}</sourceRoot>
<testSourceRoot>${testSourceRoot}</testSourceRoot>
<workingDirectory>${exec.workingdir}</workingDirectory>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=4, ConflictMarker.markTime=2, ConflictMarker.nodeCount=53, ConflictIdSorter.graphTime=3, ConflictIdSorter.topsortTime=2, ConflictIdSorter.conflictIdCount=29, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=24, ConflictResolver.conflictItemCount=52, DefaultDependencyCollector.collectTime=929, DefaultDependencyCollector.transformTime=42}
[DEBUG] com.amazon.alexa.avs:sample-java-client:jar:20160207.0
[DEBUG] commons-codec:commons-codec:jar:1.9:compile
[DEBUG] commons-io:commons-io:jar:2.4:compile
[DEBUG] org.apache.commons:commons-lang3:jar:3.4:compile
[DEBUG] commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG] uk.co.caprica:vlcj:jar:2.4.1:compile
[DEBUG] net.java.dev.jna:platform:jar:3.5.2:compile
[DEBUG] org.glassfish:javax.json:jar:1.0.4:compile
[DEBUG] javazoom:jlayer:jar:1.0.1:compile
[DEBUG] org.mortbay.jetty.alpn:alpn-boot:jar:8.1.7.v20160121:compile
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[DEBUG] org.slf4j:slf4j-api:jar:1.7.10:compile
[DEBUG] org.apache.logging.log4j:log4j-slf4j-impl:jar:2.3:compile
[DEBUG] org.apache.logging.log4j:log4j-api:jar:2.3:compile
[DEBUG] org.apache.logging.log4j:log4j-core:jar:2.3:compile
[DEBUG] org.eclipse.jetty:jetty-alpn-client:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-http:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-client:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-http-client-transport:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-hpack:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty.http2:http2-common:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-server:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-security:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-servlet:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-util:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-io:jar:9.3.7.v20160115:compile
[DEBUG] org.eclipse.jetty:jetty-client:jar:9.3.7.v20160115:compile
[DEBUG] javax.servlet:javax.servlet-api:jar:3.1.0:compile
[DEBUG] net.java.dev.jna:jna:jar:4.1.0:compile
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-java-client ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=0, ConflictMarker.nodeCount=68, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=25, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=8, ConflictResolver.conflictItemCount=65, DefaultDependencyCollector.collectTime=307, DefaultDependencyCollector.transformTime=11}
[DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.2.1:
[DEBUG] org.apache.maven:maven-toolchain:jar:1.0:compile
[DEBUG] org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG] commons-cli:commons-cli:jar:1.0:compile
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG] org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG] classworlds:classworlds:jar:1.1:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[DEBUG] junit:junit:jar:3.8.2:test
[DEBUG] org.apache.commons:commons-exec:jar:1.1:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1
[DEBUG] Included: org.codehaus.mojo:exec-maven-plugin:jar:1.2.1
[DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG] Included: commons-cli:commons-cli:jar:1.0
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG] Included: org.apache.commons:commons-exec:jar:1.1
[DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.2.1:exec from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.2.1, parent: sun.misc.Launcher$AppClassLoader@647e05]
[DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.2.1:exec' with basic configurator -->
[DEBUG] (f) arguments = [-Xbootclasspath/p:/home/pi/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar, -Dlog4j.configurationFile=file:////home/pi/Desktop/alexa/samples/javaclient/log4j2.xml, -classpath, Classpath {}, -Djna.library.path=${env.VLC_PATH}, com.amazon.alexa.avs.AVSApp]
[DEBUG] (f) basedir = /home/pi/Desktop/alexa/samples/javaclient
[DEBUG] (f) classpathScope = runtime
[DEBUG] (f) executable = java
[DEBUG] (f) longClasspath = false
[DEBUG] (f) project = MavenProject: com.amazon.alexa.avs:sample-java-client:20160207.0 @ /home/pi/Desktop/alexa/samples/javaclient/pom.xml
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@1a590ba
[DEBUG] (f) skip = false
[DEBUG] -- end configuration --
[DEBUG] Collected project artifacts [commons-codec:commons-codec:jar:1.9:compile, commons-io:commons-io:jar:2.4:compile, org.apache.commons:commons-lang3:jar:3.4:compile, commons-fileupload:commons-fileupload:jar:1.3.1:compile, uk.co.caprica:vlcj:jar:2.4.1:compile, net.java.dev.jna:platform:jar:3.5.2:compile, org.glassfish:javax.json:jar:1.0.4:compile, javazoom:jlayer:jar:1.0.1:compile, org.mortbay.jetty.alpn:alpn-boot:jar:8.1.7.v20160121:compile, org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile, org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile, org.slf4j:slf4j-api:jar:1.7.10:compile, org.apache.logging.log4j:log4j-slf4j-impl:jar:2.3:compile, org.apache.logging.log4j:log4j-api:jar:2.3:compile, org.apache.logging.log4j:log4j-core:jar:2.3:compile, org.eclipse.jetty:jetty-alpn-client:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-http:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-client:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-http-client-transport:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-hpack:jar:9.3.7.v20160115:compile, org.eclipse.jetty.http2:http2-common:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-server:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-security:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-servlet:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-util:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-io:jar:9.3.7.v20160115:compile, org.eclipse.jetty:jetty-client:jar:9.3.7.v20160115:compile, javax.servlet:javax.servlet-api:jar:3.1.0:compile, net.java.dev.jna:jna:jar:4.1.0:compile]
[DEBUG] Collected project classpath [/home/pi/Desktop/alexa/samples/javaclient/target/classes]
[DEBUG] dealing with commons-codec:commons-codec:jar:1.9:compile
[DEBUG] dealing with commons-io:commons-io:jar:2.4:compile
[DEBUG] dealing with org.apache.commons:commons-lang3:jar:3.4:compile
[DEBUG] dealing with commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG] dealing with uk.co.caprica:vlcj:jar:2.4.1:compile
[DEBUG] dealing with net.java.dev.jna:platform:jar:3.5.2:compile
[DEBUG] dealing with org.glassfish:javax.json:jar:1.0.4:compile
[DEBUG] dealing with javazoom:jlayer:jar:1.0.1:compile
[DEBUG] dealing with org.mortbay.jetty.alpn:alpn-boot:jar:8.1.7.v20160121:compile
[DEBUG] dealing with org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[DEBUG] dealing with org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[DEBUG] dealing with org.slf4j:slf4j-api:jar:1.7.10:compile
[DEBUG] dealing with org.apache.logging.log4j:log4j-slf4j-impl:jar:2.3:compile
[DEBUG] dealing with org.apache.logging.log4j:log4j-api:jar:2.3:compile
[DEBUG] dealing with org.apache.logging.log4j:log4j-core:jar:2.3:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-alpn-client:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-http:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-client:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-http-client-transport:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-hpack:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty.http2:http2-common:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-server:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-security:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-servlet:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-util:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-io:jar:9.3.7.v20160115:compile
[DEBUG] dealing with org.eclipse.jetty:jetty-client:jar:9.3.7.v20160115:compile
[DEBUG] dealing with javax.servlet:javax.servlet-api:jar:3.1.0:compile
[DEBUG] dealing with net.java.dev.jna:jna:jar:4.1.0:compile
[DEBUG] Executing command line: java -Xbootclasspath/p:/home/pi/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar -Dlog4j.configurationFile=file:////home/pi/Desktop/alexa/samples/javaclient/log4j2.xml -classpath /home/pi/Desktop/alexa/samples/javaclient/target/classes:/home/pi/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/pi/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/pi/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/home/pi/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar:/home/pi/.m2/repository/uk/co/caprica/vlcj/2.4.1/vlcj-2.4.1.jar:/home/pi/.m2/repository/net/java/dev/jna/platform/3.5.2/platform-3.5.2.jar:/home/pi/.m2/repository/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar:/home/pi/.m2/repository/javazoom/jlayer/1.0.1/jlayer-1.0.1.jar:/home/pi/.m2/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.7.v20160121/alpn-boot-8.1.7.v20160121.jar:/home/pi/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/home/pi/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/home/pi/.m2/repository/org/slf4j/slf4j-api/1.7.10/slf4j-api-1.7.10.jar:/home/pi/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.3/log4j-slf4j-impl-2.3.jar:/home/pi/.m2/repository/org/apache/logging/log4j/log4j-api/2.3/log4j-api-2.3.jar:/home/pi/.m2/repository/org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-alpn-client/9.3.7.v20160115/jetty-alpn-client-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-http/9.3.7.v20160115/jetty-http-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-client/9.3.7.v20160115/http2-client-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-http-client-transport/9.3.7.v20160115/http2-http-client-transport-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-hpack/9.3.7.v20160115/http2-hpack-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/http2/http2-common/9.3.7.v20160115/http2-common-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-server/9.3.7.v20160115/jetty-server-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-security/9.3.7.v20160115/jetty-security-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-servlet/9.3.7.v20160115/jetty-servlet-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-util/9.3.7.v20160115/jetty-util-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-io/9.3.7.v20160115/jetty-io-9.3.7.v20160115.jar:/home/pi/.m2/repository/org/eclipse/jetty/jetty-client/9.3.7.v20160115/jetty-client-9.3.7.v20160115.jar:/home/pi/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/pi/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar -Djna.library.path=${env.VLC_PATH} com.amazon.alexa.avs.AVSApp
Exception in thread "main" com.amazon.alexa.avs.config.DeviceConfig$MalformedConfigException: /home/pi/Desktop/alexa/samples/javaclient/certs/client.client.pksc12 sslClientKeyStore does not exist.
at com.amazon.alexa.avs.config.DeviceConfig$CompanionServiceInformation.isValid(DeviceConfig.java:488)
at com.amazon.alexa.avs.config.DeviceConfig.<init>(DeviceConfig.java:118)
at com.amazon.alexa.avs.config.DeviceConfigUtils.readConfigFile(DeviceConfigUtils.java:111)
at com.amazon.alexa.avs.config.DeviceConfigUtils.readConfigFile(DeviceConfigUtils.java:46)
at com.amazon.alexa.avs.AVSApp.<init>(AVSApp.java:79)
at com.amazon.alexa.avs.AVSApp.main(AVSApp.java:74)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.571 s
[INFO] Finished at: 2016-04-19T08:43:09+00:00
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project sample-java-client: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project sample-java-client: Command execution failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
... 22 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... nException
pi@raspberrypi:~/Desktop/alexa/samples/javaclient $