File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
fern/products/sdks/overview/java Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ config:
8585</ParamField>
8686
8787<ParamField path="publish-to" type="'central' | 'ossrh'" required={false} toc={true}>
88+ Publish target for Maven packages. Use `central` for Maven Central Portal or `ossrh` for legacy Nexus Repository.
8889</ParamField>
8990
9091<ParamField path="wrapped-aliases" type="boolean" default="false" required={false} toc={true}>
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ groups:
7171 groupId:artifactId` field. This specifies how your Java SDK will be
7272 published and referenced in the Maven Central respository.
7373
74- ` ` ` yaml {8}
74+ ` ` ` yaml {8,11 }
7575 groups:
7676 java-sdk:
7777 generators:
@@ -80,6 +80,8 @@ groups:
8080 output:
8181 location: maven
8282 coordinate: com.company:sdk-name # <company name in reverse domain name format>:<SDK name>
83+ config:
84+ publish-to: central # Use 'central' for new Sonatype Central Portal (most common)
8385 github:
8486 repository: your-org/company-java
8587 ` ` `
You can’t perform that action at this time.
0 commit comments