-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
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.
project.getBuildInfo().getOutputFile(),
project.getBuildInfo().getClassOutputDir());
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:
public void setResourceOutputDir(Path classOutputDir) {
this.classOutputDir = classOutputDir;
}
It's probably working atm because classOutputDir and resourceDir are basically the same for maven.
https://github.com/dekorateio/dekorate/blob/master/core/src/main/java/io/dekorate/project/BuildInfo.java#L54-L55