Maven Repository - POM file for Servlet jboss-servlet-api_3.0_spec 1.0.1.Final 1.0.1.Final

Summary

Java Servlet 3.0 API.

The Java Servlet 3.0 API classes.

Declaration

Here is the list of declaration for jboss-servlet-api_3.0_spec. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.jboss.spec.javax.servlet</groupId>
   <artifactId>jboss-servlet-api_3.0_spec</artifactId>
   <version>1.0.1.Final</version>
</dependency>

If you think this Maven repository POM file listing for jboss-servlet-api_3.0_spec is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Name:Common Development and Distribution License
URL: http://repository.jboss.org/licenses/cddl.txtName:GNU General Public License, Version 2 with the Classpath Exception
URL: http://repository.jboss.org/licenses/gpl-2.0-ce.txt.





Plugin

The following plugins are used in the jboss-servlet-api_3.0_spec-1.0.1.Final.jar

  1. maven-bundle-plugin
  2. maven-jar-plugin
  3. maven-resources-plugin
  4. maven-source-plugin

Packages

The following packages are defined in the jboss-servlet-api_3.0_spec-1.0.1.Final.jar

javax.servlet
javax.servlet.annotation
javax.servlet.descriptor
javax.servlet.http




POM File Source

Here is the content of the POM file.

<?xml version='1.0' encoding='UTF-8'?>
<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.jboss</groupId>
    <artifactId>jboss-parent</artifactId>
    <version>9</version>
  </parent>

  <groupId>org.jboss.spec.javax.servlet</groupId>
  <artifactId>jboss-servlet-api_3.0_spec</artifactId>
  <version>1.0.1.Final</version>
  <packaging>jar</packaging>

  <name>Java Servlet 3.0 API</name>
  <description>The Java Servlet 3.0 API classes</description>

  <licenses>
    <license>
      <name>Common Development and Distribution License</name>
      <url>http://repository.jboss.org/licenses/cddl.txt</url>
      <distribution>repo</distribution>
    </license>
    <license>
      <name>GNU General Public License, Version 2 with the Classpath Exception</name>
      <url>http://repository.jboss.org/licenses/gpl-2.0-ce.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <scm>
    <connection>scm:git:git@github.com:jboss/jboss-servlet-api_spec.git</connection>
    <developerConnection>scm:git:git@github.com:jboss/jboss-servlet-api_spec.git</developerConnection>
    <url>https://github.com/jboss/jboss-servlet-api_spec</url>
  </scm>

  <build>
    <plugins>
      <!-- Include LICENSE.txt in the META-INF directory -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-resources</id>
            <phase>process-resources</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <resources>          
                <resource>
                  <directory>${basedir}</directory>
                  <includes>
                    <include>LICENSE</include>
                    <include>README</include>
                  </includes>
                </resource>
              </resources>              
              <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
            </configuration>            
          </execution>
        </executions>
      </plugin>

      <!-- Generate the OSGi jar Manifest. -->
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <archive>
            <manifest>
              <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
            </manifest>
          </archive>
          <instructions>
            <Specification-Title>JSR 315: Java(TM) Servlet 3.0 Specification</Specification-Title>
            <Specification-Vendor>Oracle</Specification-Vendor>
            <Specification-Version>3.0</Specification-Version>
            <!--
               The JavaEE marketing version of the javax.servlet package was incremented 
               to 3.0.  However, this API is still compatible with servlet 2.x.
            -->
            <Export-Package>
              javax.servlet*;version=3.0
            </Export-Package>
          </instructions>
        </configuration>
      </plugin>
      <!-- Add the OSGi Manifest to the main jar -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <Specification-Title>JSR 315: Java(TM) Servlet 3.0 Specification</Specification-Title>
              <Specification-Vendor>Oracle</Specification-Vendor>
              <Specification-Version>3.0</Specification-Version>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>