Maven Repository - POM file for Servlet org.apache.sling.api 2.1.0 2.1.0

Summary

Apache Sling API.

The Apache Sling API defines an extension to the Servlet API 2.4 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Apache Sling AP....

Declaration

Here is the list of declaration for org.apache.sling.api. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.sling</groupId>
   <artifactId>org.apache.sling.api</artifactId>
   <version>2.1.0</version>
</dependency>

If you think this Maven repository POM file listing for org.apache.sling.api is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





License

Apache License.

Depended by

The following table lists the most popular artifacts which are depending on org.apache.sling.api-2.1.0. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Httporg.apache.sling.auth.core 1.0.0
The Sling Authentication Service bundle provides the basic mechanisms to authenticate HTTP requests with a JCR repository. The algorithms for extracting authentication details from the requests is extensible by implementing an AuthenticationHandler interface.
5
Testingorg.apache.sling.commons.testing 2.0.12
Tools and utilities for automated testing of Sling modules
15
Httporg.apache.sling.auth.form 1.0.0
Bundle implementing form based authentication with login and logout support. Authentication state is maintained in a Cookie or in an HTTP Session. The password is only submitted when first authenticating.
5
JSPorg.apache.sling.scripting.jsp.taglib 2.1.6
Core Tag Library for Apache Sling JSP support
5
Testingorg.apache.sling.commons.testing 2.0.6
Tools and utilities for automated testing of Sling modules
13

Plugin

The following plugins are used in the org.apache.sling.api-2.1.0.jar

  1. apache-rat-plugin
  2. maven-bundle-plugin




Packages

The following packages are defined in the org.apache.sling.api-2.1.0.jar

org.apache.sling.api
org.apache.sling.api.adapter
org.apache.sling.api.auth
org.apache.sling.api.request
org.apache.sling.api.resource
org.apache.sling.api.scripting
org.apache.sling.api.servlets
org.apache.sling.api.wrappers

POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->
<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.apache.sling</groupId>
        <artifactId>sling</artifactId>
        <version>9</version>
        <relativePath>../../parent/pom.xml</relativePath>
    </parent>

    <artifactId>org.apache.sling.api</artifactId>
    <version>2.1.0</version>
    <packaging>bundle</packaging>

    <name>Apache Sling API</name>
    <description>
        The Apache Sling API defines an extension to the Servlet
        API 2.4 to provide access to content and unified access
        to request parameters hiding the differences between the
        different methods of transferring parameters from client
        to server. Note that the Apache Sling API bundle does not
        include the Servlet API but instead requires the API to
        be provided by the Servlet container in which the Apache
        Sling framework is running or by another bundle.
    </description>

    <scm>
        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.api-2.1.0</connection>
        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.api-2.1.0</developerConnection>
        <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.api-2.1.0</url>
    </scm>

    <properties>
        <site.jira.version.id>12314252</site.jira.version.id>
    </properties>

    <dependencies>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        
        <!-- Testing -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jmock</groupId>
            <artifactId>jmock-junit4</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <!-- Create the bundle of the Sling API -->
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-DocURL>
                            http://sling.apache.org/site/sling-api.html
                        </Bundle-DocURL>
                        <Export-Package>
                            org.apache.sling.api;version=2.1, <!-- 2.0.8 -->
                            org.apache.sling.api.adapter;version=2.1,
                            org.apache.sling.api.auth;version=1.0,
                            org.apache.sling.api.request;version=2.1,
                            org.apache.sling.api.resource;version=2.1,
                            org.apache.sling.api.scripting;version=2.1,
                            org.apache.sling.api.servlets;version=2.1,
                            org.apache.sling.api.wrappers;version=2.1
                        </Export-Package>
                        <!-- Require explicit version of the servlet API -->
                        <Import-Package>
                            javax.servlet.*;version=2.4,*
                        </Import-Package>
                    </instructions>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.rat</groupId>
                <artifactId>apache-rat-plugin</artifactId>
                <configuration>
                    <excludes>
                        <!--  See SLING-1521 -->
                        <exclude>src/main/resources/org/apache/sling/api/servlets/HtmlResponse.html</exclude>
                        <!--  Used by maven-remote-resources-plugin -->
                        <exclude>src/main/appended-resources/META-INF/*</exclude>
                        <!--  Generated by maven-remote-resources-plugin -->
                        <exclude>velocity.log</exclude>
                        <!-- don't check anything in target -->
                        <exclude>target/*</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>