Skip to content

Commit 956c43a

Browse files
committed
jetty
1 parent 12ed927 commit 956c43a

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

.github/workflows/jetty.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,4 @@ jobs:
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

.github/workflows/robaho.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ jobs:
3535
key: build-${{ env.cache-name }}
3636
- name: Build with Maven
3737
run: mvn clean test -Probaho
38-
39-

avaje-jex/pom.xml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
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>
@@ -10,7 +12,6 @@
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>
@@ -63,20 +64,12 @@
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>
@@ -93,5 +86,19 @@
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>

0 commit comments

Comments
 (0)