Maven Repository - POM file for JEE Library jersey-grizzly2 1.9 1.9

Summary

jersey-grizzly2.

Grizzly 2.0 container for Jersey.

Declaration

Here is the list of declaration for jersey-grizzly2. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>com.sun.jersey</groupId>
   <artifactId>jersey-grizzly2</artifactId>
   <version>1.9</version>
</dependency>

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

Plugin

The following plugins are used in the jersey-grizzly2-1.9.jar

  1. maven-bundle-plugin
  2. maven-compiler-plugin
  3. maven-source-plugin




Packages

The following packages are defined in the jersey-grizzly2-1.9.jar

com.sun.jersey.api.container.grizzly2
com.sun.jersey.server.impl.container.grizzly2

POM File Source

Here is the content of the POM file.

<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-project</artifactId>
        <version>1.9</version>
    </parent>
    <artifactId>jersey-grizzly2</artifactId>
    <packaging>jar</packaging>
    <name>jersey-grizzly2</name>
    <description>
        Grizzly 2.0 container for Jersey
    </description>

    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <configuration>
                            <links>
                                <link>http://jersey.java.net/nonav/apidocs/${project.version}/jersey/</link>
                                <link>http://download.oracle.com/javase/6/docs/api/</link>
                            </links>
                            <notimestamp>true</notimestamp>
                            <excludePackageNames>com.sun.jersey.grizzly2.impl</excludePackageNames>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>cobertura</id>
            <activation>
                <property>
                    <name>cobertura</name>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.sun.jersey</groupId>
                    <artifactId>jersey-server</artifactId>
                    <version>${project.version}</version>
                    <classifier>cobertura</classifier>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.sun.jersey</groupId>
                    <artifactId>jersey-server</artifactId>
                    <version>${project.version}</version>
                </dependency>
            </dependencies>
        </profile>
    </profiles>

    <build>
        <resources>
            <resource>
                <directory>${basedir}/src/main/java</directory>
                <includes>
                    <include>META-INF/**/*</include>
                </includes>
            </resource>
            <resource>
                <directory>${basedir}/src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>2.0.1</version>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Export-Package>
                com.sun.jersey.api.container.grizzly2,
                com.sun.jersey.server.impl.container.grizzly2
                        </Export-Package>
                        <Import-Package>
                org.glassfish.grizzly.*;resolution:="optional",
                *
                        </Import-Package>
                    </instructions>
                    <unpackBundle>true</unpackBundle>
                </configuration>
                <executions>
                    <execution>
                        <id>osgi-bundle</id>
                            <phase>package</phase>
                            <goals>
                                <goal>bundle</goal>
                            </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>org.glassfish.grizzly</groupId>
            <artifactId>grizzly-http</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.grizzly</groupId>
            <artifactId>grizzly-http-server</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.grizzly</groupId>
            <artifactId>grizzly-http-servlet</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.servlet</artifactId>
            <version>3.1</version>
        </dependency>
    </dependencies>
</project>