Skip to content

Commit 78ba6bf

Browse files
authored
Fix download links (#1162)
* Snapshot repo has changed * Fix a bug where pkl-codegen-java download link points to Sonatype instead of GitHub Not in the PR: we also need to fix the snapshot download location; but haven't figured out yet what the correct link is.
1 parent 20e7e25 commit 78ba6bf

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

docs/modules/ROOT/partials/component-attributes.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ endif::[]
2323

2424
:uri-maven-docsite: https://central.sonatype.com
2525

26-
:uri-sonatype: https://s01.oss.sonatype.org/content/groups/public
26+
:uri-snapshot-repo: https://central.sonatype.com/repository/maven-snapshots
2727

28-
:uri-maven-repo: https://s01.oss.sonatype.org/content/groups/public
28+
:uri-maven-repo: https://central.sonatype.com/repository/maven-snapshots
2929
ifdef::is-release-version[]
3030
:uri-maven-repo: https://repo1.maven.org/maven2
3131
endif::[]
@@ -150,4 +150,5 @@ endif::[]
150150

151151
:uri-pkl-roadmap: https://github.com/orgs/apple/projects/12/views/1
152152

153+
// TODO: figure out what the correct URL should be
153154
:uri-sonatype-snapshot-download: https://s01.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.pkl-lang&v={pkl-artifact-version}

docs/modules/java-binding/pages/codegen.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include::ROOT:partial$component-attributes.adoc[]
55
:uri-pkl-codegen-java-download: {uri-sonatype-snapshot-download}&a=pkl-cli-codegen-java&e=jar
66

77
ifdef::is-release-version[]
8-
:uri-pkl-cli-codegen-java-download: {github-releases}/pkl-codegen-java
8+
:uri-pkl-codegen-java-download: {github-releases}/pkl-codegen-java
99
endif::[]
1010

1111
The Java source code generator takes Pkl class definitions as an input, and generates corresponding Java classes with equally named properties.
@@ -33,7 +33,7 @@ The `pkl-codegen-java` library is available {uri-pkl-codegen-java-maven-module}[
3333
It requires Java 17 or higher.
3434

3535
ifndef::is-release-version[]
36-
NOTE: Snapshots are published to repository `{uri-sonatype}`.
36+
NOTE: Snapshots are published to repository `{uri-snapshot-repo}`.
3737
endif::[]
3838

3939
==== Gradle

docs/modules/pkl-doc/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The `pkl-doc` library is available {uri-pkl-doc-maven}[from Maven Central].
9494
It requires Java 17 or higher.
9595

9696
ifndef::is-release-version[]
97-
NOTE: Snapshots are published to repository `{uri-sonatype}`.
97+
NOTE: Snapshots are published to repository `{uri-snapshot-repo}`.
9898
endif::[]
9999

100100
==== Gradle

docs/modules/pkl-gradle/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ It requires Java 17 or higher and Gradle 8.1 or higher.
2525
Earlier Gradle versions are not supported.
2626

2727
ifndef::is-release-version[]
28-
NOTE: Snapshots are published to repository `{uri-sonatype}`.
28+
NOTE: Snapshots are published to repository `{uri-snapshot-repo}`.
2929
endif::[]
3030

3131
The plugin is applied as follows:

0 commit comments

Comments
 (0)