| 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/maven-v4_0_0.xsd"> |
| 3 |
|
| 4 |
<modelVersion>4.0.0</modelVersion> |
| 5 |
<parent> |
| 6 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 7 |
<artifactId>jetty-ee8</artifactId> |
| 8 |
<version>12.0.33</version> |
| 9 |
</parent> |
| 10 |
<artifactId>jetty-ee8-jaspi</artifactId> |
| 11 |
<name>EE8 :: Jetty :: JASPI Security</name> |
| 12 |
<description>Jetty security infrastructure</description> |
| 13 |
|
| 14 |
<properties> |
| 15 |
<bundle-symbolic-name>${project.groupId}.security.jaspi</bundle-symbolic-name> |
| 16 |
<ee9.module>jetty-ee9-jaspi</ee9.module> |
| 17 |
<spotbugs.onlyAnalyze>org.eclipse.jetty.jaspi.*</spotbugs.onlyAnalyze> |
| 18 |
</properties> |
| 19 |
|
| 20 |
<dependencies> |
| 21 |
<dependency> |
| 22 |
<groupId>jakarta.security.auth.message</groupId> |
| 23 |
<artifactId>jakarta.security.auth.message-api</artifactId> |
| 24 |
<version>1.1.3</version> |
| 25 |
</dependency> |
| 26 |
<dependency> |
| 27 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 28 |
<artifactId>jetty-ee8-security</artifactId> |
| 29 |
</dependency> |
| 30 |
<dependency> |
| 31 |
<groupId>org.eclipse.jetty.toolchain</groupId> |
| 32 |
<artifactId>jetty-servlet-api</artifactId> |
| 33 |
</dependency> |
| 34 |
<dependency> |
| 35 |
<groupId>org.slf4j</groupId> |
| 36 |
<artifactId>slf4j-api</artifactId> |
| 37 |
</dependency> |
| 38 |
<dependency> |
| 39 |
<groupId>jakarta.activation</groupId> |
| 40 |
<artifactId>jakarta.activation-api</artifactId> |
| 41 |
<version>1.2.2</version> |
| 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.toolchain</groupId> |
| 51 |
<artifactId>jetty-test-helper</artifactId> |
| 52 |
<scope>test</scope> |
| 53 |
</dependency> |
| 54 |
</dependencies> |
| 55 |
|
| 56 |
<build> |
| 57 |
<plugins> |
| 58 |
<plugin> |
| 59 |
<groupId>org.apache.felix</groupId> |
| 60 |
<artifactId>maven-bundle-plugin</artifactId> |
| 61 |
<extensions>true</extensions> |
| 62 |
<configuration> |
| 63 |
<instructions> |
| 64 |
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability> |
| 65 |
<Provide-Capability>osgi.serviceloader;osgi.serviceloader=org.eclipse.jetty.security.Authenticator$Factory</Provide-Capability> |
| 66 |
</instructions> |
| 67 |
</configuration> |
| 68 |
</plugin> |
| 69 |
<plugin> |
| 70 |
<artifactId>maven-antrun-plugin</artifactId> |
| 71 |
<executions> |
| 72 |
<execution> |
| 73 |
<goals> |
| 74 |
<goal>run</goal> |
| 75 |
</goals> |
| 76 |
<phase>process-resources</phase> |
| 77 |
<configuration> |
| 78 |
<target> |
| 79 |
<!-- ee9 use javax.security but ee8 need java.security --> |
| 80 |
<replace dir="${project.build.sourceDirectory}" token="javax.security" value="java.security"> |
| 81 |
<include name="**/module-info.java"/> |
| 82 |
</replace> |
| 83 |
</target> |
| 84 |
</configuration> |
| 85 |
</execution> |
| 86 |
</executions> |
| 87 |
</plugin> |
| 88 |
|
| 89 |
</plugins> |
| 90 |
</build> |
| 91 |
</project> |