Download javax.ws.rs-api-2.1.jar file

Introduction

You can download javax.ws.rs-api-2.1.jar in this page.

License

CDDL 1.1

Type List

javax.ws.rs-api-2.1.jar file has the following types.

META-INF/MANIFEST.MF
META-INF/maven/javax.ws.rs/javax.ws.rs-api/pom.properties
META-INF/maven/javax.ws.rs/javax.ws.rs-api/pom.xml
javax.ws.rs.ApplicationPath.class
javax.ws.rs.BadRequestException.class
javax.ws.rs.BeanParam.class
javax.ws.rs.ClientErrorException.class
javax.ws.rs.ConstrainedTo.class
javax.ws.rs.Consumes.class
javax.ws.rs.CookieParam.class
javax.ws.rs.DELETE.class
javax.ws.rs.DefaultValue.class
javax.ws.rs.Encoded.class
javax.ws.rs.ForbiddenException.class
javax.ws.rs.FormParam.class
javax.ws.rs.GET.class
javax.ws.rs.HEAD.class
javax.ws.rs.HeaderParam.class
javax.ws.rs.HttpMethod.class
javax.ws.rs.InternalServerErrorException.class
javax.ws.rs.MatrixParam.class
javax.ws.rs.NameBinding.class
javax.ws.rs.NotAcceptableException.class
javax.ws.rs.NotAllowedException.class
javax.ws.rs.NotAuthorizedException.class
javax.ws.rs.NotFoundException.class
javax.ws.rs.NotSupportedException.class
javax.ws.rs.OPTIONS.class
javax.ws.rs.PATCH.class
javax.ws.rs.POST.class
javax.ws.rs.PUT.class
javax.ws.rs.Path.class
javax.ws.rs.PathParam.class
javax.ws.rs.Priorities.class
javax.ws.rs.ProcessingException.class
javax.ws.rs.Produces.class
javax.ws.rs.QueryParam.class
javax.ws.rs.RedirectionException.class
javax.ws.rs.RuntimeType.class
javax.ws.rs.ServerErrorException.class
javax.ws.rs.ServiceUnavailableException.class
javax.ws.rs.WebApplicationException.class
javax.ws.rs.client.AsyncInvoker.class
javax.ws.rs.client.Client.class
javax.ws.rs.client.ClientBuilder.class
javax.ws.rs.client.ClientRequestContext.class
javax.ws.rs.client.ClientRequestFilter.class
javax.ws.rs.client.ClientResponseContext.class
javax.ws.rs.client.ClientResponseFilter.class
javax.ws.rs.client.CompletionStageRxInvoker.class
javax.ws.rs.client.Entity.class
javax.ws.rs.client.FactoryFinder.class
javax.ws.rs.client.Invocation.class
javax.ws.rs.client.InvocationCallback.class
javax.ws.rs.client.ResponseProcessingException.class
javax.ws.rs.client.RxInvoker.class
javax.ws.rs.client.RxInvokerProvider.class
javax.ws.rs.client.SyncInvoker.class
javax.ws.rs.client.WebTarget.class
javax.ws.rs.container.AsyncResponse.class
javax.ws.rs.container.CompletionCallback.class
javax.ws.rs.container.ConnectionCallback.class
javax.ws.rs.container.ContainerRequestContext.class
javax.ws.rs.container.ContainerRequestFilter.class
javax.ws.rs.container.ContainerResponseContext.class
javax.ws.rs.container.ContainerResponseFilter.class
javax.ws.rs.container.DynamicFeature.class
javax.ws.rs.container.PreMatching.class
javax.ws.rs.container.ResourceContext.class
javax.ws.rs.container.ResourceInfo.class
javax.ws.rs.container.Suspended.class
javax.ws.rs.container.TimeoutHandler.class
javax.ws.rs.core.AbstractMultivaluedMap.class
javax.ws.rs.core.Application.class
javax.ws.rs.core.CacheControl.class
javax.ws.rs.core.Configurable.class
javax.ws.rs.core.Configuration.class
javax.ws.rs.core.Context.class
javax.ws.rs.core.Cookie.class
javax.ws.rs.core.EntityTag.class
javax.ws.rs.core.Feature.class
javax.ws.rs.core.FeatureContext.class
javax.ws.rs.core.Form.class
javax.ws.rs.core.GenericEntity.class
javax.ws.rs.core.GenericType.class
javax.ws.rs.core.HttpHeaders.class
javax.ws.rs.core.Link.class
javax.ws.rs.core.MediaType.class
javax.ws.rs.core.MultivaluedHashMap.class
javax.ws.rs.core.MultivaluedMap.class
javax.ws.rs.core.NewCookie.class
javax.ws.rs.core.NoContentException.class
javax.ws.rs.core.PathSegment.class
javax.ws.rs.core.Request.class
javax.ws.rs.core.Response.class
javax.ws.rs.core.SecurityContext.class
javax.ws.rs.core.StreamingOutput.class
javax.ws.rs.core.UriBuilder.class
javax.ws.rs.core.UriBuilderException.class
javax.ws.rs.core.UriInfo.class
javax.ws.rs.core.Variant.class
javax.ws.rs.ext.ContextResolver.class
javax.ws.rs.ext.ExceptionMapper.class
javax.ws.rs.ext.FactoryFinder.class
javax.ws.rs.ext.InterceptorContext.class
javax.ws.rs.ext.MessageBodyReader.class
javax.ws.rs.ext.MessageBodyWriter.class
javax.ws.rs.ext.ParamConverter.class
javax.ws.rs.ext.ParamConverterProvider.class
javax.ws.rs.ext.Provider.class
javax.ws.rs.ext.Providers.class
javax.ws.rs.ext.ReaderInterceptor.class
javax.ws.rs.ext.ReaderInterceptorContext.class
javax.ws.rs.ext.RuntimeDelegate.class
javax.ws.rs.ext.WriterInterceptor.class
javax.ws.rs.ext.WriterInterceptorContext.class
javax.ws.rs.sse.FactoryFinder.class
javax.ws.rs.sse.InboundSseEvent.class
javax.ws.rs.sse.OutboundSseEvent.class
javax.ws.rs.sse.Sse.class
javax.ws.rs.sse.SseBroadcaster.class
javax.ws.rs.sse.SseEvent.class
javax.ws.rs.sse.SseEventSink.class
javax.ws.rs.sse.SseEventSource.class

Pom

javax.ws.rs-api-2.1.pom file content.

<?xml version="1.0" encoding="UTF-8"?>
<!--

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 2011-2017 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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>net.java</groupId>
        <artifactId>jvnet-parent</artifactId>
        <version>5</version>
    </parent>

    <groupId>javax.ws.rs</groupId>
    <artifactId>javax.ws.rs-api</artifactId>
    <version>2.1</version>
    <packaging>${packaging.type}</packaging>
    <name>javax.ws.rs-api</name>

    <url>http://jax-rs-spec.java.net</url>

    <organization>
        <name>Oracle Corporation</name>
        <url>http://www.oracle.com/</url>
    </organization>

    <issueManagement>
        <system>jira</system>
        <url>http://java.net/jira/browse/JAX_RS_SPEC</url>
    </issueManagement>

    <mailingLists>
        <mailingList>
            <name>JSR370 Expert Group List</name>
            <archive>jsr370-experts@jax-rs-spec.java.net</archive>
        </mailingList>
        <mailingList>
            <name>JAX-RS Users List</name>
            <archive>users@jax-rs-spec.java.net</archive>
        </mailingList>
    </mailingLists>

    <licenses>
        <license>
            <name>CDDL 1.1</name>
            <url>https://oss.oracle.com/licenses/CDDL+GPL-1.1</url>
            <distribution>repo</distribution>
        </license>
        <license>
            <name>GPL2 w/ CPE</name>
            <url>https://oss.oracle.com/licenses/CDDL+GPL-1.1</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:https://github.com/jax-rs/api.git</connection>
        <developerConnection>scm:git:ssh://git@github.com:jax-rs/api.git</developerConnection>
        <url>https://github.com/jax-rs/api</url>
        <tag>HEAD</tag>
    </scm>

    <developers>
        <developer>
            <email>pavel.bucek@oracle.com</email>
            <id>Pavel</id>
            <name>Pavel Bucek</name>
            <organization>Oracle</organization>
            <organizationUrl>https://github.com/jax-rs</organizationUrl>
            <roles>
                <role>JAX-RS Spec Lead</role>
            </roles>
            <timezone>CET</timezone>
            <url>https://blogs.oracle.com/pavelbucek</url>
        </developer>
        <developer>
            <email>spericas@java.net</email>
            <id>Santiago</id>
            <name>Santiago Pericas-Geertsen</name>
            <organization>Oracle</organization>
            <organizationUrl>https://github.com/jax-rs</organizationUrl>
            <roles>
                <role>JAX-RS Spec Lead</role>
            </roles>
            <timezone>EST</timezone>
            <url>http://www.java.net/blogs/spericas/</url>
        </developer>
    </developers>

    <profiles>
        <profile>
            <id>final</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <!-- Final API bundle version properties -->
                <spec.version>${next.final.spec.version}</spec.version>
                <new.spec.version />
                <milestone.number />
                <non.final>false</non.final>
            </properties>
        </profile>
        <profile>
            <!-- Use it with release-perform goal to skip another test run. -->
            <id>skip-tests</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <properties>
                <skip.release.tests>true</skip.release.tests>
            </properties>
        </profile>
        <profile>
            <id>release</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <!-- Enables step-by-step staging deployment -->
                            <groupId>org.sonatype.plugins</groupId>
                            <artifactId>nexus-staging-maven-plugin</artifactId>
                            <version>1.6.7</version>
                        </plugin>
                        <plugin>
                            <!-- Newer version then in parent -->
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-gpg-plugin</artifactId>
                            <version>1.6</version>
                        </plugin>
                    </plugins>
                </pluginManagement>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-release-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-deploy-plugin</artifactId>
                        <configuration>
                            <skip>true</skip> <!-- To prefer nexus-staging-maven-plugin -->
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.sonatype.plugins</groupId>
                        <artifactId>nexus-staging-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>default-deploy</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>deploy</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <serverId>jvnet-nexus-staging</serverId>
                            <nexusUrl>https://maven.java.net/</nexusUrl>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>jdk9+</id>
            <activation>
                <jdk>[9,)</jdk>
            </activation>
            <properties>
                <!-- TODO: maven-bundle-plugin doesn't understand module-info yet. -->
                <packaging.type>jar</packaging.type>
            </properties>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-compiler-plugin</artifactId>
                            <version>${maven.compiler.plugin.version}</version>
                            <executions>
                                <execution>
                                    <id>default-compile</id>
                                    <configuration>
                                        <!-- compile everything to ensure module-info contains right entries -->
                                        <release>9</release>
                                    </configuration>
                                </execution>
                                <execution>
                                    <id>base-compile</id>
                                    <goals>
                                        <goal>compile</goal>
                                    </goals>
                                    <!-- recompile everything for target VM except the module-info.java -->
                                    <configuration>
                                        <excludes>
                                            <exclude>module-info.java</exclude>
                                        </excludes>
                                        <source>${java.version}</source>
                                        <target>${java.version}</target>
                                    </configuration>
                                </execution>
                            </executions>
                            <configuration>
                                <source>${java.version}</source>
                                <target>${java.version}</target>
                            </configuration>
                        </plugin>
                        <plugin>
                            <artifactId>maven-surefire-plugin</artifactId>
                            <configuration>
                                <argLine>--add-modules java.xml.bind</argLine>
                            </configuration>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>

        <profile>
            <id>jdk8-</id>
            <activation>
                <jdk>(,9)</jdk>
            </activation>
            <properties>
                <packaging.type>bundle</packaging.type>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <!-- TODO: overriding paren pom (profile jvnet-release) - we should find nicer way -->
                        <!-- 1.8- javadoc cannot handle module-info -->
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>${maven.javadoc.plugin.version}</version>
                        <configuration combine.self="override">
                            <doctitle>${apidocs.title}</doctitle>
                            <bottom>
                                <![CDATA[Copyright &#169; 1996-2017,
                                <a href="http://www.oracle.com">Oracle</a>
                                and/or its affiliates. All Rights Reserved.
                                Use is subject to
                                <a href="{@docRoot}/doc-files/spec-license.html" target="_top">license terms</a>.]]>
                            </bottom>
                            <additionalparam>-Xdoclint:none</additionalparam>
                            <!--javaApiLinks>
                                <property>
                                    <name>api_1.3</name>
                                    <value>http://download.oracle.com/javase/1.3/docs/api/</value>
                                </property>
                                <property>
                                    <name>api_1.4</name>
                                    <value>http://download.oracle.com/javase/1.4.2/docs/api/</value>
                                </property>
                                <property>
                                    <name>api_1.5</name>
                                    <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
                                </property>
                                <property>
                                    <name>api_1.6</name>
                                    <value>http://download.oracle.com/javase/6/docs/api/</value>
                                </property>
                            </javaApiLinks-->
                            <sourceFileExcludes>
                                <fileExclude>module-info.java</fileExclude>
                            </sourceFileExcludes>
                        </configuration>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-compiler-plugin</artifactId>
                            <version>${maven.compiler.plugin.version}</version>
                            <configuration>
                                <source>${java.version}</source>
                                <target>${java.version}</target>
                                <excludes>
                                    <exclude>module-info.java</exclude>
                                </excludes>
                            </configuration>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
    </profiles>

    <build>
        <finalName>${project.artifactId}</finalName>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>2.5</version>
                </plugin>
                <plugin>
                    <!-- This plugin generates the buildNumber property used in maven-bundle-plugin -->
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>buildnumber-maven-plugin</artifactId>
                    <version>1.3</version>
                    <configuration>
                        <format>{0,date,MM/dd/yyyy hh:mm aa}</format>
                        <items>
                            <item>timestamp</item>
                        </items>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>validate</phase>
                            <goals>
                                <goal>create</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <!-- This plugin generates the spec.* properties used in maven-bundle-plugin -->
                    <groupId>org.glassfish.build</groupId>
                    <artifactId>spec-version-maven-plugin</artifactId>
                    <version>1.2</version>
                    <configuration>
                        <spec>
                            <nonFinal>${non.final}</nonFinal>
                            <jarType>api</jarType>
                            <specVersion>${spec.version}</specVersion>
                            <newSpecVersion>${new.spec.version}</newSpecVersion>
                            <specBuild>${milestone.number}</specBuild>
                            <specImplVersion>${project.version}</specImplVersion>
                            <apiPackage>${project.groupId}</apiPackage>
                        </spec>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>set-spec-properties</goal>
                                <goal>check-module</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.felix</groupId>
                    <artifactId>maven-bundle-plugin</artifactId>
                    <version>${maven.bundle.plugin.version}</version>
                    <extensions>true</extensions>
                    <configuration>
                        <instructions>
                            <_failok>true</_failok>
                            <Build-Id>${buildNumber}</Build-Id>
                            <Bundle-Description>Java API for RESTful Web Services (JAX-RS)</Bundle-Description>
                            <Bundle-Version>${spec.bundle.version}</Bundle-Version>
                            <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
                            <DynamicImport-Package>*</DynamicImport-Package>
                            <Extension-Name>${spec.extension.name}</Extension-Name>
                            <Implementation-Version>${spec.implementation.version}</Implementation-Version>
                            <Specification-Version>${spec.specification.version}</Specification-Version>
                            <Specification-Vendor>Oracle Corporation</Specification-Vendor>
                            <specversion>${spec.specification.version}</specversion>
                            <Automatic-Module-Name>java.ws.rs</Automatic-Module-Name>
                            <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
                            <_nodefaultversion>false</_nodefaultversion>
                        </instructions>
                    </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-javadoc-plugin</artifactId>
                    <version>${maven.javadoc.plugin.version}</version>
                    <configuration>
                        <doctitle>${apidocs.title}</doctitle>
                        <bottom>
                            <![CDATA[Copyright &#169; 1996-2017,
                                <a href="http://www.oracle.com">Oracle</a>
                                and/or its affiliates. All Rights Reserved.
                                Use is subject to
                                <a href="{@docRoot}/doc-files/spec-license.html" target="_top">license terms</a>.]]>
                        </bottom>
                        <additionalparam>-Xdoclint:none</additionalparam>
                        <!--javaApiLinks>
                            <property>
                                <name>api_1.3</name>
                                <value>http://download.oracle.com/javase/1.3/docs/api/</value>
                            </property>
                            <property>
                                <name>api_1.4</name>
                                <value>http://download.oracle.com/javase/1.4.2/docs/api/</value>
                            </property>
                            <property>
                                <name>api_1.5</name>
                                <value>http://download.oracle.com/javase/1.5.0/docs/api/</value>
                            </property>
                            <property>
                                <name>api_1.6</name>
                                <value>http://download.oracle.com/javase/6/docs/api/</value>
                            </property>
                        </javaApiLinks-->
                        <sourceFileExcludes>
                            <fileExclude>module-info.java</fileExclude>
                        </sourceFileExcludes>
                    </configuration>
                    <executions>
                        <execution>
                            <id>attach-javadocs</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>2.3</version>
                    <executions>
                        <execution>
                            <id>attach-sources</id>
                            <goals>
                                <goal>jar-no-fork</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.8.1</version>
                    <configuration>
                        <retryFailedDeploymentCount>10</retryFailedDeploymentCount>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.5.3</version>
                    <!--
                        To release a non-final version:
                        ===============================
                        mvn release:prepare -DdryRun=false -DreleaseVersion=<release-version> \
                                -DdevelopmentVersion=<next-dev-version> -Dtag=<release-version> -Prelease

                        mvn release:perform -DconnectionUrl="scm:git:file://<path-to-local-jaxrs-repo>" -Dtag=<release-version> \
                                -Prelease,skip-tests

                        To release a final version:
                        ===========================
                        mvn release:prepare -DdryRun=false -DreleaseVersion=<release-version> \
                                -DdevelopmentVersion=<next-dev-version> -Dtag=<release-version> -Prelease,final

                        mvn release:perform -DconnectionUrl="scm:git:file://<path-to-local-jaxrs-repo>" -Dtag=<release-version> \
                                -Prelease,skip-tests,final
                    -->
                    <configuration>
                        <arguments>-Dmaven.test.skip=${skip.release.tests} ${release.arguments}</arguments>
                        <autoVersionSubmodules>true</autoVersionSubmodules>
                        <mavenExecutorId>forked-path</mavenExecutorId>
                        <preparationGoals>clean install</preparationGoals>
                        <pushChanges>false</pushChanges>
                        <useReleaseProfile>false</useReleaseProfile>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jxr-plugin</artifactId>
                    <version>2.3</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>jxr</goal>
                            </goals>
                            <phase>validate</phase>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>2.12.1</version>
                    <configuration>
                        <outputDirectory>${project.build.directory}/checkstyle</outputDirectory>
                        <outputFile>${project.build.directory}/checkstyle/checkstyle-result.xml</outputFile>
                        <configLocation>${basedir}/../etc/config/checkstyle.xml</configLocation>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>checkstyle</goal>
                            </goals>
                            <phase>validate</phase>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.glassfish.copyright</groupId>
                    <artifactId>glassfish-copyright-maven-plugin</artifactId>
                    <version>1.39</version>
                    <configuration>
                        <excludeFile>${basedir}/../etc/config/copyright-exclude</excludeFile>
                        <!--svn|mercurial|git - defaults to svn-->
                        <scm>git</scm>
                        <!-- turn on/off debugging -->
                        <debug>false</debug>
                        <!-- skip files not under SCM-->
                        <scmOnly>true</scmOnly>
                        <!-- turn off warnings -->
                        <warn>true</warn>
                        <!-- for use with repair -->
                        <update>false</update>
                        <!-- check that year is correct -->
                        <ignoreYear>false</ignoreYear>
                        <templateFile>${basedir}/../etc/config/copyright.txt</templateFile>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.glassfish.build</groupId>
                <artifactId>spec-version-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>buildnumber-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.glassfish.copyright</groupId>
                <artifactId>glassfish-copyright-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.11</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <properties>
        <apidocs.title>JAX-RS ${spec.version} API Specification ${spec.version.revision}</apidocs.title>
        <java.version>1.8</java.version>

        <maven.bundle.plugin.version>3.3.0</maven.bundle.plugin.version>
        <maven.compiler.plugin.version>3.6.1</maven.compiler.plugin.version>
        <maven.javadoc.plugin.version>2.10.4</maven.javadoc.plugin.version>

        <last.final.spec.version>2.1</last.final.spec.version>
        <milestone.number>01</milestone.number>
        <next.final.spec.version>2.1</next.final.spec.version>
        <new.spec.version>${next.final.spec.version}</new.spec.version>
        <non.final>true</non.final>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <skip.release.tests>false</skip.release.tests>
        <spec.version>${last.final.spec.version}</spec.version>
        <spec.version.revision /> <!-- e.g. (Rev a) -->
    </properties>

</project>

POM Entry

<dependency>
   <groupId>javax.ws.rs</groupId>
   <artifactId>javax.ws.rs-api</artifactId>
   <version>2.1</version>
</dependency>

Download

If you think the following javax.ws.rs-api-2.1.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download javax.ws.rs-api-2.1.jar file




PreviousNext

Related