We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloudformation-cli-java-plugin/python/rpdk/java/codegen.py
Line 49 in 10e32d7
This CodeUri may be correct for other SAM commands, but if you run sam build it's incorrect. See aws/aws-sam-cli#1278 (comment):
CodeUri
sam build
It looks like your CodeUri is a jar? It should be the directory of your source not the compiled artifact.
The error it gives:
Build Failed - Error: JavaMavenWorkflow:CopySource - [Errno 20] Not a directory: '/usr/aws-logs-loggroup/target/aws-logs-loggroup-handler-1.0-SNAPSHOT.jar
I fixed it by manually changing the template file:
CodeUri: ./target/aws-logs-loggroup-handler-1.0-SNAPSHOT.jar
to
CodeUri: .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cloudformation-cli-java-plugin/python/rpdk/java/codegen.py
Line 49 in 10e32d7
This
CodeUri
may be correct for other SAM commands, but if you runsam build
it's incorrect. See aws/aws-sam-cli#1278 (comment):The error it gives:
I fixed it by manually changing the template file:
CodeUri: ./target/aws-logs-loggroup-handler-1.0-SNAPSHOT.jar
to
CodeUri: .
The text was updated successfully, but these errors were encountered: