Java
The java target requires the following configuration:
maven- thegroupIdandartifactIdfor the Maven package.- Optionally a
versionSuffixcan be provided that will be appended at the end of the Maven package'sversionfield. The suffix must start with a.or a-. package- the root Java package name under which the types will be declared.
Example:
{
"jsii": {
"java": {
"package": "acme.jsii.hello", // Required
"maven": {
"groupId": "acme", // Required
"artifactId": "jsii-hello", // Required
"versionSuffix": ".PREVIEW" // Optional
}
},
// ...
},
// ...
}
The resulting artifact is a Maven package that can be deployed to Maven Central using the
deploy-staged-repository command of the nexus-staging-maven-plugin.