Skip to content

Commit 41484e3

Browse files
Support for jetty12 (#507)
Support for jetty12
1 parent d1a4678 commit 41484e3

23 files changed

Lines changed: 1278 additions & 1276 deletions

File tree

model/toolchain.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<resourceTypes href="../org.eclipse.lyo.tools.domainmodels/oslcDomainSpecifications.xml#_pnz6IJUdEeq-KoPaR9_Cfg"/>
3939
<resourceTypes href="../org.eclipse.lyo.tools.domainmodels/oslcDomainSpecifications.xml#_pn2WYZUdEeq-KoPaR9_Cfg"/>
4040
</webServices>
41-
<trsService xsi:type="oslc4j_ai:InmemPagedTrsService" basePageLimit="50" changeLogPageLimit="50"/>
41+
<trsService xsi:type="oslc4j_ai:InmemPagedTrsService" basePageLimit="5" changeLogPageLimit="5"/>
4242
<specification/>
4343
<requiredAdaptors xsi:type="oslc4j_ai:GenericRequiredAdaptor" serviceProviderCatalogURI="http://your.host.com/adaptor/services/catalog/singleton" name="GenericRequiredAdaptor"/>
4444
<configuration xsi:type="oslc4j_ai:MavenServerConfiguration" rootServerBaseUrl="http://localhost:8800/" applicationContextPath="/" servletUrlPattern="/services/*" jettyPort="8800">

src/lib-common/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,22 @@
9696
<scope>test</scope>
9797
</dependency>
9898
</dependencies>
99+
<build>
100+
<plugins>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-enforcer-plugin</artifactId>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-compiler-plugin</artifactId>
108+
<version>3.14.1</version>
109+
<configuration>
110+
<compilerArgument>
111+
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
112+
</compilerArgument>
113+
</configuration>
114+
</plugin>
115+
</plugins>
116+
</build>
99117
</project>

src/server-am/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ LABEL org.opencontainers.image.licenses="EPL-2.0"
3232

3333
COPY --from=build /src/server-am/target/*.war /var/lib/jetty/webapps/ROOT.war
3434

35-
RUN java -jar "$JETTY_HOME/start.jar" --add-modules=ee9-deploy,ee9-jsp,ee9-jstl
35+
RUN java -jar "$JETTY_HOME/start.jar" --add-modules=ee10-deploy,ee10-jsp,ee10-jstl
3636

3737
EXPOSE 8080

src/server-am/pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,15 @@
286286
<build>
287287
<finalName>${application.filename}</finalName>
288288
<plugins>
289-
<!-- Start of user code plugins
290-
-->
289+
<!-- Start of user code plugins_start
290+
-->
291+
<!-- TODO: Add additional plugins here to avoid them be overridden upon future re-generation -->
292+
<!-- End of user code
293+
-->
291294
<plugin>
292295
<groupId>org.apache.maven.plugins</groupId>
293296
<artifactId>maven-enforcer-plugin</artifactId>
294297
</plugin>
295-
<!-- End of user code
296-
-->
297298
<plugin>
298299
<groupId>org.apache.maven.plugins</groupId>
299300
<artifactId>maven-compiler-plugin</artifactId>
@@ -305,9 +306,9 @@
305306
</configuration>
306307
</plugin>
307308
<plugin>
308-
<groupId>org.eclipse.jetty</groupId>
309-
<artifactId>jetty-maven-plugin</artifactId>
310-
<version>11.0.20</version>
309+
<groupId>org.eclipse.jetty.ee10</groupId>
310+
<artifactId>jetty-ee10-maven-plugin</artifactId>
311+
<version>12.0.16</version>
311312
<configuration>
312313
<webApp>
313314
<contextPath>${application.contextpath}</contextPath>
@@ -396,7 +397,7 @@
396397
</configuration>
397398
</plugin>
398399

399-
<!-- Start of user code plugins
400+
<!-- Start of user code plugins_final
400401
-->
401402
<!-- End of user code
402403
-->

0 commit comments

Comments
 (0)