| 1 | <?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"> |
| 3 | |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <parent> |
| 6 | <groupId>org.eclipse.jetty</groupId> |
| 7 | <artifactId>jetty-alpn</artifactId> |
| 8 | <version>12.0.33</version> |
| 9 | </parent> |
| 10 | <artifactId>jetty-alpn-conscrypt-server</artifactId> |
| 11 | <name>Core :: ALPN :: Conscrypt Server</name> |
| 12 | |
| 13 | <properties> |
| 14 | <bundle-symbolic-name>${project.groupId}.alpn.conscrypt.server</bundle-symbolic-name> |
| 15 | </properties> |
| 16 | |
| 17 | <dependencies> |
| 18 | <dependency> |
| 19 | <groupId>org.conscrypt</groupId> |
| 20 | <artifactId>conscrypt-openjdk-uber</artifactId> |
| 21 | </dependency> |
| 22 | <dependency> |
| 23 | <groupId>org.eclipse.jetty</groupId> |
| 24 | <artifactId>jetty-alpn-server</artifactId> |
| 25 | </dependency> |
| 26 | <dependency> |
| 27 | <groupId>org.eclipse.jetty</groupId> |
| 28 | <artifactId>jetty-io</artifactId> |
| 29 | </dependency> |
| 30 | <dependency> |
| 31 | <groupId>org.slf4j</groupId> |
| 32 | <artifactId>slf4j-api</artifactId> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.eclipse.jetty</groupId> |
| 36 | <artifactId>jetty-alpn-conscrypt-client</artifactId> |
| 37 | <scope>test</scope> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.eclipse.jetty</groupId> |
| 41 | <artifactId>jetty-client</artifactId> |
| 42 | <scope>test</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.eclipse.jetty</groupId> |
| 46 | <artifactId>jetty-slf4j-impl</artifactId> |
| 47 | <scope>test</scope> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.eclipse.jetty.http2</groupId> |
| 51 | <artifactId>jetty-http2-client</artifactId> |
| 52 | <scope>test</scope> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.eclipse.jetty.http2</groupId> |
| 56 | <artifactId>jetty-http2-client-transport</artifactId> |
| 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.eclipse.jetty.http2</groupId> |
| 61 | <artifactId>jetty-http2-server</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | |
| 65 | </dependencies> |
| 66 | <build> |
| 67 | <plugins> |
| 68 | <plugin> |
| 69 | <groupId>org.apache.felix</groupId> |
| 70 | <artifactId>maven-bundle-plugin</artifactId> |
| 71 | <extensions>true</extensions> |
| 72 | <configuration> |
| 73 | <instructions> |
| 74 | <Bundle-Description>Conscrypt ALPN</Bundle-Description> |
| 75 | <Import-Package>${osgi.slf4j.import.packages},org.conscrypt;version="${conscrypt.version}",*</Import-Package> |
| 76 | <Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)";resolution:=optional</Require-Capability> |
| 77 | <Provide-Capability>osgi.serviceloader;osgi.serviceloader=org.eclipse.jetty.io.ssl.ALPNProcessor$Server</Provide-Capability> |
| 78 | <_nouses>true</_nouses> |
| 79 | </instructions> |
| 80 | </configuration> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <artifactId>maven-surefire-plugin</artifactId> |
| 84 | <configuration> |
| 85 | <argLine>@{argLine} ${jetty.surefire.argLine} --add-reads org.eclipse.jetty.alpn.conscrypt.server=org.eclipse.jetty.server</argLine> |
| 86 | </configuration> |
| 87 | </plugin> |
| 88 | </plugins> |
| 89 | </build> |
| 90 | </project> |