From cb85dff180696fbdd836bc3bc307ac07f91790d1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 02 2019 19:17:40 +0000 Subject: import glassfish-jaxb-api-2.2.12-8.module+el8.1.0+3366+6dfb954c --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..00d5597 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaxb-api-2.2.12-b141001.1542-sources.jar diff --git a/.glassfish-jaxb-api.metadata b/.glassfish-jaxb-api.metadata new file mode 100644 index 0000000..3907922 --- /dev/null +++ b/.glassfish-jaxb-api.metadata @@ -0,0 +1 @@ +0c69d5ff9bc7e90971c214b343696f3bbfeec261 SOURCES/jaxb-api-2.2.12-b141001.1542-sources.jar diff --git a/SOURCES/jaxb-api-2.2.12-b141001.1542.pom b/SOURCES/jaxb-api-2.2.12-b141001.1542.pom new file mode 100644 index 0000000..ae2d840 --- /dev/null +++ b/SOURCES/jaxb-api-2.2.12-b141001.1542.pom @@ -0,0 +1,382 @@ + + + + + + + net.java + jvnet-parent + 4 + + + 4.0.0 + javax.xml.bind + jaxb-api + 2.2.12-b141001.1542 + jar + + Java Architecture for XML Binding + JAXB (JSR 222) API + http://jaxb.java.net/ + + + Oracle Corporation + http://www.oracle.com/ + + + + + Martin Grebac + martin.grebac@oracle.com + Oracle Corporation + + + Iaroslav Savytskyi + iaroslav.savytskyi@oracle.com + Oracle Corporation + + + + + + CDDL 1.1 + https://glassfish.java.net/public/CDDL+GPL_1_1.html + repo + + + GPL2 w/ CPE + https://glassfish.java.net/public/CDDL+GPL_1_1.html + repo + + + + + scm:svn:http://svn.java.net/svn/jsr222~svn/branches/jaxb-2_2 + scm:svn:https://svn.java.net/svn/jsr222~svn/branches/jaxb-2_2 + http://java.net/projects/jsr222/sources/svn/show/branches/jaxb-2_2 + + + jira + http://java.net/jira/browse/JAXB + + + + spec-comments@jsr222.java.net + Dec 2009 + ${project.basedir}/exclude.xml + Low + + + + + + + src/main/java + + **/*.java + + + + + + + + org.glassfish.build + gfnexus-maven-plugin + 0.18 + + + + javax.xml.bind:jaxb-api:${project.version}:jar + javax.xml.bind + + + metro + JAXB_API-${project.version} + + + + + + + + maven-enforcer-plugin + 1.0.1 + + + enforce-versions + + enforce + + + + + + + [1.6,) + + + [3.0.3,) + + + + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.5.1 + + + xml + + + 45 + 45 + true + + + + + org.glassfish.copyright + glassfish-copyright-maven-plugin + 1.29 + + ${project.basedir}/copyright.txt + ${project.basedir}/copyright-exclude + + true + + true + + false + + false + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.5 + 1.5 + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + javax.xml.bind + ${scmBranch}-${buildNumber}, ${timestamp} + + + true + + + + + + + org.codehaus.mojo + buildnumber-maven-plugin + 1.1 + + true + {0,date,yyyy-MM-dd'T'HH:mm:ssZ} + + javasvn + + true + false + + + + validate + + create + + + + + + org.tmatesoft.svnkit + svnkit + 1.7.4-v1 + + + + + org.apache.felix + maven-bundle-plugin + true + 2.3.7 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + {local-packages};version="${project.version}" + + javax.activation, + javax.xml.bind;version="${project.version}", + javax.xml.bind.annotation;version="${project.version}", + javax.xml.bind.annotation.adapters;version="${project.version}", + javax.xml.bind.attachment;version="${project.version}", + javax.xml.bind.helpers;version="${project.version}", + javax.xml.bind.util;version="${project.version}", + javax.xml.datatype, + javax.xml.namespace, + javax.xml.parsers, + javax.xml.stream, + javax.xml.transform, + javax.xml.transform.dom, + javax.xml.transform.sax, + javax.xml.transform.stream, + javax.xml.validation, + org.w3c.dom, + org.xml.sax, + org.xml.sax.ext, + org.xml.sax.helpers + + jaxb-api + jaxb-api + org.glassfish.hk2.osgiresourcelocator + + + + + bundle-manifest + process-classes + + manifest + + + + + + org.codehaus.mojo + findbugs-maven-plugin + 2.5.2 + + ${findbugs.skip} + ${findbugs.threshold} + true + + exclude-common.xml,${findbugs.exclude} + + true + -Xms64m -Xmx256m + + + + org.glassfish.findbugs + findbugs + 1.0 + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9 + + false + false + true + true + +JAXB ${project.version} Runtime Library +${project.name} specification, ${release.spec.date}
+Comments to: ${release.spec.feedback}
+More information at: http://jaxb.java.net

 

${project.name}


+
 
]]> +
+
v${project.version}]]> +
+ +
Comments to: ${release.spec.feedback} +
More information at: http://jaxb.java.net +

Copyright © 2004-2011 Oracle ]]> + + false + + + http://download.oracle.com/javase/6/docs/api/ + ${basedir}/offline-javadoc + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + org.apache.maven.plugins + maven-release-plugin + 2.1 + + + org.apache.maven.plugins + maven-gpg-plugin + 1.1 + + + org.glassfish.build + gfnexus-maven-plugin + + + + + + diff --git a/SPECS/glassfish-jaxb-api.spec b/SPECS/glassfish-jaxb-api.spec new file mode 100644 index 0000000..7310771 --- /dev/null +++ b/SPECS/glassfish-jaxb-api.spec @@ -0,0 +1,144 @@ +%global oname jaxb-api +Name: glassfish-jaxb-api +Version: 2.2.12 +Release: 8%{?dist} +Summary: Java Architecture for XML Binding +License: CDDL or GPLv2 with exception +URL: http://jaxb.java.net/ +# jaxb api and impl have different version +# svn export https://svn.java.net/svn/jaxb~version2/tags/jaxb-2_2_6/tools/lib/redist/jaxb-api-src.zip + +Source0: http://repo1.maven.org/maven2/javax/xml/bind/%{oname}/%{version}/%{oname}-%{version}-b141001.1542-sources.jar +Source1: http://repo1.maven.org/maven2/javax/xml/bind/%{oname}/%{version}/%{oname}-%{version}-b141001.1542.pom + + +BuildRequires: java-javadoc +BuildRequires: maven-local +BuildRequires: mvn(net.java:jvnet-parent:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) + +BuildArch: noarch + +# The Fedora Packaging Committee granted openjdk a bundling exception to carry JAXP and +# JAX-WS (glassfish doesn't need one, since it is the upstream for these files). +# Reference: https://fedorahosted.org/fpc/ticket/292 + +%description +Glassfish - JAXB (JSR 222) API. + +%package javadoc +Summary: Javadoc for %{oname} +Requires: %{name} = %{version}-%{release} + +%description javadoc +Glassfish - JAXB (JSR 222) API. + +This package contains javadoc for %{name}. + +%prep +%setup -T -q -c + +# fixing incomplete source directory structure +mkdir -p src/main/java + +( + cd src/main/java + unzip -qq %{SOURCE0} + rm -rf META-INF +) + +cp -p %{SOURCE1} pom.xml + +%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin +%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin +%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin +%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin +%pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin + + +sed -i 's|${basedir}/offline-javadoc|%{_javadocdir}/java|' pom.xml + +%build + +%mvn_file :%{oname} %{oname} +%mvn_build + +%install +%mvn_install + +mv %{buildroot}%{_javadocdir}/%{name} \ + %{buildroot}%{_javadocdir}/%{oname} + +%files -f .mfiles + +%files javadoc +%{_javadocdir}/%{oname} + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.2.12-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.2.12-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.2.12-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Jul 23 2016 Mat Booth - 2.2.12-5 +- Regenerate BRs + +* Wed Feb 03 2016 Fedora Release Engineering - 2.2.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.2.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jan 20 2015 gil cattaneo 2.2.12-2 +- Update to 2.2.12-b141001.1542 + +* Tue Jan 20 2015 gil cattaneo 2.2.12-1 +- Update to 2.2.12 + +* Sat Jun 07 2014 Fedora Release Engineering - 2.2.9-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 2.2.9-5 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 2.2.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 06 2013 gil cattaneo 2.2.9-3 +- switch to XMvn +- minor changes to adapt to current guideline + +* Mon Jun 10 2013 Orion Poplawski 2.2.9-2 +- Add requires jvnet-parent + +* Thu May 02 2013 gil cattaneo 2.2.9-1 +- update to 2.2.9 + +* Wed Feb 13 2013 Fedora Release Engineering - 2.2.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 2.2.7-2 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Sat Aug 04 2012 gil cattaneo 2.2.7-1 +- update to 2.2.7 + +* Thu Jul 19 2012 Fedora Release Engineering - 2.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Apr 27 2012 gil cattaneo 2.2.6-1 +- update to 2.2.6 +- remove Build/Requires: bea-stax-api + +* Tue Jan 24 2012 gil cattaneo 2.2.3-2 +- revert to 2.2.3 (stable release) +- fix License field + +* Fri Jul 22 2011 gil cattaneo 2.2.3-1 +- initial rpm