| 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-annotations</artifactId> |
| 11 |
<name>EE8 :: Servlet Annotations</name> |
| 12 |
<description>Annotation support for deploying servlets in jetty.</description> |
| 13 |
<properties> |
| 14 |
<bundle-symbolic-name>${project.groupId}.annotations</bundle-symbolic-name> |
| 15 |
<ee9.module>jetty-ee9-annotations</ee9.module> |
| 16 |
<spotbugs.onlyAnalyze>org.eclipse.jetty.ee8.annotations.*</spotbugs.onlyAnalyze> |
| 17 |
</properties> |
| 18 |
|
| 19 |
<dependencies> |
| 20 |
<dependency> |
| 21 |
<groupId>jakarta.annotation</groupId> |
| 22 |
<artifactId>jakarta.annotation-api</artifactId> |
| 23 |
</dependency> |
| 24 |
<dependency> |
| 25 |
<groupId>org.eclipse.jetty</groupId> |
| 26 |
<artifactId>jetty-plus</artifactId> |
| 27 |
</dependency> |
| 28 |
<dependency> |
| 29 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 30 |
<artifactId>jetty-ee8-plus</artifactId> |
| 31 |
</dependency> |
| 32 |
<dependency> |
| 33 |
<groupId>org.eclipse.jetty.ee8</groupId> |
| 34 |
<artifactId>jetty-ee8-webapp</artifactId> |
| 35 |
</dependency> |
| 36 |
<dependency> |
| 37 |
<groupId>org.eclipse.jetty.toolchain</groupId> |
| 38 |
<artifactId>jetty-servlet-api</artifactId> |
| 39 |
</dependency> |
| 40 |
<dependency> |
| 41 |
<groupId>org.ow2.asm</groupId> |
| 42 |
<artifactId>asm</artifactId> |
| 43 |
</dependency> |
| 44 |
<dependency> |
| 45 |
<groupId>org.ow2.asm</groupId> |
| 46 |
<artifactId>asm-commons</artifactId> |
| 47 |
</dependency> |
| 48 |
<dependency> |
| 49 |
<groupId>org.slf4j</groupId> |
| 50 |
<artifactId>slf4j-api</artifactId> |
| 51 |
</dependency> |
| 52 |
<dependency> |
| 53 |
<groupId>org.eclipse.jetty</groupId> |
| 54 |
<artifactId>jetty-slf4j-impl</artifactId> |
| 55 |
<scope>test</scope> |
| 56 |
</dependency> |
| 57 |
<dependency> |
| 58 |
<groupId>org.eclipse.jetty.toolchain</groupId> |
| 59 |
<artifactId>jetty-test-helper</artifactId> |
| 60 |
<scope>test</scope> |
| 61 |
</dependency> |
| 62 |
</dependencies> |
| 63 |
|
| 64 |
<build> |
| 65 |
<testResources> |
| 66 |
<testResource> |
| 67 |
<targetPath>jar</targetPath> |
| 68 |
<directory>src/test/jar</directory> |
| 69 |
</testResource> |
| 70 |
</testResources> |
| 71 |
<plugins> |
| 72 |
<plugin> |
| 73 |
<groupId>org.apache.felix</groupId> |
| 74 |
<artifactId>maven-bundle-plugin</artifactId> |
| 75 |
<extensions>true</extensions> |
| 76 |
<configuration> |
| 77 |
<instructions> |
| 78 |
<Import-Package>${osgi.slf4j.import.packages},org.objectweb.asm;version="[$(version;==;${asm.version}),$(version;+;${asm.version}))",*</Import-Package> |
| 79 |
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)", osgi.serviceloader; filter:="(osgi.serviceloader=javax.servlet.ServletContainerInitializer)";resolution:=optional;cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)";resolution:=optional</Require-Capability> |
| 80 |
<Provide-Capability>osgi.serviceloader; osgi.serviceloader=org.eclipse.jetty.ee8.webapp.Configuration</Provide-Capability> |
| 81 |
</instructions> |
| 82 |
</configuration> |
| 83 |
</plugin> |
| 84 |
<plugin> |
| 85 |
<!-- need to be redefined here as this module have some special need of resources --> |
| 86 |
<groupId>org.apache.maven.plugins</groupId> |
| 87 |
<artifactId>maven-resources-plugin</artifactId> |
| 88 |
<executions> |
| 89 |
<execution> |
| 90 |
<id>copy-ee8-test-resources</id> |
| 91 |
<goals> |
| 92 |
<goal>copy-resources</goal> |
| 93 |
</goals> |
| 94 |
<phase>generate-test-resources</phase> |
| 95 |
<configuration> |
| 96 |
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory> |
| 97 |
<resources> |
| 98 |
<resource> |
| 99 |
<directory>${maven.multiModuleProjectDirectory}/jetty-ee9/${ee9.module}/src/test/resources</directory> |
| 100 |
</resource> |
| 101 |
</resources> |
| 102 |
</configuration> |
| 103 |
</execution> |
| 104 |
</executions> |
| 105 |
</plugin> |
| 106 |
<plugin> |
| 107 |
<artifactId>maven-surefire-plugin</artifactId> |
| 108 |
<configuration> |
| 109 |
<argLine>@{argLine} ${jetty.surefire.argLine} --add-reads org.eclipse.jetty.ee8.annotations=org.eclipse.jetty.logging --add-opens org.eclipse.jetty.ee8.annotations/org.eclipse.jetty.ee8.annotations.resources=org.eclipse.jetty.plus</argLine> |
| 110 |
</configuration> |
| 111 |
</plugin> |
| 112 |
</plugins> |
| 113 |
</build> |
| 114 |
</project> |