You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BuildInfo has two constructors. One that allows specifying different values for classOutputDir and resourceDir and one which assumes that both are the same. Currently, we use the later in quarkus.
So, yes your assumption that it works only when the two are equal is correct. We should change that.
Hi @iocanel / @geoand, I'm looking at https://github.com/quarkusio/quarkus/blob/master/extensions/kubernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java#L236 and I think attributes on line 239 and 240 should be switched.
BuildInfo constructor has this signature:
public BuildInfo(String name, String version, String packaging, String buildTool, Path outputFile, Path classOutputDir, Path resourceDir) {
When looking into BuildInfo sources I'm even more confused by code like this:
It's probably working atm because
classOutputDir
andresourceDir
are basically the same for maven.https://github.com/dekorateio/dekorate/blob/master/core/src/main/java/io/dekorate/project/BuildInfo.java#L54-L55
The text was updated successfully, but these errors were encountered: