Add additional artifact and group id to jaxrs-api
This commit is contained in:
parent
c853d7e66b
commit
3c9f389f05
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: resteasy
|
Name: resteasy
|
||||||
Version: 2.3.2
|
Version: 2.3.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Framework for RESTful Web services and Java applications
|
Summary: Framework for RESTful Web services and Java applications
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: ASL 2.0 and CDDL
|
License: ASL 2.0 and CDDL
|
||||||
@ -185,7 +185,7 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|||||||
install -d -m 755 %{buildroot}%{_mavendepmapfragdir}
|
install -d -m 755 %{buildroot}%{_mavendepmapfragdir}
|
||||||
|
|
||||||
# Install jars, poms and dependencies maps:
|
# Install jars, poms and dependencies maps:
|
||||||
while read module_path artifact_id
|
while read module_path artifact_id additional_aid_gid
|
||||||
do
|
do
|
||||||
jar_file=${module_path}/target/${artifact_id}-%{namedversion}.jar
|
jar_file=${module_path}/target/${artifact_id}-%{namedversion}.jar
|
||||||
pom_file=${module_path}/pom.xml
|
pom_file=${module_path}/pom.xml
|
||||||
@ -193,14 +193,19 @@ do
|
|||||||
if [ -f ${jar_file} ]
|
if [ -f ${jar_file} ]
|
||||||
then
|
then
|
||||||
install -pm 644 ${jar_file} %{buildroot}%{_javadir}/%{name}/${artifact_id}.jar
|
install -pm 644 ${jar_file} %{buildroot}%{_javadir}/%{name}/${artifact_id}.jar
|
||||||
%add_maven_depmap JPP.%{name}-${artifact_id}.pom %{name}/${artifact_id}.jar
|
if [ -z "${additional_aid_gid}" ]
|
||||||
|
then
|
||||||
|
%add_maven_depmap JPP.%{name}-${artifact_id}.pom %{name}/${artifact_id}.jar
|
||||||
|
else
|
||||||
|
%add_maven_depmap JPP.%{name}-${artifact_id}.pom %{name}/${artifact_id}.jar -a ${additional_aid_gid}
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
%add_maven_depmap JPP.%{name}-${artifact_id}.pom
|
%add_maven_depmap JPP.%{name}-${artifact_id}.pom
|
||||||
fi
|
fi
|
||||||
done <<'.'
|
done <<'.'
|
||||||
. jaxrs-all
|
. jaxrs-all
|
||||||
async-http-servlet-3.0/async-http-servlet-3.0 async-http-servlet-3.0
|
async-http-servlet-3.0 async-http-servlet-3.0 async-http-servlet-3.0
|
||||||
jaxrs-api jaxrs-api
|
jaxrs-api jaxrs-api org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec
|
||||||
providers providers
|
providers providers
|
||||||
providers/fastinfoset resteasy-fastinfoset-provider
|
providers/fastinfoset resteasy-fastinfoset-provider
|
||||||
providers/jackson resteasy-jackson-provider
|
providers/jackson resteasy-jackson-provider
|
||||||
@ -246,6 +251,9 @@ cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
|||||||
%doc License.html
|
%doc License.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-4
|
||||||
|
- Added an additional artifact and group id for jaxrs-api
|
||||||
|
|
||||||
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-3
|
* Mon Apr 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 2.3.2-3
|
||||||
- Added async HTTP Servlet 3.0 module
|
- Added async HTTP Servlet 3.0 module
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user