Initial build
This commit is contained in:
parent
5cedea664a
commit
65f3b8ed53
|
@ -0,0 +1 @@
|
||||||
|
1
|
|
@ -0,0 +1 @@
|
||||||
|
/jaxb-stax-ex-2.1.0.tar.gz
|
|
@ -0,0 +1 @@
|
||||||
|
4861cb57e2d08abec4b1e4288f9e5938ddf807e9 jaxb-stax-ex-2.1.0.tar.gz
|
|
@ -0,0 +1,7 @@
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_contexts:
|
||||||
|
- osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -0,0 +1,55 @@
|
||||||
|
Name: jaxb-stax-ex
|
||||||
|
Version: 2.1.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Extended StAX API
|
||||||
|
License: BSD
|
||||||
|
|
||||||
|
URL: https://github.com/eclipse-ee4j/jaxb-stax-ex
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(jakarta.activation:jakarta.activation-api:2.1.0)
|
||||||
|
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api:4.0.0)
|
||||||
|
BuildRequires: mvn(junit:junit)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This project contains a few extensions to complement JSR-173 StAX API in
|
||||||
|
the following areas:
|
||||||
|
|
||||||
|
- Enable parser instance reuse (which is important in the
|
||||||
|
high-performance environment like Eclipse Implementation of JAXB and
|
||||||
|
Eclipse Metro)
|
||||||
|
- Improve the support for reading from non-text XML infoset, such as
|
||||||
|
FastInfoset.
|
||||||
|
- Improve the namespace support.
|
||||||
|
|
||||||
|
%{?javadoc_package}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
find -name 'module-info.java' -type f -delete
|
||||||
|
|
||||||
|
%pom_remove_parent
|
||||||
|
|
||||||
|
%pom_remove_plugin :buildnumber-maven-plugin
|
||||||
|
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
||||||
|
%pom_remove_plugin :maven-enforcer-plugin
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE.md NOTICE.md
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.0-1
|
||||||
|
- Initial build
|
|
@ -0,0 +1,15 @@
|
||||||
|
import org.jvnet.staxex.Base64Data;
|
||||||
|
import org.jvnet.staxex.NamespaceContextEx;
|
||||||
|
import org.jvnet.staxex.XMLStreamReaderEx;
|
||||||
|
import org.jvnet.staxex.XMLStreamWriterEx;
|
||||||
|
|
||||||
|
public class Smoke
|
||||||
|
{
|
||||||
|
public static void main(String[] args)
|
||||||
|
{
|
||||||
|
System.out.println(Base64Data.class.getCanonicalName());
|
||||||
|
System.out.println(NamespaceContextEx.class.getCanonicalName());
|
||||||
|
System.out.println(XMLStreamReaderEx.class.getCanonicalName());
|
||||||
|
System.out.println(XMLStreamWriterEx.class.getCanonicalName());
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
summary: Basic smoke test
|
||||||
|
prepare:
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- java-11-openjdk-devel
|
||||||
|
- xmvn-tools
|
||||||
|
discover:
|
||||||
|
how: shell
|
||||||
|
tests:
|
||||||
|
- name: /smoke/classpath-import
|
||||||
|
test: |
|
||||||
|
CLASSPATH+=":$(xmvn-resolve org.jvnet.staxex:stax-ex)"
|
||||||
|
export CLASSPATH
|
||||||
|
/usr/lib/jvm/java-11-openjdk/bin/javac plans/Smoke.java
|
||||||
|
/usr/lib/jvm/java-11-openjdk/bin/java -cp "${CLASSPATH}:plans" Smoke
|
||||||
|
execute:
|
||||||
|
how: tmt
|
Loading…
Reference in New Issue