-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven plugin add support for jar projects in :effective-web-xml
#9497
Comments
@mvysny can you link to an example maven project? |
@janbartel thank you for your reply, please try out https://github.com/mvysny/vaadin-boot-example-maven . Requires JDK 17+. There's |
@mvysny and you tried setting the |
@janbartel thank you, I haven't realized that there's such a configuration parameter. Adding the parameter indeed helped, thank you :) For future reference, this is what helped: <plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>11.0.14</version>
<configuration>
<supportedPackagings><packaging>jar</packaging></supportedPackagings>
</configuration>
</plugin> |
Unfortunately, the plugin fails with:
Indeed, |
…-xml Issue #9497 allow jetty:effective-web-xml for jar projects
:effective-web-xml
I'm building an app as a simple jar project, with embedded Jetty included as a dependency. I've found out that Jetty supports the quickstart mode, thus vastly speeding up boot time (and possibly even enabling native mode with GraalVM).
Unfortunately,
mvn jetty:effective-web-xml
fails withPackaging type [jar] is unsupported
which leads me to believe that only the WAR-type projects are supported at the moment.However, the jar-type project has a classpath very similar to the war-type project, and so this ticket could perhaps be fixed simply by removing the limitation in the Jetty Maven Plugin.
Thanks again for your great work :)
I'm using Jetty 11.0.14.
The text was updated successfully, but these errors were encountered: