File tree Expand file tree Collapse file tree 4 files changed +54
-4
lines changed Expand file tree Collapse file tree 4 files changed +54
-4
lines changed Original file line number Diff line number Diff line change 3838 key : build-${{ env.cache-name }}
3939 - name : Build with Maven
4040 run : mvn clean test
41-
Original file line number Diff line number Diff line change 1+
2+ name : Jetty
3+
4+ on :
5+ push :
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ build :
11+ runs-on : ${{ matrix.os }}
12+ permissions :
13+ contents : read
14+ packages : write
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ java_version : [21]
19+ os : [ubuntu-latest]
20+
21+ steps :
22+ - uses : actions/checkout@v4
23+ - name : Set up JDK
24+ uses : actions/setup-java@v4
25+ with :
26+ java-version : ${{ matrix.java_version }}
27+ distribution : ' zulu'
28+ - name : Maven cache
29+ uses : actions/cache@v4
30+ env :
31+ cache-name : maven-cache
32+ with :
33+ path :
34+ ~/.m2
35+ key : build-${{ env.cache-name }}
36+ - name : Build with Maven
37+ run : mvn clean test -Pjetty
Original file line number Diff line number Diff line change 3535 key : build-${{ env.cache-name }}
3636 - name : Build with Maven
3737 run : mvn clean test -Probaho
38-
39-
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
35 <modelVersion >4.0.0</modelVersion >
46 <parent >
57 <groupId >io.avaje</groupId >
7880 </dependency >
7981 </dependencies >
8082 </profile >
83+ <profile >
84+ <id >jetty</id >
85+ <activation >
86+ <activeByDefault >false</activeByDefault >
87+ </activation >
88+ <dependencies >
89+ <dependency >
90+ <groupId >org.eclipse.jetty</groupId >
91+ <artifactId >jetty-http-spi</artifactId >
92+ <version >12.0.19</version >
93+ <scope >test</scope >
94+ </dependency >
95+ </dependencies >
96+ </profile >
8197 </profiles >
8298</project >
You can’t perform that action at this time.
0 commit comments