Skip to content

Commit

Permalink
Se default Jetty version when no container defined in the Maven 3 plu…
Browse files Browse the repository at this point in the history
…gin back to Jetty 9.x, as that's the highest Jetty version supporting Java 8
  • Loading branch information
alitokmen committed Feb 4, 2024
1 parent 19b9d9c commit 275c7eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -798,13 +798,13 @@ protected void createDefaultContainerElementIfNecessary() throws MojoExecutionEx
+ "specified a zipUrlInstaller. Please check the plugin configuration.");
}

getContainerElement().setContainerId("jetty10x");
getContainerElement().setContainerId("jetty9x");
getContainerElement().setType(ContainerType.INSTALLED);

ArtifactInstaller artifactInstaller = new ArtifactInstaller();
artifactInstaller.setGroupId("org.eclipse.jetty");
artifactInstaller.setArtifactId("jetty-home");
artifactInstaller.setVersion("10.0.20");
artifactInstaller.setVersion("9.4.53.v20231009");
getContainerElement().setArtifactInstaller(artifactInstaller);

getLog().info("No container defined, using a default ["
Expand Down

0 comments on commit 275c7eb

Please sign in to comment.