Skip to content

Implement ClassFinder filtering in the embedded plugin #217

@mcollovati

Description

@mcollovati

Both Maven and Gradle plugins allow restricting the classpath elements available for ClassFinder (see FrontendScannerConfig in Maven plugin and ClasspathFilter in Gradle plugin).

The embedded plugin in the extension should provide a similar functionality.
Ideally, restrictions should be configurable via the application.properties file.

vaadin.build.frontend-scanner-config.enabled=true
vaadin.build.frontend-scanner-config.includeOutputDirectory=false
vaadin.build.frontend-scanner-config.includes=my.app.components:*,my.app:ui
vaadin.build.frontend-scanner-config.excludes=my.app.backend:*,*:business-logic

The above rules should be applied in QuarkusPluginAdapter.buildClasspath()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Maybe

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions