Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Can not compile #2

Open
martinthurn-LFT opened this issue Sep 26, 2016 · 2 comments
Open

Can not compile #2

martinthurn-LFT opened this issue Sep 26, 2016 · 2 comments

Comments

@martinthurn-LFT
Copy link

Hi, thank you for your great contribution. However, I can not get it to compile. I get the following error:
Could not find artifact com.amazonaws:aws-java-sdk-flow-build-tools:jar:1.10.71 in central (https://repo.maven.apache.org/maven2)

@pedropaulovc
Copy link
Owner

Hello Martin. This is probably a regression caused by PR #1.

Please try building from commit d9938fa instead and let me know how it
goes.

Thanks
Pedro Paulo

On Sep 26, 2016 6:59 AM, "Martin Thurn" notifications@github.com wrote:

Hi, thank you for your great contribution. However, I can not get it to
compile. I get the following error:

Could not find artifact com.amazonaws:aws-java-sdk-flow-build-tools:jar:1.10.71
in central (https://repo.maven.apache.org/maven2)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjRsn_8aD16xM6W9v8rqQhHBdeq-D7Aks5qt8RagaJpZM4KGgTp
.

@joezen777
Copy link

This is the solution for the above problem. Go to the lib folder in the repo and run this command.
mvn install:install-file -Dfile=aws-java-sdk-flow-build-tools-1.10.71.jar -DgroupId=com.amazonaws -DartifactId=aws-java-sdk-flow-build-tools -Dversion=1.10.71 -Dpackaging=jar -DgeneratePom=true

If you think to yourself, maybe I should do what AWS says and include the aws-swf-build-tools instead of the above as your dependency, then the build will compile successfully but when you run mvn package, then unit tests will fail. After running the above command and making sure I rely on the above package instead of aws-swf-build-tools, then all unit tests work as expected. Hopefully if you're getting the mysterious IllegalStateException "not ready" message in SWF and flow framework you will find this source. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants