aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzongyu <zzy2529420793@gmail.com>2020-06-15 09:44:16 +0800
committerzongyu <zzy2529420793@gmail.com>2020-07-06 17:48:27 +0800
commit78af8f695010209d0aa09acace7532eecd305020 (patch)
tree24acd88a3ff8d64bd6aff93cf3480ff7006ab4e7 /src/main/java
parentrun simple_formatter after mvn -f, which enables us to re-format the irregula... (diff)
downloadjava-ebuilder-78af8f695010209d0aa09acace7532eecd305020.tar.gz
java-ebuilder-78af8f695010209d0aa09acace7532eecd305020.tar.bz2
java-ebuilder-78af8f695010209d0aa09acace7532eecd305020.zip
prevent java-ebuilder from writing "JAVA_SRC_DIR"
Signed-off-by: zongyu <zzy2529420793@gmail.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java
index 4becd69..f17f860 100644
--- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java
+++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java
@@ -418,7 +418,7 @@ public class MavenEbuilder {
});
}
- writer.print("\nDEPEND=\"\n\t=virtual/jdk-");
+ writer.print("\nDEPEND=\"\n\t>=virtual/jdk-");
writer.print(getMinSourceVersion(
mavenProjects, config.getForceMinJavaVersion()));
writer.println(":*");
@@ -702,10 +702,12 @@ public class MavenEbuilder {
writer.println('"');
}
+ /*
writer.print("JAVA_SRC_DIR=\"");
writer.print(replaceWithVars(config.getWorkdir().relativize(
mavenProject.getSourceDirectory()).toString(), config));
writer.println('"');
+ */
if (mavenProject.getMainClass() != null) {
writer.print("JAVA_MAIN_CLASS=\"");