2012-03-21 04:22:58 +00:00
|
|
|
%global namedreltag .Final
|
|
|
|
%global namedversion %{version}%{namedreltag}
|
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
Name: resteasy
|
2016-08-21 11:41:12 +00:00
|
|
|
Version: 3.0.19
|
2018-07-14 03:34:17 +00:00
|
|
|
Release: 8%{?dist}
|
2016-06-19 11:48:40 +00:00
|
|
|
Summary: Framework for RESTful Web services and Java applications
|
|
|
|
License: ASL 2.0 and CDDL
|
|
|
|
URL: http://resteasy.jboss.org/
|
2016-08-21 11:41:12 +00:00
|
|
|
Source0: https://github.com/resteasy/Resteasy/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz
|
2012-03-21 04:22:58 +00:00
|
|
|
|
2012-04-24 11:41:10 +00:00
|
|
|
# Support for mime4j 0.7.2
|
2016-08-21 11:41:12 +00:00
|
|
|
Patch0: resteasy-3.0.19-Mime4j-0.7.2-support.patch
|
2012-03-21 04:22:58 +00:00
|
|
|
|
2016-12-27 10:24:06 +00:00
|
|
|
Patch1: resteasy-3.0.19-port-resteasy-netty-to-netty-3.10.6.patch
|
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildArch: noarch
|
2012-03-21 04:22:58 +00:00
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(com.beust:jcommander)
|
|
|
|
BuildRequires: mvn(com.fasterxml:classmate)
|
|
|
|
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations)
|
|
|
|
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core)
|
|
|
|
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
|
|
|
|
BuildRequires: mvn(com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider)
|
|
|
|
BuildRequires: mvn(com.google.inject:guice)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(com.sun.mail:javax.mail)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(com.sun.xml.bind:jaxb-impl)
|
|
|
|
BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(commons-io:commons-io)
|
|
|
|
BuildRequires: mvn(io.netty:netty:3)
|
|
|
|
BuildRequires: mvn(io.netty:netty-all)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(io.undertow:undertow-core)
|
|
|
|
BuildRequires: mvn(io.undertow:undertow-servlet)
|
|
|
|
BuildRequires: mvn(javax.enterprise:cdi-api)
|
|
|
|
BuildRequires: mvn(javax.json:javax.json-api)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(javax.validation:validation-api)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(junit:junit)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(log4j:log4j:12)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(net.jcip:jcip-annotations)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(net.oauth.core:oauth-provider)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
|
|
|
|
BuildRequires: mvn(org.apache.james:apache-mime4j-core)
|
|
|
|
BuildRequires: mvn(org.apache.james:apache-mime4j-dom)
|
|
|
|
BuildRequires: mvn(org.apache.james:apache-mime4j-storage)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(org.bouncycastle:bcmail-jdk15on)
|
|
|
|
BuildRequires: mvn(org.bouncycastle:bcprov-jdk15on)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.codehaus.jackson:jackson-core-asl)
|
|
|
|
BuildRequires: mvn(org.codehaus.jackson:jackson-jaxrs)
|
|
|
|
BuildRequires: mvn(org.codehaus.jackson:jackson-mapper-asl)
|
|
|
|
BuildRequires: mvn(org.codehaus.jackson:jackson-xc)
|
|
|
|
BuildRequires: mvn(org.codehaus.jettison:jettison)
|
|
|
|
BuildRequires: mvn(org.eclipse.jetty:jetty-server)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(org.glassfish:javax.el)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.glassfish:javax.json)
|
|
|
|
BuildRequires: mvn(org.hibernate:hibernate-validator)
|
|
|
|
BuildRequires: mvn(org.hibernate.javax.persistence:hibernate-jpa-2.0-api)
|
|
|
|
BuildRequires: mvn(org.infinispan:infinispan-core)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
|
|
|
BuildRequires: mvn(org.jboss.jandex:jandex-maven-plugin)
|
|
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging)
|
|
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging-annotations)
|
|
|
|
BuildRequires: mvn(org.jboss.logging:jboss-logging-processor)
|
|
|
|
BuildRequires: mvn(org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(org.jboss.spec.javax.el:jboss-el-api_3.0_spec)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_2.5_spec)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec)
|
|
|
|
BuildRequires: mvn(org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec)
|
|
|
|
BuildRequires: mvn(org.jboss.weld:weld-api)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.picketbox:picketbox)
|
|
|
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
|
|
|
BuildRequires: mvn(org.springframework:spring-core)
|
2016-06-19 11:48:40 +00:00
|
|
|
BuildRequires: mvn(org.springframework:spring-test)
|
2014-12-10 20:37:09 +00:00
|
|
|
BuildRequires: mvn(org.springframework:spring-webmvc)
|
|
|
|
BuildRequires: mvn(org.yaml:snakeyaml)
|
|
|
|
|
|
|
|
Requires: resteasy-core = %{version}-%{release}
|
|
|
|
Requires: resteasy-atom-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-fastinfoset-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-jackson-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-jackson2-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-jaxb-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-jettison-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-json-p-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-multipart-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-validator-provider-11 = %{version}-%{release}
|
|
|
|
Requires: resteasy-yaml-provider = %{version}-%{release}
|
|
|
|
Requires: resteasy-client = %{version}-%{release}
|
|
|
|
Requires: resteasy-optional = %{version}-%{release}
|
|
|
|
Requires: resteasy-test = %{version}-%{release}
|
2016-08-12 07:08:04 +00:00
|
|
|
Requires: resteasy-netty3 = %{version}-%{release}
|
2012-03-21 04:22:58 +00:00
|
|
|
|
|
|
|
%description
|
2014-12-10 20:37:09 +00:00
|
|
|
%global desc \
|
|
|
|
RESTEasy contains a JBoss project that provides frameworks to help\
|
|
|
|
build RESTful Web Services and RESTful Java applications. It is a fully\
|
|
|
|
certified and portable implementation of the JAX-RS specification.
|
|
|
|
%{desc}
|
|
|
|
%global extdesc %{desc}\
|
|
|
|
\
|
|
|
|
This package contains
|
2012-03-21 04:22:58 +00:00
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%package javadoc
|
2016-06-19 11:48:40 +00:00
|
|
|
Summary: Javadoc for %{name}
|
2012-03-21 04:22:58 +00:00
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
%description javadoc
|
2012-03-21 04:22:58 +00:00
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%package core
|
|
|
|
Summary: Core modules for %{name}
|
2016-08-22 20:35:20 +00:00
|
|
|
Obsoletes: resteasy-jaxrs-api < 3.0.7
|
2014-12-10 20:37:09 +00:00
|
|
|
|
|
|
|
%description core
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package atom-provider
|
|
|
|
Summary: Module atom-provider for %{name}
|
|
|
|
|
|
|
|
%description atom-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package fastinfoset-provider
|
|
|
|
Summary: Module fastinfoset-provider for %{name}
|
|
|
|
|
|
|
|
%description fastinfoset-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package jackson-provider
|
|
|
|
Summary: Module jackson-provider for %{name}
|
|
|
|
|
|
|
|
%description jackson-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package jackson2-provider
|
|
|
|
Summary: Module jackson2-provider for %{name}
|
|
|
|
|
|
|
|
%description jackson2-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package jaxb-provider
|
|
|
|
Summary: Module jaxb-provider for %{name}
|
|
|
|
|
|
|
|
%description jaxb-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package jettison-provider
|
|
|
|
Summary: Module jettison-provider for %{name}
|
|
|
|
|
|
|
|
%description jettison-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package json-p-provider
|
|
|
|
Summary: Module json-p-provider for %{name}
|
|
|
|
|
|
|
|
%description json-p-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package multipart-provider
|
|
|
|
Summary: Module multipart-provider for %{name}
|
|
|
|
|
|
|
|
%description multipart-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
2016-08-12 07:08:04 +00:00
|
|
|
%package netty3
|
|
|
|
Summary: Netty 3 Integration for %{name}
|
|
|
|
|
|
|
|
%description netty3
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%package validator-provider-11
|
|
|
|
Summary: Module validate-provider-11 for %{name}
|
|
|
|
|
|
|
|
%description validator-provider-11
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package yaml-provider
|
|
|
|
Summary: Module yaml-provider for %{name}
|
|
|
|
|
|
|
|
%description yaml-provider
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package client
|
|
|
|
Summary: Client for %{name}
|
|
|
|
|
|
|
|
%description client
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package optional
|
2016-06-19 11:48:40 +00:00
|
|
|
# BSD: ./jaxrs/tjws/src/main/java/Acme/*
|
|
|
|
# LGPLv2: ./jaxrs/resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/CdiPropertyInjector.java
|
|
|
|
License: ASL 2.0 and BSD and LGPLv2+
|
2014-12-10 20:37:09 +00:00
|
|
|
Summary: Optional modules for %{name}
|
|
|
|
|
|
|
|
%description optional
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
|
|
|
%package test
|
|
|
|
Summary: Test modules for %{name}
|
|
|
|
|
|
|
|
%description test
|
|
|
|
%{extdesc} %{summary}.
|
|
|
|
|
2012-03-21 04:22:58 +00:00
|
|
|
%prep
|
2013-08-09 07:14:51 +00:00
|
|
|
%setup -q -n Resteasy-%{namedversion}
|
2014-12-10 20:37:09 +00:00
|
|
|
%mvn_package ":resteasy-jaxrs" core
|
|
|
|
%mvn_package ":providers-pom" core
|
|
|
|
%mvn_package ":resteasy-jaxrs-all" core
|
|
|
|
%mvn_package ":resteasy-pom" core
|
|
|
|
%mvn_package ":resteasy-atom-provider" atom-provider
|
|
|
|
%mvn_package ":resteasy-fastinfoset-provider" fastinfoset-provider
|
|
|
|
%mvn_package ":resteasy-jackson-provider" jackson-provider
|
|
|
|
%mvn_package ":resteasy-jackson2-provider" jackson2-provider
|
|
|
|
%mvn_package ":resteasy-jaxb-provider" jaxb-provider
|
|
|
|
%mvn_package ":resteasy-jettison-provider" jettison-provider
|
|
|
|
%mvn_package ":resteasy-json-p-provider" json-p-provider
|
|
|
|
%mvn_package ":resteasy-multipart-provider" multipart-provider
|
|
|
|
%mvn_package ":resteasy-validator-provider-11" validator-provider-11
|
|
|
|
%mvn_package ":resteasy-yaml-provider" yaml-provider
|
|
|
|
%mvn_package ":resteasy-client" client
|
|
|
|
%mvn_package ":test-resteasy-html" test
|
|
|
|
%mvn_package ":test-all-jaxb" test
|
|
|
|
%mvn_package ":test-jackson-jaxb-coexistence" test
|
|
|
|
%mvn_package ":resteasy-jaxrs-testsuite" test
|
|
|
|
%mvn_package ":async-http-servlet-3.0" optional
|
|
|
|
%mvn_package ":asynch-http-servlet-3.0-pom" optional
|
|
|
|
%mvn_package ":http-adapter-pom" optional
|
|
|
|
%mvn_package ":jose-jwt" optional
|
|
|
|
%mvn_package ":resteasy-bom" optional
|
|
|
|
%mvn_package ":resteasy-cache-core" optional
|
|
|
|
%mvn_package ":resteasy-cache-pom" optional
|
|
|
|
%mvn_package ":resteasy-cdi" optional
|
|
|
|
%mvn_package ":resteasy-crypto" optional
|
|
|
|
%mvn_package ":resteasy-guice" optional
|
|
|
|
%mvn_package ":resteasy-html" optional
|
|
|
|
%mvn_package ":resteasy-jdk-http" optional
|
|
|
|
%mvn_package ":resteasy-jsapi" optional
|
|
|
|
%mvn_package ":resteasy-keystone-core" optional
|
2016-06-19 11:48:40 +00:00
|
|
|
%mvn_package ":resteasy-links" optional
|
|
|
|
%mvn_package ":resteasy-netty4" optional
|
|
|
|
%mvn_package ":resteasy-netty4-cdi" optional
|
|
|
|
%mvn_package ":resteasy-oauth" optional
|
2014-12-10 20:37:09 +00:00
|
|
|
%mvn_package ":resteasy-servlet-initializer" optional
|
|
|
|
%mvn_package ":resteasy-spring" optional
|
|
|
|
%mvn_package ":resteasy-undertow" optional
|
2016-06-19 11:48:40 +00:00
|
|
|
%mvn_package ":resteasy-wadl" optional
|
2014-12-10 20:37:09 +00:00
|
|
|
%mvn_package ":security-pom" optional
|
|
|
|
%mvn_package ":tjws" optional
|
2016-08-12 07:08:04 +00:00
|
|
|
%mvn_package ":resteasy-netty" netty3
|
2014-12-10 20:37:09 +00:00
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
find -name '*.jar' -print -delete
|
|
|
|
|
|
|
|
%patch0 -p1
|
2016-12-27 10:24:06 +00:00
|
|
|
%patch1 -p1
|
2013-08-09 07:14:51 +00:00
|
|
|
|
|
|
|
# Disable unnecesary modules
|
2016-06-19 11:48:40 +00:00
|
|
|
%pom_disable_module examples jaxrs
|
|
|
|
%pom_disable_module profiling-tests jaxrs
|
|
|
|
%pom_disable_module resteasy-test-data jaxrs
|
|
|
|
%pom_disable_module war-tests jaxrs
|
|
|
|
|
|
|
|
%pom_disable_module jboss-modules jaxrs
|
|
|
|
%pom_disable_module login-module-authenticator jaxrs/security
|
|
|
|
%pom_disable_module skeleton-key-idm jaxrs/security
|
|
|
|
#skeleton-key-as7
|
|
|
|
#skeleton-key-idp-war
|
|
|
|
%pom_disable_module keystone/keystone-as7 jaxrs/security
|
|
|
|
%pom_disable_module keystone/keystone-as7-modules jaxrs/security
|
|
|
|
|
|
|
|
%pom_disable_module test-jackson-jaxb-coexistence jaxrs/providers
|
|
|
|
%pom_disable_module test-resteasy-html jaxrs/providers
|
|
|
|
|
|
|
|
%pom_disable_module arquillian jaxrs
|
|
|
|
|
|
|
|
%pom_disable_module async-http-servlet-3.0-test jaxrs/async-http-servlet-3.0
|
|
|
|
%pom_disable_module callback-test jaxrs/async-http-servlet-3.0
|
2013-08-09 11:13:40 +00:00
|
|
|
# HV 4.3
|
2016-06-19 11:48:40 +00:00
|
|
|
%pom_disable_module resteasy-hibernatevalidator-provider jaxrs/providers
|
2013-08-09 07:14:51 +00:00
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
%pom_change_dep "org.mortbay.jetty:jetty" "org.eclipse.jetty:jetty-server" jaxrs/resteasy-spring
|
|
|
|
sed -i "s|org.mortbay.jetty.Server|org.eclipse.jetty.server.Server|" \
|
|
|
|
jaxrs/resteasy-spring/src/main/java/org/jboss/resteasy/springmvc/JettyLifecycleManager.java
|
2014-01-13 08:01:27 +00:00
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
%pom_remove_plugin com.atlassian.maven.plugins:maven-clover2-plugin jaxrs
|
|
|
|
%pom_remove_plugin com.atlassian.maven.plugins:maven-clover2-plugin jaxrs/resteasy-jaxrs
|
2013-08-09 07:14:51 +00:00
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
# Replace 2.5 servlet with the jboss-servlet-2.5-api provides
|
|
|
|
%pom_change_dep "javax.servlet:servlet-api" "org.jboss.spec.javax.servlet:jboss-servlet-api_2.5_spec" jaxrs/tjws
|
2013-08-09 07:14:51 +00:00
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
%pom_xpath_set pom:properties/pom:dep.netty.version 3 jaxrs
|
2014-12-10 20:37:09 +00:00
|
|
|
|
2015-07-27 15:39:19 +00:00
|
|
|
# remove activation.jar dependencies
|
2016-06-19 11:48:40 +00:00
|
|
|
%pom_remove_dep -r javax.activation:activation jaxrs jaxrs/resteasy-jaxrs jaxrs/resteasy-spring jaxrs/resteasy-test-data
|
|
|
|
|
|
|
|
# Remove duplicate entry
|
|
|
|
%pom_remove_dep :tjws::test jaxrs/resteasy-jaxrs-testsuite
|
2014-12-10 20:37:09 +00:00
|
|
|
|
2013-08-09 07:14:51 +00:00
|
|
|
# Fixing JDK7 ASCII issues
|
|
|
|
files='
|
2016-06-19 11:48:40 +00:00
|
|
|
jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/Query.java
|
|
|
|
jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/QueryInjector.java
|
2013-08-09 07:14:51 +00:00
|
|
|
jaxrs/resteasy-jsapi/src/main/java/org/jboss/resteasy/jsapi/JSAPIWriter.java
|
|
|
|
jaxrs/resteasy-jsapi/src/main/java/org/jboss/resteasy/jsapi/JSAPIServlet.java
|
|
|
|
jaxrs/resteasy-jsapi/src/main/java/org/jboss/resteasy/jsapi/ServiceRegistry.java
|
2016-06-19 11:48:40 +00:00
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/AddLinks.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/ELProvider.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/LinkELProvider.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/LinkResource.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/LinkResources.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/ParentResource.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/RESTServiceDiscovery.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/ResourceFacade.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/ResourceID.java
|
|
|
|
jaxrs/resteasy-links/src/main/java/org/jboss/resteasy/links/ResourceIDs.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthConsumer.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthException.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthFilter.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthMemoryProvider.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthProvider.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthProviderChecker.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthRequestToken.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthServlet.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthToken.java
|
|
|
|
jaxrs/security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthValidator.java
|
2013-08-09 07:14:51 +00:00
|
|
|
'
|
|
|
|
|
|
|
|
for f in ${files}; do
|
|
|
|
native2ascii -encoding UTF8 ${f} ${f}
|
|
|
|
done
|
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
# Disable useless artifacts generation, package __noinstall do not work
|
|
|
|
%pom_add_plugin org.apache.maven.plugins:maven-source-plugin jaxrs '
|
|
|
|
<configuration>
|
|
|
|
<skipSource>true</skipSource>
|
|
|
|
</configuration>'
|
2012-03-21 04:22:58 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
%mvn_build -f
|
2013-08-09 11:13:40 +00:00
|
|
|
|
2016-09-13 20:28:37 +00:00
|
|
|
# Create Jandex index file(s)
|
|
|
|
# Not all files are required by WildFly, but let's create indexes for all of them
|
|
|
|
find -name 'resteasy-*-%{namedversion}.jar' | while read f; do
|
|
|
|
java -cp $(build-classpath jandex) org.jboss.jandex.Main -j ${f}
|
|
|
|
done
|
|
|
|
|
|
|
|
# async-http-servlet-3.0 jose-jwt tjws
|
|
|
|
|
2012-03-21 04:22:58 +00:00
|
|
|
%install
|
2013-08-09 07:14:51 +00:00
|
|
|
%mvn_install
|
2012-05-11 12:59:00 +00:00
|
|
|
|
2016-09-13 20:28:37 +00:00
|
|
|
find -name "resteasy-*-jandex.jar" | while read f; do
|
|
|
|
install -pm 644 ${f} %{buildroot}%{_javadir}/%{name}/$(basename -s "-%{namedversion}-jandex.jar" $f)-jandex.jar
|
|
|
|
done
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files
|
2016-06-19 11:48:40 +00:00
|
|
|
%doc README.md jaxrs/README.html
|
|
|
|
%license jaxrs/License.html
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files core -f .mfiles-core
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-jaxrs-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files atom-provider -f .mfiles-atom-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-atom-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files fastinfoset-provider -f .mfiles-fastinfoset-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-fastinfoset-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files jackson-provider -f .mfiles-jackson-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-jackson-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files jackson2-provider -f .mfiles-jackson2-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-jackson2-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files jaxb-provider -f .mfiles-jaxb-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-jaxb-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files jettison-provider -f .mfiles-jettison-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-jettison-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files json-p-provider -f .mfiles-json-p-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-json-p-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files multipart-provider -f .mfiles-multipart-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-multipart-provider-jandex.jar
|
|
|
|
|
2016-08-12 07:08:04 +00:00
|
|
|
%files netty3 -f .mfiles-netty3
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-netty-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files validator-provider-11 -f .mfiles-validator-provider-11
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-validator-provider-11-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files yaml-provider -f .mfiles-yaml-provider
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-yaml-provider-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files client -f .mfiles-client
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-client-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files optional -f .mfiles-optional
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-cache-core-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-cdi-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-crypto-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-guice-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-html-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-jdk-http-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-jsapi-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-keystone-core-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-links-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-netty4-cdi-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-netty4-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-oauth-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-servlet-initializer-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-undertow-jandex.jar
|
|
|
|
%{_javadir}/%{name}/resteasy-wadl-jandex.jar
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
%files test -f .mfiles-test
|
2016-09-13 20:28:37 +00:00
|
|
|
%{_javadir}/%{name}/resteasy-jaxrs-testsuite-jandex.jar
|
|
|
|
|
2013-08-09 07:14:51 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
2016-06-19 11:48:40 +00:00
|
|
|
%license jaxrs/License.html
|
2014-12-10 20:37:09 +00:00
|
|
|
|
2012-03-21 04:22:58 +00:00
|
|
|
%changelog
|
2018-07-14 03:34:17 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 13:04:29 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 13:07:32 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 11:42:45 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.19-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-27 10:24:06 +00:00
|
|
|
* Tue Dec 27 2016 gil cattaneo <puntogil@libero.it> 3.0.19-4
|
|
|
|
- build fix for netty 3.10.6.Final
|
|
|
|
|
2016-09-13 20:28:37 +00:00
|
|
|
* Tue Sep 13 2016 gil cattaneo <puntogil@libero.it> 3.0.19-3
|
|
|
|
- re-introduce jandex jars
|
|
|
|
|
2016-08-22 20:35:20 +00:00
|
|
|
* Mon Aug 22 2016 gil cattaneo <puntogil@libero.it> 3.0.19-2
|
|
|
|
- move "Obsoletes" to resteasy-core
|
|
|
|
|
2016-08-21 11:41:12 +00:00
|
|
|
* Sun Aug 21 2016 gil cattaneo <puntogil@libero.it> 3.0.19-1
|
|
|
|
- update to 3.0.19.Final
|
|
|
|
|
2016-08-12 07:08:04 +00:00
|
|
|
* Fri Aug 12 2016 gil cattaneo <puntogil@libero.it> 3.0.17-2
|
|
|
|
- add sub package netty3
|
|
|
|
|
2016-06-19 11:48:40 +00:00
|
|
|
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 3.0.17-1
|
|
|
|
- update to 3.0.17.Final
|
|
|
|
- introduce license macro
|
|
|
|
- enable resteasy-links, resteasy-oauth, resteasy-wadl modules
|
|
|
|
- build resteasy-netty{3,4}
|
|
|
|
|
2016-02-22 09:42:46 +00:00
|
|
|
* Mon Feb 22 2016 Mat Booth <mat.booth@redhat.com> - 3.0.6-11
|
|
|
|
- Fix failure to build from source
|
|
|
|
|
2016-02-04 22:09:21 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-27 15:39:19 +00:00
|
|
|
* Mon Jul 27 2015 Ade Lee <alee@redhat.com> - 3.0.6-9
|
|
|
|
- Remove activation.jar dependency to fix build.
|
|
|
|
|
2015-06-18 22:20:05 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-12-10 20:37:09 +00:00
|
|
|
* Fri Dec 5 2014 Ade Lee <alee@redhat.com> - 3.0.6-7
|
|
|
|
- Refactor into subpackages.
|
|
|
|
- Change build requires to mvn() format
|
|
|
|
|
|
|
|
* Mon Sep 29 2014 Ade Lee <alee@eredhat.com> - 3.0.6-6
|
|
|
|
- Add fix for CVE-2014-3490
|
|
|
|
|
2014-06-26 11:37:40 +00:00
|
|
|
* Tue Jun 24 2014 Ade Lee <alee@redhat.com> - 3.0.6-5
|
|
|
|
- Replace broken dependencies junit4-> junit
|
|
|
|
- Add patch to handle new bouncycastle API in version 1.50
|
|
|
|
- Fix bogus dates in changelog
|
|
|
|
|
2014-06-08 02:25:52 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-28 14:24:12 +00:00
|
|
|
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 3.0.6-3
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2014-01-14 09:43:17 +00:00
|
|
|
* Tue Jan 14 2014 Marek Goldmann <mgoldman@redhat.com> - 3.0.6-2
|
|
|
|
- Support for Netty 4 in Rawhide
|
|
|
|
|
2014-01-13 08:01:27 +00:00
|
|
|
* Fri Jan 10 2014 Marek Goldmann <mgoldman@redhat.com> - 3.0.6-1
|
|
|
|
- Upstream release 3.0.6.Final
|
|
|
|
|
2013-08-09 12:05:10 +00:00
|
|
|
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-3
|
|
|
|
- Remove versioning from the jandex files
|
|
|
|
|
2013-08-09 11:13:40 +00:00
|
|
|
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-2
|
|
|
|
- Added jandex index files to all jars
|
|
|
|
|
2013-08-09 07:14:51 +00:00
|
|
|
* Fri Aug 09 2013 Marek Goldmann <mgoldman@redhat.com> - 3.0.1-1
|
|
|
|
- Upstream release 3.0.1.Final
|
|
|
|
- Using xmvn
|
|
|
|
|
2013-08-04 12:34:09 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-09 19:48:34 +00:00
|
|
|
* Thu May 9 2013 Ade Lee <alee@redhat.com> 2.3.2-13
|
|
|
|
- Removed dependency on maven-checkstyle-plugin
|
|
|
|
|
2013-04-02 19:06:27 +00:00
|
|
|
* Tue Apr 2 2013 Endi S. Dewata <edewata@redhat.com> - 2.3.2-12
|
|
|
|
- Removed Tomcat 6 dependency
|
|
|
|
|
2013-02-14 21:36:57 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 19:40:47 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.3.2-10
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2012-08-07 15:13:20 +00:00
|
|
|
* Tue Aug 7 2012 Ade Lee <alee@redhat.com> - 2.3.2-9
|
|
|
|
- Added tomcat6-servlet-2.5-api as a dependency
|
|
|
|
|
2012-08-07 15:07:23 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
2012-07-21 16:09:04 +00:00
|
|
|
|
2012-05-11 12:59:00 +00:00
|
|
|
* Tue Apr 24 2012 Marek Goldmann <mgoldman@redhat.com> 2.3.2-7
|
|
|
|
- Create also the jandex index jar files
|
|
|
|
|
2012-04-24 11:41:10 +00:00
|
|
|
* Tue Apr 24 2012 Marek Goldmann <mgoldman@redhat.com> 2.3.2-6
|
|
|
|
- Added resteasy-multipart-provider module
|
|
|
|
|
2012-04-23 14:53:44 +00:00
|
|
|
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-5
|
|
|
|
- Fix the async HTTP Servlet 3.0 artifact id
|
|
|
|
|
2012-04-23 13:29:46 +00:00
|
|
|
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-4
|
|
|
|
- Added an additional artifact and group id for jaxrs-api
|
|
|
|
|
2012-04-23 12:47:09 +00:00
|
|
|
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-3
|
|
|
|
- Added async HTTP Servlet 3.0 module
|
|
|
|
|
2014-06-26 11:37:40 +00:00
|
|
|
* Thu Apr 12 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-2
|
2012-04-16 17:29:45 +00:00
|
|
|
- Build CDI integration module (bug #812978)
|
|
|
|
|
2014-06-26 11:37:40 +00:00
|
|
|
* Tue Mar 6 2012 Ade Lee <alee@redhat.com> 2.3.2-1
|
2012-03-21 04:22:58 +00:00
|
|
|
- Initial packaging
|