vaadin/base-starter-flow-osgi

Exclude non OSGi bundles from deployment so that there are no Auto-deploy install BundleExceptions

denis-anisimov opened this issue · 0 comments

See original report here:#28

When the project is started a number of exceptions are shown:
Auto-deploy install: org.osgi.framework.BundleException: Could not create bundle object. - java.io.FileNotFoundException: META-INF/MANIFEST.MF

Those exception doesn't affect anyhow the project execution and can be safely ignored.

They happens because a number of project dependencies are copied into deploy folder (and Felix tries to deploy them) but they are not OSGi bundles.

Most likely those jars are WebJars. So they should be excluded from a plugin which copies them into deploy folder.