Commit Graph

989 Commits

Author SHA1 Message Date
Michael Bayne ff9f028828 Update various plugins.
Also migrate to new Sonatype release plugin.
2026-02-12 15:44:23 -08:00
Michael Bayne 73bd66758d We need this special handling here.
If we're running in the Digester, we need to and will see all of the
java_location properties (one for each supported platform), but if we're
running in a real installation, we'll only see the the one java_location that's
appropriate for our platform.

This initJava code gets called while we're in Digester mode, so it needs not to
crash when it sees multiple java_location entries.
2026-02-12 15:34:54 -08:00
Michael Bayne 3f80104238 Upgrade Proguard to version that can handle JDK 25+. 2026-02-12 14:33:59 -08:00
Michael Bayne db5e14ec27 Upgrade GraalVM to one that works with JDK 23+. 2025-07-10 11:32:43 -07:00
Michael Bayne fa13ce785e Fiddling to make Mockito work on modern JVMs. 2025-07-10 11:26:18 -07:00
Michael Bayne 9c0ac56d9e Target post-Java 9 VMs. 2025-07-10 11:25:48 -07:00
Michael Bayne 337323579a Add a link to bekoenig's fork. 2025-01-07 13:53:35 -08:00
Michael Bayne 917b7c346d Merge pull request #274 from bskaarup/master
Ability to handle java version with period sign instead of underscore…
2023-12-22 09:02:20 -08:00
Brian Skaarup de18274601 Ability to handle java version with period sign instead of underscore like JAVA_VERSION="17.0.8.1" and not only JAVA_VERSION="17.0.8_1" 2023-12-20 12:58:18 +01:00
Michael Bayne 792f0a1669 Merge pull request #262 from bekoenig/cleanup_on_install
Moved resource cleanup to install for support of unversioned-mode
2022-08-01 09:37:23 -07:00
Michael Bayne 5acd0d98cc Merge pull request #263 from ullenius/refactoring
Refactoring
2022-06-21 15:02:45 -07:00
Anosh D. Ullenius 513c40c735 Replace deprecated Mockito-class 2022-06-17 20:45:54 +02:00
Anosh D. Ullenius eb8c7f67fb Simplify assertions 2022-06-17 20:40:27 +02:00
Anosh D. Ullenius 42dfbe4735 Replace string concatenation in loop with StringBuilder 2022-06-17 20:35:38 +02:00
Anosh D. Ullenius 508ef73d85 Use factory method for creating FileInputStream 2022-06-17 20:34:58 +02:00
Anosh D. Ullenius 03ed2f52d1 Type inference. Use autoboxing for int 2022-06-17 20:33:00 +02:00
Anosh D. Ullenius 258d85b934 Remove redundant throws clause 2022-06-17 20:29:52 +02:00
Anosh D. Ullenius 245f5386ce Remove protected-modifier in final class 2022-06-17 20:26:22 +02:00
Anosh D. Ullenius 2b30d9dab0 Make fields final. Remove protected-modifier in final class 2022-06-17 20:23:51 +02:00
Anosh D. Ullenius a4e38057ae Make fields final. Remove redundant modifier on final-class 2022-06-17 20:20:05 +02:00
Michael Bayne 29437aa993 Update the CHANGELOG with the shipped changes. 2022-05-24 11:00:12 -07:00
Michael Bayne d41a817b55 [maven-release-plugin] prepare for next development iteration 2022-05-24 10:42:36 -07:00
Michael Bayne 425e0d0c87 [maven-release-plugin] prepare release getdown-1.8.7 2022-05-24 10:42:34 -07:00
Michael Bayne 089761da24 Update nexus-staging-maven-plugin to 1.6.13.
In hopes that it works properly with Java 18. Let's find out!
2022-05-24 10:39:04 -07:00
Michael Bayne fda9590d21 Fix Javadoc error. 2022-05-24 10:30:43 -07:00
Michael Bayne 26d559e5c2 Upgrade Proguard to a version that supports Java 18.
For unfortunate reasons, we have to add a separate (build-time) dependency on
proguard-core, code from which proguard-base relies on but neither includes
directly nor expresses as a dependency.

How is it in the year of our lord two thousand and twenty two, we are still
making such basic build errors in our Maven plugins and POM files?
2022-05-24 10:24:58 -07:00
Michael Bayne 717f3bdaed Bump Mockito to 3.12.4 so we can build on Java 17/18. 2022-03-27 09:41:20 -07:00
Michael Bayne 797b4024af Merge pull request #255 from threerings/dependabot/maven/ant/org.apache.ant-ant-1.10.11
Bump ant from 1.10.9 to 1.10.11 in /ant
2022-03-27 09:34:36 -07:00
Michael Bayne cb114746a6 Merge pull request #260 from bekoenig/relative-paths-in-classpath
Use relative paths in classpath to shorten execution line on large apps
2022-03-26 15:53:36 -07:00
m500020 315ba430e0 Moved resource cleanup to install for support of unversioned-mode 2022-03-10 14:08:14 +01:00
Benjamin König 9a99f4e27d Use relative paths in classpath to shorten execution line on large apps 2022-02-18 14:28:29 +01:00
Michael Bayne bb4b9e3390 JarDiffPatcher needs to support .old files.
When patching, Getdown will move foo.jar to foo.jar.old and then patch that
file to create a new foo.jar. That results in foo.jar.old being passed into
JarDiffPatcher as the source file, which it then inspects to determine whether
it is a zip file or a jar file based on its file extension. Since that file
extension has already changed to .xxx.old, we need to handle that.

Closes #230.
2022-01-05 07:27:22 -08:00
Michael Bayne 1cd3a5c9c3 Merge pull request #257 from asabanas/existing-jvm-cleanup
Fix for #112 - updated existing directories cleanup functionality to remove directories that no longer exist
2021-10-19 08:39:16 -07:00
Andrius Šabanas bfd5571377 Updated existing directories cleanup functionality to remove all their contents when unpacking archives. 2021-10-17 04:35:55 +03:00
Michael Bayne 7def118e31 Fix links to Maven artifacts.
Fixes #250.
2021-08-23 07:37:04 -07:00
Michael Bayne cdecfde5f1 Add note about Pack200 removal. 2021-08-23 07:35:34 -07:00
dependabot[bot] 6b4f609980 Bump ant from 1.10.9 to 1.10.11 in /ant
Bumps ant from 1.10.9 to 1.10.11.

---
updated-dependencies:
- dependency-name: org.apache.ant:ant
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 16:59:22 +00:00
Michael Bayne b9f97b323a Try testing on JDK14 for now. 2021-04-05 07:43:45 -07:00
Michael Bayne 49279009cb Use newer Proguard that can handle JDK14.
Unfortunately due to a bug in proguard-maven-plugin I can't currently use a
version of Proguard that supports JDK15.
2021-04-05 07:43:10 -07:00
Michael Bayne cedf568383 Merge pull request #240 from Cosium/java.net.useSystemProxies
Usage of Proxy.NO_PROXY prevents -Djava.net.useSystemProxies=true from kicking in
2021-04-05 07:29:42 -07:00
Michael Bayne 1c0320b36d Use Graal JavaScript VM.
Nashorn was removed in JDK15, but the PAC proxy detection code depends on
having a JavaScript VM (what a twisty maze of passages). Rather than remove it
completely, I'll just keep the tests working so that people who use Getdown
with PAC proxies on JDK 14 or earlier can keep on trucking.

Perhaps the JavaScript code could be rewritten in Java and this weird massive
dependency could be eliminated?
2021-04-04 12:23:18 -07:00
Michael Bayne 3a52a42775 Test with JDK15. 2021-04-04 12:16:53 -07:00
Michael Bayne a35c385f9f Update Mockito to a version that works with JDK15. 2021-04-04 12:16:25 -07:00
Michael Bayne fd6a393d69 Removing Pack200 support.
It has been removed from the JDK for some time now. People still relying on it
will have to stick to an older version of Getdown.
2021-04-04 12:15:55 -07:00
Michael Bayne dacd977987 Merge pull request #245 from threerings/dependabot/maven/core/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1 in /core
2021-04-04 12:09:21 -07:00
Michael Bayne 09ed5b0f2c Merge pull request #246 from threerings/dependabot/maven/launcher/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1 in /launcher
2021-04-04 12:09:06 -07:00
Michael Bayne c50451e0db Merge pull request #252 from threerings/dependabot/maven/ant/org.apache.ant-ant-1.10.9
Bump ant from 1.7.1 to 1.10.9 in /ant
2021-04-04 12:08:55 -07:00
Michael Bayne e8db626c1d Merge pull request #253 from gieza/cleanup_glob_patterns
Add glob 'cleanup_pattern' to remove obsolete resources
2021-04-04 12:08:28 -07:00
Giedrius Zavadskis 332f7f15e3 Do resource cleanup only if resources have to be updated.
(cherry picked from commit 37fed0570e1eb3ac520256761760a8e311889b51)
2021-03-31 10:31:51 +03:00
Giedrius Zavadskis 79420067b2 Adds support for glob 'cleanup_pattern' to facilitate removal of obsolete resources
(cherry picked from commit 515ed2e049dbc4e76d4e35d89ec2c674e87d3e6d)
2021-03-29 10:53:16 +03:00