question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Reactions:14
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

7reactions
digitalsanctumcommented, Dec 1, 2018

+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

3reactions
arun-guptacommented, Oct 5, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found