No versions available for com.hashicorp:cdktf:jar when running jsii-pacmak #2996
Labels
bug
Something isn't working
confirmed
independently reproduced by an engineer on the team
language/java
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
waiting-for-3rd-party-fix
Expected Behavior
When running jsii-pacmak including java as a target, a java jar package should be successfully generated for my constructs.
Actual Behavior
When running jsii-pacmak I get the following error:
[ERROR] Failed to execute goal on project ipidp: Could not resolve dependencies for project com.clarivate:ipidp:jar:0.1.44: Failed to collect dependencies at com.hashicorp:cdktf-provider-aws:jar:15.0.0 -> com.hashicorp:cdktf:jar:[0.17.0,0.18.0): No versions available for com.hashicorp:cdktf:jar:[0.17.0,0.18.0) within specified range -> [Help 1]
The packaging tool downloads the metadata file from maven central:
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/hashicorp/cdktf/maven-metadata.xml (19 kB at 326 kB/s)
However, the file maven-metadata.xml does not contain any version of this jar for 0.17.0 or above. Instead it contains:
0.15.0-pre.41
Steps to Reproduce
Versions
jsii: 1.84.0
cdktf: 0.17.0
Providers
No response
Gist
No response
Possible Solutions
This used to work fine until yesterday. I suspect the metadata file was incorrectly updated.
Workarounds
None
Anything Else?
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: