Skip to content

Commit 7ff5ee5

Browse files
authored
Merge pull request #4260 from JackPGreen/update-maven-central-url
Update Maven central URL
2 parents da4c337 + 93373a8 commit 7ff5ee5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

h2/src/docsrc/html/build.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h3>Using a Central Repository</h3>
100100
</pre>
101101
<p>
102102
New versions of this database are first uploaded to http://hsql.sourceforge.net/m2-repo/ and then automatically
103-
synchronized with the main <a href="https://repo1.maven.org/maven2/com/h2database/h2/">Maven repository</a>;
103+
synchronized with the main <a href="https://repo.maven.apache.org/maven2/com/h2database/h2/">Maven repository</a>;
104104
however after a new release it may take a few hours before they are available there.
105105
</p>
106106
<h3>Maven Plugin to Start and Stop the TCP Server</h3>

h2/src/docsrc/html/cheatSheet.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h2>Using H2</h2>
112112
<a href="https://github.com/h2database/h2database">open source</a>,
113113
<a href="license.html">free to use and distribute</a>.
114114
</li><li><a href="https://h2database.com/html/download.html">Download</a>:
115-
<a href="https://repo1.maven.org/maven2/com/h2database/h2/${version}/h2-${version}.jar" class="link">jar</a>,
115+
<a href="https://repo.maven.apache.org/maven2/com/h2database/h2/${version}/h2-${version}.jar" class="link">jar</a>,
116116
<a href="${downloadRoot}/h2-setup-${versionDate}.exe" class="link">installer (Windows)</a>,
117117
<a href="${downloadRoot}/h2-${versionDate}.zip" class="link">zip</a>.
118118
</li><li>To start the

h2/src/main/org/h2/tools/Upgrade.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public final class Upgrade {
130130
//
131131
};
132132

133-
private static final String REPOSITORY = "https://repo1.maven.org/maven2";
133+
private static final String REPOSITORY = "https://repo.maven.apache.org/maven2";
134134

135135
/**
136136
* Performs database upgrade from an older version of H2.

h2/src/tools/org/h2/build/BuildBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ protected static String getSHA1(byte[] data) {
579579
*/
580580
protected void downloadUsingMaven(String target, String group,
581581
String artifact, String version, String sha1Checksum) {
582-
String repoDir = "https://repo1.maven.org/maven2";
582+
String repoDir = "https://repo.maven.apache.org/maven2";
583583
Path targetFile = Paths.get(target);
584584
if (Files.exists(targetFile)) {
585585
return;

h2/src/tools/org/h2/dev/util/Migrate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class Migrate {
3737
private static final String PASSWORD = "sa";
3838
private static final File OLD_H2_FILE = new File("./h2-1.2.127.jar");
3939
private static final String DOWNLOAD_URL =
40-
"https://repo1.maven.org/maven2/com/h2database/h2/1.2.127/h2-1.2.127.jar";
40+
"https://repo.maven.apache.org/maven2/com/h2database/h2/1.2.127/h2-1.2.127.jar";
4141
private static final String CHECKSUM =
4242
"056e784c7cf009483366ab9cd8d21d02fe47031a";
4343
private static final String TEMP_SCRIPT = "backup.sql";

0 commit comments

Comments
 (0)