alexa / alexa-skills-kit-sdk-for-java

The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
http://developer.amazon.com/ask
Apache License 2.0
816 stars 746 forks source link

Class com.amazon.ask.Skills not included in version. 2.5.5 jar #144

Closed ToddMason closed 6 years ago

ToddMason commented 6 years ago

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report 
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

The jar ask-sdk-core-2.5.5.jar doesn't include the class com.amazon.ask.Skills

The following is a snippet from my maven pom.xml

**<dependency>
        <groupId>com.amazon.alexa</groupId>
        <artifactId>ask-sdk-lambda-support</artifactId>
        <version>2.5.5</version>
    </dependency>**

When I revert back to version 2.0.2 the jar file contains com.amazon.ask.Skills.

Chris-Liao commented 6 years ago

Hi, ask-sdk-core doesn't depend on Skills, https://github.com/alexa/alexa-skills-kit-sdk-for-java/blob/2.0.x/ask-sdk/src/com/amazon/ask/Skills.java, it's in ask-sdk module, you can add this dependency to your project, https://github.com/alexa/alexa-skills-kit-sdk-for-java/blob/2.0.x/ask-sdk/pom.xml. Thanks.

ToddMason commented 6 years ago

I see this in the Helloword example.

com.amazon.alexa ask-sdk-core 2.5.5

I have the same in my pom.xml. Shouldn't that do it?

Chris-Liao commented 6 years ago

@ToddMason are you referring to this HellloWorld sample? There is only one ask-sdk dependency.

ToddMason commented 6 years ago

Yes, sorry for some reason I had gotten confused and was using ask-sdk-core and not ask-sdk for my artifact id. I'm not having any issues now. Thanks, and again sorry for wasting your time.

Chris-Liao commented 6 years ago

@ToddMason no problem, closing this issue and feel free to open for any questions. Thanks.