diff --git a/glassfish-jaxb-api.spec b/glassfish-jaxb-api.spec new file mode 100644 index 0000000..3c6915e --- /dev/null +++ b/glassfish-jaxb-api.spec @@ -0,0 +1,61 @@ +Name: glassfish-jaxb-api +Version: 2.2.12 +Release: 11 +Summary: Java Architecture of XML Binding +License: CDDL or GPLv2 with exception +URL: http://jaxb.java.net/ +Source0: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.12-b141001.1542/jaxb-api-%{version}-b141001.1542-sources.jar +Source1: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.12-b141001.1542/jaxb-api-%{version}-b141001.1542.pom + +BuildRequires: java-javadoc maven-local mvn(net.java:jvnet-parent:pom:) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) + +BuildArch: noarch + +%description +The Java Architecture for XML Binding(JAXB) provides an API and tools +that automate the mapping between XML documents and Java objects. + +%package help +Summary: Help documents of jaxb-api +Provides: glassfish-jaxb-api-javadoc = %{version}-%{release} +Obsoletes: glassfish-jaxb-api-javadoc < %{version}-%{release} +Requires: glassfish-jaxb-api = %{version}-%{release} + +%description help +Help documents of jaxb-api. + +%prep +%autosetup -T -c -n %{name}-%{version} -p1 +install -d src/main/java +( +pushd src/main/java + unzip -qq %{SOURCE0} + rm -rf META-INF +popd +) +install -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.glassfish.build:gfnexus-maven-plugin +%pom_remove_plugin :findbugs-maven-plugin +%pom_remove_plugin :maven-gpg-plugin +%pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :cobertura-maven-plugin +%pom_xpath_set "pom:instructions/pom:Import-Package" "javax.activation;resolution:=optional,*" +sed -i 's|${basedir}/offline-javadoc|%{_javadocdir}/java|' pom.xml + +%build +%mvn_file :jaxb-api jaxb-api +%mvn_build + +%install +%mvn_install + +%files -f .mfiles + +%files help -f .mfiles-javadoc + +%changelog +* Wed Apr 22 2020 leiju - 2.2.12-11 +- Package init diff --git a/glassfish-jaxb-api.yaml b/glassfish-jaxb-api.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/glassfish-jaxb-api.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/jaxb-api-2.2.12-b141001.1542-sources.jar b/jaxb-api-2.2.12-b141001.1542-sources.jar new file mode 100644 index 0000000..ac7b3f4 Binary files /dev/null and b/jaxb-api-2.2.12-b141001.1542-sources.jar differ diff --git a/jaxb-api-2.2.12-b141001.1542.pom b/jaxb-api-2.2.12-b141001.1542.pom new file mode 100644 index 0000000..ae2d840 --- /dev/null +++ b/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 + + + + + +