-
Notifications
You must be signed in to change notification settings - Fork 202
added Java11 base images for docker builds #1652
Conversation
a1f005e
to
d6fcbf2
Compare
@@ -81,6 +85,40 @@ public boolean isRedHat() { | |||
return REDHAT_VERSION_PATTERN.matcher(version).matches(); | |||
} | |||
|
|||
public boolean isJava11() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't System.getProperty("java.version")
suffice to give you jdk version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if the user has java11 on their Dev environment/machine but needs Java 8 on prod ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please elaborate your point? I'm not sure what you mean, properties are read from jvm and would always give correct output regardless of dev/prod environment.
d6fcbf2
to
4792b01
Compare
@dev-gaur : Could you please resolve conflicts? |
working on it |
d8cfcdb
to
703eb9f
Compare
703eb9f
to
8e084f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good with minor comments. Also, Could you please add some documentation/sample also?
import io.fabric8.maven.core.config.ProcessorConfig; | ||
import io.fabric8.maven.core.config.RuntimeMode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, RuntimeMode Class is required.
@@ -34,6 +29,11 @@ | |||
import org.apache.maven.project.MavenProject; | |||
import org.apache.maven.shared.utils.StringUtils; | |||
|
|||
import java.util.Collections; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What changes are done here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goddamn intellij!!
@@ -66,9 +71,12 @@ public String getFrom() { | |||
abstract protected String getS2iBuildFrom(); | |||
abstract protected String getIstagFrom(); | |||
|
|||
Plugin plugin; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
access can be private/protected
8e084f0
to
f15c424
Compare
05edf60
to
397b2cd
Compare
397b2cd
to
aac87d6
Compare
fixes #1647