jersey-core-common.
Jersey core common packages.
Here is the list of declaration for jersey-common. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> <version>2.11</version> </dependency>
If you think this Maven repository POM file listing for jersey-common is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
GNU General Public License.
The following plugins are used in the jersey-common-2.11.jar
The following packages are defined in the jersey-common-2.11.jar
org.glassfish.jersey org.glassfish.jersey.filter org.glassfish.jersey.internal org.glassfish.jersey.internal.inject org.glassfish.jersey.internal.l10n org.glassfish.jersey.internal.spi org.glassfish.jersey.internal.util org.glassfish.jersey.internal.util.collection org.glassfish.jersey.message org.glassfish.jersey.message.internal org.glassfish.jersey.model org.glassfish.jersey.model.internal org.glassfish.jersey.process org.glassfish.jersey.process.internal org.glassfish.jersey.spi org.glassfish.jersey.uri org.glassfish.jersey.uri.internal
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 2010-2014 Oracle and/or its affiliates. All rights reserved. The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License at http://glassfish.java.net/public/CDDL+GPL_1_1.html or packager/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file at packager/legal/LICENSE.txt. GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] elects to include this software in this distribution under the [CDDL or GPL Version 2] license." If you don't indicate a single choice of license, a recipient has the option to distribute your version of this file under either the CDDL, the GPL Version 2 or to extend the choice of license to its licensees as provided above. However, if you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. --> <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.glassfish.jersey</groupId> <artifactId>project</artifactId> <version>2.11</version> </parent> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> <packaging>jar</packaging> <name>jersey-core-common</name> <description>Jersey core common packages</description> <build> <resources> <resource> <directory>${basedir}/src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <testResources> <testResource> <directory>${basedir}/src/test/resources</directory> <filtering>true</filtering> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <inherited>false</inherited> <configuration> <source>${java.version}</source> <target>${java.version}</target> <compilerArguments> <!-- Do not warn about using sun.misc.Unsafe --> <XDignore.symbol.file /> </compilerArguments> <showWarnings>false</showWarnings> <fork>false</fork> </configuration> </plugin> <plugin> <groupId>com.sun.istack</groupId> <artifactId>maven-istack-commons-plugin</artifactId> <inherited>true</inherited> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <inherited>true</inherited> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>default-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <inherited>true</inherited> <extensions>true</extensions> <configuration> <instructions> <!-- Note: When you're changing these properties change them also in bundles/jaxrs-ri/pom.xml. --> <Import-Package> sun.misc.*;resolution:=optional, * </Import-Package> <Export-Package>org.glassfish.jersey.*;version=${project.version}</Export-Package> <Private-Package>org.glassfish.jersey.osgi</Private-Package> </instructions> <unpackBundle>true</unpackBundle> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <configuration> <format>{0,date,yyyy-MM-dd HH:mm:ss}</format> <items> <item>timestamp</item> </items> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>${surefire.security.argline}</argLine> <!-- Execute test classes in parallel - 1 thread per CPU core. --> <parallel>classesAndMethods</parallel> <perCoreThreadCount>true</perCoreThreadCount> <threadCount>1</threadCount> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <!-- TODO scope as provided --> <!--scope>provided</scope--> </dependency> <dependency> <groupId>org.glassfish.jersey.bundles.repackaged</groupId> <artifactId>jersey-guava</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>hk2-api</artifactId> </dependency> <dependency> <groupId>org.glassfish.hk2.external</groupId> <artifactId>javax.inject</artifactId> </dependency> <dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>hk2-locator</artifactId> </dependency> <dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>osgi-resource-locator</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>securityOff</id> <properties> <surefire.security.argline /> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <inherited>true</inherited> <configuration combine.self="append"> <excludes> <exclude>**/SecurityManagerConfiguredTest.java</exclude> <exclude>**/ReflectionHelperTest.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> <properties> <surefire.security.argline>-Djava.security.manager -Djava.security.policy=${project.build.directory}/test-classes/surefire.policy</surefire.security.argline> <java.version>1.6</java.version> </properties> </project>