Skip to content
Commits on Source (11)
dist: trusty
language: java
sudo: false
jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk10
- oraclejdk11
- openjdk8
- openjdk9
- openjdk10
- openjdk11
install:
- cd $TRAVIS_BUILD_DIR/jaxrs-api
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- cd $TRAVIS_BUILD_DIR/examples
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- cd $TRAVIS_BUILD_DIR/jaxrs-api
- mvn test -B
- cd $TRAVIS_BUILD_DIR/examples
- mvn test -B
# Contributing to Eclipse Project for JAX-RS
Thanks for your interest in this project.
## Project description
JAX-RS: Java API for RESTful Web Services (JAX-RS) is a Java programming
language API spec that provides support in creating web services according to
the Representational State Transfer (REST) architectural pattern.
* https://projects.eclipse.org/projects/ee4j.jaxrs
## Developer resources
Information regarding source code management, builds, coding standards, and
more.
* https://projects.eclipse.org/projects/ee4j.jaxrs/developer
The project maintains the following source code repositories
* https://github.com/eclipse-ee4j/jaxrs-api
## Eclipse Contributor Agreement
Before your contribution can be accepted by the project team contributors must
electronically sign the Eclipse Contributor Agreement (ECA).
* http://www.eclipse.org/legal/ECA.php
Commits that are provided by non-committers must have a Signed-off-by field in
the footer indicating that the author is aware of the terms by which the
contribution has been provided to the project. The non-committer must
additionally have an Eclipse Foundation account and must have a signed Eclipse
Contributor Agreement (ECA) on file.
For more information, please see the Eclipse Committer Handbook:
https://www.eclipse.org/projects/handbook/#resources-commit
## Contact
Contact the project developers via the project's "dev" list.
* https://dev.eclipse.org/mailman/listinfo/jaxrs-dev
pipeline {
agent any
triggers {
pollSCM('H H * * *')
}
tools {
jdk 'jdk1.8.0-latest'
maven 'apache-maven-latest'
}
environment {
MVN = 'mvn -B'
}
stages {
stage('Nightly Build') {
when {
anyOf {
branch 'EE4J_8'
branch 'master'
}
}
steps {
dir ('jaxrs-api') {
sh "$MVN deploy"
}
dir ('examples') {
sh "$MVN deploy"
}
}
}
}
}
This diff is collapsed.
# Notices for Eclipse Project for JAX-RS
This content is produced and maintained by the Eclipse Project for JAX-RS
project.
* Project home: https://projects.eclipse.org/projects/ee4j.jaxrs
## Trademarks
Eclipse Project for JAX-RS is a trademark of the Eclipse Foundation.
## Copyright
All content is the property of the respective authors or their employers. For
more information regarding authorship of content, please consult the listed
source code repository logs.
## Declared Project Licenses
This program and the accompanying materials are made available under the terms
of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made
available under the following Secondary Licenses when the conditions for such
availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU
General Public License, version 2 with the GNU Classpath Exception which is
available at https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
## Source Code
The project maintains the following source code repositories:
* https://github.com/eclipse-ee4j/jaxrs-api
## Third-party Content
This project leverages the following third party content.
javaee-api (7.0)
* License: Apache-2.0 AND W3C
JUnit (4.11)
* License: Common Public License 1.0
Mockito (2.16.0)
* Project: http://site.mockito.org
* Source: https://github.com/mockito/mockito/releases/tag/v2.16.0
## Cryptography
Content may contain encryption software. The country in which you are currently
may have restrictions on the import, possession, and use, and/or re-export to
another country, of encryption software. BEFORE using any encryption software,
please check the country's laws, regulations and policies concerning the import,
possession, or use, and re-export of encryption software, to see if this is
permitted.
# JAX-RS API
[//]: # " Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. "
[//]: # " "
[//]: # " This program and the accompanying materials are made available under the "
[//]: # " terms of the Eclipse Public License v. 2.0, which is available at "
[//]: # " http://www.eclipse.org/legal/epl-2.0. "
[//]: # " "
[//]: # " This Source Code may also be made available under the following Secondary "
[//]: # " Licenses when the conditions for such availability set forth in the "
[//]: # " Eclipse Public License v. 2.0 are satisfied: GNU General Public License, "
[//]: # " version 2 with the GNU Classpath Exception, which is available at "
[//]: # " https://www.gnu.org/software/classpath/license.html. "
[//]: # " "
[//]: # " SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 "
---
# JAX-RS API [![Build Status](https://travis-ci.org/eclipse-ee4j/jaxrs-api.svg?branch=master)](https://travis-ci.org/eclipse-ee4j/jaxrs-api)
This repository contains JAX-RS API source code.
jaxrs-api (2.1.2-1) unstable; urgency=medium
* New upstream release
- Fixes the test failure with Java 9 (Closes: #900265)
- Relocated the old javax.ws.rs:javax.ws.rs-api coordinates to the new ones
- New build dependency on libmockito-java
* Install the jar in /usr/share/java as jaxrs-api.jar but keep a compatibility
link for javax.ws.rs-api.jar
* Track the new releases from the eclipse-ee4j GitHub repository
* Standards-Version updated to 4.2.1
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org> Mon, 08 Oct 2018 23:42:53 +0200
jaxrs-api (2.1-1) unstable; urgency=medium
* New upstream release
......
......@@ -4,15 +4,16 @@ Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends:
debhelper (>= 10),
debhelper (>= 11),
default-jdk,
junit4,
libmaven-bundle-plugin-java,
libmockito-java,
maven-debian-helper (>= 2.1)
Standards-Version: 4.1.2
Vcs-Git: https://anonscm.debian.org/git/pkg-java/jaxrs-api.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jaxrs-api.git
Homepage: https://github.com/jax-rs/api
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/jaxrs-api.git
Vcs-Browser: https://salsa.debian.org/java-team/jaxrs-api
Homepage: https://github.com/eclipse-ee4j/jaxrs-api
Package: libjaxrs-api-java
Architecture: all
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Java API for RESTful Services (JAX-RS)
Source: https://github.com/jax-rs/api
Source: https://github.com/eclipse-ee4j/jaxrs-api
Files: *
Copyright: 2010-2014, Oracle Corporation
......
/usr/share/java/jaxrs-api.jar /usr/share/java/javax.ws.rs-api.jar
......@@ -25,4 +25,4 @@
# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
# Empty by default. [mh_install]
#
jaxrs-api/pom.xml --no-parent --has-package-version
jaxrs-api/pom.xml --no-parent --has-package-version --usj-name=jaxrs-api --relocate=javax.ws.rs:javax.ws.rs-api
......@@ -14,6 +14,3 @@ override_dh_auto_install:
override_dh_auto_clean:
dh_auto_clean -- -f jaxrs-api/pom.xml clean
get-orig-source:
uscan --download-current-version --force-download --no-symlink
version=3
opts="mode=git,repack,compression=xz" \
https://github.com/jax-rs/api refs/tags/([\d\.]+)
version=4
opts="repack,compression=xz" \
https://github.com/eclipse-ee4j/jaxrs-api/tags .*/([\d\.]+).tar.gz
#!/bin/sh
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
# Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.
#
# Copyright (c) 2010-2017 Oracle and/or its affiliates. All rights reserved.
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0, which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# 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.
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the
# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
# version 2 with the GNU Classpath Exception, which is available at
# https://www.gnu.org/software/classpath/license.html.
#
# 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.
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
#
fileNamePattern=$1
......
<?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.
Copyright (c) 2011, 2017 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
......
......@@ -29,4 +29,4 @@
GenericEntity.java
spec-license.html
copyright-exclude
copyright.txt
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) YYYY 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.
*/
\ No newline at end of file
Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of the Eclipse Foundation, Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<?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.
Copyright (c) 2011-2017 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
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.
SPDX-License-Identifier: BSD-3-Clause
-->
<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>
......@@ -50,13 +21,13 @@
<version>1</version>
</parent>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-examples</artifactId>
<version>2.1</version>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-examples</artifactId>
<version>2.1.2</version>
<packaging>jar</packaging>
<name>javax.ws.rs-examples</name>
<name>jakarta.ws.rs-examples</name>
<url>http://jax-rs-spec.java.net</url>
<url>https://github.com/jax-rs/api</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......@@ -68,64 +39,41 @@
</organization>
<issueManagement>
<system>jira</system>
<url>http://java.net/jira/browse/JAX_RS_SPEC</url>
<system>Github</system>
<url>https://github.com/jax-rs/api/issues</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>
<name>JAX-RS Discussion Group </name>
<archive>jaxrs-spec@javaee.groups.io</archive>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>CDDL 1.1</name>
<url>http://glassfish.java.net/public/CDDL+GPL_1_1.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>GPL2 w/ CPE</name>
<url>http://glassfish.java.net/public/CDDL+GPL_1_1.html</url>
<name>EDL 1.0</name>
<url>http://www.eclipse.org/org/documents/edl-v10.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://java.net/jax-rs-spec~git</connection>
<developerConnection>scm:git:ssh://git.java.net/jax-rs-spec~git</developerConnection>
<url>http://java.net/projects/jax-rs-spec/sources/git/show</url>
<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>
</scm>
<developers>
<developer>
<email>m_potociar@java.net</email>
<id>Marek</id>
<name>Marek Potociar</name>
<organization>Oracle</organization>
<organizationUrl>http://jax-rs-spec.java.net</organizationUrl>
<roles>
<role>JAX-RS Spec Lead</role>
</roles>
<timezone>CET</timezone>
<url>http://marek.potociar.net/topics/web-services/rest/</url>
</developer>
<developer>
<email>spericas@java.net</email>
<email>santiago.pericasgeertsen@oracle.com</email>
<id>Santiago</id>
<name>Santiago Pericas-Geertsen</name>
<organization>Oracle</organization>
<organizationUrl>http://jax-rs-spec.java.net</organizationUrl>
<roles>
<role>JAX-RS Spec Lead</role>
</roles>
<timezone>EST</timezone>
<url>http://www.java.net/blogs/spericas/</url>
</developer>
</developers>
......@@ -176,8 +124,7 @@
<![CDATA[Copyright &#169; 1996-2014,
<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>
<!--javaApiLinks>
<property>
......@@ -269,7 +216,6 @@
<update>false</update>
<!-- check that year is correct -->
<ignoreYear>false</ignoreYear>
<templateFile>${basedir}/../etc/config/copyright.txt</templateFile>
</configuration>
</plugin>
</plugins>
......@@ -312,9 +258,9 @@
<dependencies>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1-SNAPSHOT</version>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
......@@ -324,4 +270,17 @@
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>JAX-RS API Repository - Releases</name>
<url>https://repo.eclipse.org/content/repositories/jax-rs-api-releases/</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>JAX-RS API Repository - Snapshots</name>
<url>https://repo.eclipse.org/content/repositories/jax-rs-api-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>