File tree Expand file tree Collapse file tree 3 files changed +19
-16
lines changed Expand file tree Collapse file tree 3 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 3434 ~/.m2
3535 key : build-${{ env.cache-name }}
3636 - name : Build with Maven
37- run : mvn clean test -DargLine="-Dcom.sun.net.httpserver.HttpServerProvider=org.eclipse.jetty.http.spi.JettyHttpServerProvider"
38-
39-
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 >
1012 <artifactId >avaje-jex</artifactId >
1113
1214 <properties >
13- <argLine >-Dcom.sun.net.httpserver.HttpServerProvider=sun.net.httpserver.DefaultHttpServerProvider</argLine >
1415 </properties >
1516
1617 <dependencies >
6364 <artifactId >avaje-http-client</artifactId >
6465 <scope >test</scope >
6566 </dependency >
66-
67+
6768 <dependency >
6869 <groupId >io.github.robaho</groupId >
6970 <artifactId >httpserver</artifactId >
7071 <scope >test</scope >
7172 </dependency >
72-
73- <dependency >
74- <groupId >org.eclipse.jetty</groupId >
75- <artifactId >jetty-http-spi</artifactId >
76- <version >12.0.18</version >
77- <scope >test</scope >
78- </dependency >
79-
8073 </dependencies >
8174
8275 <profiles >
9386 </dependency >
9487 </dependencies >
9588 </profile >
89+ <profile >
90+ <id >jetty</id >
91+ <activation >
92+ <activeByDefault >false</activeByDefault >
93+ </activation >
94+ <dependencies >
95+ <dependency >
96+ <groupId >org.eclipse.jetty</groupId >
97+ <artifactId >jetty-http-spi</artifactId >
98+ <version >12.0.18</version >
99+ <scope >test</scope >
100+ </dependency >
101+ </dependencies >
102+ </profile >
96103 </profiles >
97104</project >
You can’t perform that action at this time.
0 commit comments