Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 7b367e54d8f1b9016852f6b5afcc810f1fee124c (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                                                                                                                                                                         
                                     



                                                                                            


                                                                       




                                                      


                                  




















                                                                                










                                                                                                                                                                                 



                

                                                 

                              

                 
<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.eclipse.jetty.tests</groupId>
    <artifactId>test-servlet-spec-parent</artifactId>
    <version>9.3.7-SNAPSHOT</version>
  </parent>
  <artifactId>test-container-initializer</artifactId>
  <packaging>jar</packaging>
  <name>Jetty Tests :: WebApp :: Servlet Spec :: ServletContainerInitializer Test Jar</name>
  <properties>
    <bundle-symbolic-name>${project.groupId}.sci</bundle-symbolic-name>
  </properties>
  <build>
    <plugins>
       <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <verbose>false</verbose>
        </configuration>
       </plugin>
       <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
            <execution>
                <id>artifact-jar</id>
                <goals>
                    <goal>jar</goal>
                </goals>
            </execution>
        </executions>
        <configuration>
            <archive>
                <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
            </archive>
        </configuration>
      </plugin>
      <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
          <extensions>true</extensions>
          <configuration>
              <instructions>
                  <Bundle-SymbolicName>org.eclipse.jetty.tests.test-servlet-container-initializer;singleton:=true</Bundle-SymbolicName>
                  <Bundle-Description>A bundle containing a ServletContainerInitializer for testing</Bundle-Description>
                  <Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability>
                  <Provide-Capability>osgi.serviceloader; osgi.serviceloader=javax.servlet.ServletContainerInitializer</Provide-Capability>
                  <Export-Package>com.acme.initializer;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Export-Package>
                  <_nouses>true</_nouses>
              </instructions>
          </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>javax.servlet-api</artifactId>
       <scope>provided</scope>
    </dependency>
  </dependencies>
</project>

Back to the top