Support the MAVEN_OPTS environment variable to pass JVM arguments
Emmanuel Bourg
11 months ago
|
0 |
maven-debian-helper (2.6.3) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Support the MAVEN_OPTS environment variable to pass JVM arguments
|
|
3 |
(such as --add-opens/--add-exports required to run old plugins on recent
|
|
4 |
JDKs)
|
|
5 |
|
|
6 |
-- Emmanuel Bourg <ebourg@apache.org> Fri, 12 May 2023 01:20:16 +0200
|
|
7 |
|
0 | 8 |
maven-debian-helper (2.6.2) unstable; urgency=medium
|
1 | 9 |
|
2 | 10 |
* Team upload.
|
38 | 38 |
"-Dclassworlds.conf=$classconf");
|
39 | 39 |
if (-e "$this->{cwd}/debian/maven.properties") {
|
40 | 40 |
push (@jvmopts, "-Dproperties.file.manual=$this->{cwd}/debian/maven.properties");
|
|
41 |
}
|
|
42 |
if (exists $ENV{MAVEN_OPTS}) {
|
|
43 |
push (@jvmopts, split(/ /, $ENV{MAVEN_OPTS}));
|
41 | 44 |
}
|
42 | 45 |
|
43 | 46 |
@{$this->{maven_cmd}} = ($java_home . '/bin/java',
|