java: Maven plugin and archetype for the CDK
See original GitHub issue@arun-gupta proposed that we will write a maven plugin for the CDK that will make the CDK java experience more idiomatic:
- Maven archetype for cdk projects instead of
cdk init -l java
- Maven goals for the various cdk operations such as synthesis, deploy, diff
- Remove the need for
cdk.json
,app.sh
, etc. - Don’t require to install node and the toolkit (we can do that by bundling the toolkit via the likes of pkg and then bundle into the Maven plugin for all architectures
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Working with the AWS CDK in Java - AWS Documentation
Use Maven to install AWS Construct Library packages, which are in the group software.amazon.awscdk . Most constructs are in the artifact aws-cdk-lib ,...
Read more >maven-cdk-plugin| JBoss.org Content Archive (Read Only)
Hey, I'm trying to set up the CDK for the first time (and I don't have much maven experience.) I've followed the instructions...
Read more >AWS CDK Maven Plugin - javalibs
The AWS CDK Maven plugin produces and deploys CloudFormation templates based on the cloud infrastructure defined by means of CDK. The goal of...
Read more >integration problem - users@maven.apache.org - narkive
Caused by: org.apache.maven.plugin.MojoFailureException: The desired archetype d oes not exist (org.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT)
Read more >Deploy a Java Lambda Function and API Gateway with AWS ...
JDK 11 (Amazon Corretto is recommended) and Maven 3.5 or higher; AWS CDK installed locally: npm install -g cdk; Docker to test the...
Read more >
Top Related Medium Post
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1 for Gradle as well as Kotlin for language. For orgs that are standardized on Gradle this is an impediment. Even better would be support for Gradle Kotlin DSL. I could see cli args being something like:
cdk init --language=java --build-tool=gradle dsl=kotlin
@eladb Gradle is pretty cool but Maven would capture significant part of the developer community IMHO. So for prioritization, start with Maven. If the code is modular then Gradle plugin would be just another wapper on top of the base code.