Class SplitPackageProcessor


  • public class SplitPackageProcessor
    extends Object
    Split package (same package coming from multiple app archives) is considered a bad practice and this processor tries to detect it and log a warning listing out the offending packages.

    Note that this processor is a best-effort because it only operates on ApplicationArchivesBuildItem which means that if a 3rd party library isn't indexed, we aren't able to detect it even though it can still be a part of resulting application. See also io.quarkus.arc.processor.BeanArchives.IndexWrapper.

    This processor can be configured by users and extensions to skip validation for certain packages hence avoiding the warning in logs. See also ArcConfig.ignoredSplitPackages and IgnoreSplitPackageBuildItem