Compare commits
No commits in common. "c8-beta-stream-4" and "c10s" have entirely different histories.
c8-beta-st
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
10
.gitignore
vendored
10
.gitignore
vendored
@ -1 +1,9 @@
|
|||||||
SOURCES/jaxb-4.0.2.tar.gz
|
/glassfish-jaxb-2.2.5.tar.gz
|
||||||
|
/jaxb-ri-2.2.11.src.zip
|
||||||
|
/2.3.3-RI.tar.gz
|
||||||
|
/jaxb-2.3.5.tar.gz
|
||||||
|
/jaxb-2.3.7.tar.gz
|
||||||
|
/jaxb-4.0.1.tar.gz
|
||||||
|
/jaxb-4.0.2.tar.gz
|
||||||
|
/jaxb-4.0.3.tar.gz
|
||||||
|
/jaxb-4.0.4.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
3bf3515784e9f84a71fed962b08b5f57942c7e5a SOURCES/jaxb-4.0.2.tar.gz
|
|
167
SPECS/jaxb.spec
167
SPECS/jaxb.spec
@ -1,167 +0,0 @@
|
|||||||
Name: jaxb
|
|
||||||
Version: 4.0.2
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: JAXB Reference Implementation
|
|
||||||
# EDL-1.0 license is BSD-3-clause
|
|
||||||
License: BSD
|
|
||||||
URL: https://github.com/eclipse-ee4j/jaxb-ri
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
Source0: %{url}/archive/%{version}-RI/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: maven-local
|
|
||||||
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
|
|
||||||
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
|
|
||||||
BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
|
|
||||||
BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
|
|
||||||
BuildRequires: mvn(jakarta.activation:jakarta.activation-api:2.1.0)
|
|
||||||
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api:4.0.0)
|
|
||||||
BuildRequires: mvn(org.apache.ant:ant)
|
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
||||||
BuildRequires: mvn(org.jvnet.staxex:stax-ex)
|
|
||||||
|
|
||||||
%description
|
|
||||||
GlassFish JAXB Reference Implementation.
|
|
||||||
|
|
||||||
%package codemodel
|
|
||||||
Summary: Codemodel Core
|
|
||||||
|
|
||||||
%description codemodel
|
|
||||||
The core functionality of the CodeModel java source code generation library.
|
|
||||||
|
|
||||||
%package codemodel-annotation-compiler
|
|
||||||
Summary: Codemodel Annotation Compiler
|
|
||||||
|
|
||||||
%description codemodel-annotation-compiler
|
|
||||||
The annotation compiler ant task for the CodeModel java source code generation
|
|
||||||
library.
|
|
||||||
|
|
||||||
%package relaxng-datatype
|
|
||||||
Summary: RelaxNG Datatype
|
|
||||||
|
|
||||||
%description relaxng-datatype
|
|
||||||
RelaxNG Datatype library.
|
|
||||||
|
|
||||||
%package xsom
|
|
||||||
Summary: XML Schema Object Model
|
|
||||||
|
|
||||||
%description xsom
|
|
||||||
XML Schema Object Model (XSOM) is a Java library that allows applications to
|
|
||||||
easily parse XML Schema documents and inspect information in them. It is
|
|
||||||
expected to be useful for applications that need to take XML Schema as an
|
|
||||||
input.
|
|
||||||
|
|
||||||
%package core
|
|
||||||
Summary: JAXB Core
|
|
||||||
|
|
||||||
%description core
|
|
||||||
JAXB Core module. Contains sources required by XJC, JXC and Runtime modules.
|
|
||||||
|
|
||||||
%package rngom
|
|
||||||
# pom.xml and module-info.java are under BSD, rest is MIT
|
|
||||||
License: MIT and BSD
|
|
||||||
Summary: RELAX NG Object Model/Parser
|
|
||||||
|
|
||||||
%description rngom
|
|
||||||
This package contains RELAX NG Object Model/Parser.
|
|
||||||
|
|
||||||
%package runtime
|
|
||||||
Summary: JAXB Runtime
|
|
||||||
|
|
||||||
%description runtime
|
|
||||||
JAXB (JSR 222) Reference Implementation
|
|
||||||
|
|
||||||
%package txw2
|
|
||||||
Summary: TXW2 Runtime
|
|
||||||
|
|
||||||
%description txw2
|
|
||||||
TXW is a library that allows you to write XML documents.
|
|
||||||
|
|
||||||
%package xjc
|
|
||||||
# jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/reader/internalizer/NamespaceContextImpl.java is under ASL 2.0
|
|
||||||
License: BSD and ASL 2.0
|
|
||||||
Summary: JAXB XJC
|
|
||||||
|
|
||||||
%description xjc
|
|
||||||
JAXB Binding Compiler. Contains source code needed for binding customization
|
|
||||||
files into java sources. In other words: the tool to generate java classes for
|
|
||||||
the given xml representation.
|
|
||||||
|
|
||||||
%package txwc2
|
|
||||||
Summary: TXW2 Compiler
|
|
||||||
|
|
||||||
%description txwc2
|
|
||||||
JAXB schema generator. The tool to generate XML schema based on java classes.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n jaxb-ri-%{version}-RI
|
|
||||||
|
|
||||||
pushd jaxb-ri
|
|
||||||
|
|
||||||
find -name 'module-info.java' -type f -delete
|
|
||||||
|
|
||||||
# Remove ee4j parent
|
|
||||||
%pom_remove_parent boms/bom codemodel external xsom
|
|
||||||
|
|
||||||
%pom_remove_plugin -r :buildnumber-maven-plugin
|
|
||||||
%pom_remove_plugin -r :maven-enforcer-plugin
|
|
||||||
|
|
||||||
# Skip docs generation because of missing dependencies
|
|
||||||
%pom_xpath_remove "pom:profiles/pom:profile[pom:id='default-profile']/pom:modules"
|
|
||||||
|
|
||||||
# Disable unneeded extra OSGi bundles
|
|
||||||
%pom_disable_module bundles
|
|
||||||
|
|
||||||
# Missing dependency on org.checkerframework:compiler
|
|
||||||
%pom_disable_module jxc
|
|
||||||
|
|
||||||
%pom_remove_dep org.eclipse.angus:angus-activation core
|
|
||||||
|
|
||||||
# Don't install aggregator and parent poms
|
|
||||||
%mvn_package :jaxb-bom __noinstall
|
|
||||||
%mvn_package :jaxb-bom-ext __noinstall
|
|
||||||
%mvn_package :jaxb-bundles __noinstall
|
|
||||||
%mvn_package :jaxb-codemodel-parent __noinstall
|
|
||||||
%mvn_package :jaxb-docs-parent __noinstall
|
|
||||||
%mvn_package :jaxb-external-parent __noinstall
|
|
||||||
%mvn_package :jaxb-parent __noinstall
|
|
||||||
%mvn_package :jaxb-runtime-parent __noinstall
|
|
||||||
%mvn_package :jaxb-samples __noinstall
|
|
||||||
%mvn_package :jaxb-txw-parent __noinstall
|
|
||||||
%mvn_package :jaxb-www __noinstall
|
|
||||||
popd
|
|
||||||
|
|
||||||
%build
|
|
||||||
pushd jaxb-ri
|
|
||||||
%mvn_build -s -f -j
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
|
||||||
pushd jaxb-ri
|
|
||||||
%mvn_install
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files codemodel -f jaxb-ri/.mfiles-codemodel
|
|
||||||
%license LICENSE.md NOTICE.md
|
|
||||||
%files codemodel-annotation-compiler -f jaxb-ri/.mfiles-codemodel-annotation-compiler
|
|
||||||
%files relaxng-datatype -f jaxb-ri/.mfiles-relaxng-datatype
|
|
||||||
%license LICENSE.md NOTICE.md
|
|
||||||
%files xsom -f jaxb-ri/.mfiles-xsom
|
|
||||||
%files core -f jaxb-ri/.mfiles-jaxb-core
|
|
||||||
%files rngom -f jaxb-ri/.mfiles-rngom
|
|
||||||
%files runtime -f jaxb-ri/.mfiles-jaxb-runtime
|
|
||||||
%files txw2 -f jaxb-ri/.mfiles-txw2
|
|
||||||
%license LICENSE.md NOTICE.md
|
|
||||||
%files txwc2 -f jaxb-ri/.mfiles-txwc2
|
|
||||||
%files xjc -f jaxb-ri/.mfiles-jaxb-xjc
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Tue Feb 07 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.2-1
|
|
||||||
- Update to upstream version 4.0.2
|
|
||||||
|
|
||||||
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.1-1
|
|
||||||
- Initial build
|
|
81
dependencies.dot
Normal file
81
dependencies.dot
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
digraph dependencies
|
||||||
|
{
|
||||||
|
layout = dot;
|
||||||
|
node [shape = plaintext];
|
||||||
|
|
||||||
|
"jakarta-activation"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jakarta-activation</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jakarta-activation">jakarta-activation</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb-api"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jaxb-api</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jaxb-api">jaxb-api</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb-stax-ex"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jaxb-stax-ex</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jaxb-stax-ex">jaxb-stax-ex</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb-dtd-parser"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jaxb-dtd-parser</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jaxb-dtd-parser">jaxb-dtd-parser</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb-fi"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jaxb-fi</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jaxb-fi">jaxb-fi</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-fi-tests">jaxb-fi-tests</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb-istack-commons"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jaxb-istack-commons</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jaxb-istack-commons-runtime">jaxb-istack-commons-runtime</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-istack-commons-tools">jaxb-istack-commons-tools</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-istack-commons-test">jaxb-istack-commons-test</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb"
|
||||||
|
[label = <<TABLE CELLBORDER = "0"><TR>
|
||||||
|
<TD><B>jaxb</B></TD>
|
||||||
|
</TR><TR><TD><TABLE BORDER = "0" CELLBORDER = "1">
|
||||||
|
<TR><TD PORT = "jaxb-codemodel">jaxb-codemodel</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-codemodel-annotation-compiler">jaxb-codemodel-annotation-compiler</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-relaxng-datatype">jaxb-relaxng-datatype</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-xsom">jaxb-xsom</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-core">jaxb-core</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-rngom">jaxb-rngom</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-runtime">jaxb-runtime</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-txw2">jaxb-txw2</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-xjc">jaxb-xjc</TD></TR>
|
||||||
|
<TR><TD PORT = "jaxb-txwc2">jaxb-txwc2</TD></TR>
|
||||||
|
</TABLE></TD></TR></TABLE>>];
|
||||||
|
|
||||||
|
"jaxb-api" -> "jakarta-activation":"jakarta-activation";
|
||||||
|
|
||||||
|
"jaxb-stax-ex" -> "jaxb-api":"jaxb-api";
|
||||||
|
"jaxb-stax-ex" -> "jakarta-activation":"jakarta-activation";
|
||||||
|
|
||||||
|
"jaxb-istack-commons" -> "jakarta-activation":"jakarta-activation";
|
||||||
|
|
||||||
|
"jaxb" -> "jakarta-activation":"jakarta-activation";
|
||||||
|
"jaxb" -> "jaxb-istack-commons":"jaxb-istack-commons-runtime";
|
||||||
|
"jaxb" -> "jaxb-istack-commons":"jaxb-istack-commons-tools";
|
||||||
|
"jaxb" -> "jaxb-dtd-parser":"jaxb-dtd-parser";
|
||||||
|
"jaxb" -> "jaxb-fi":"jaxb-fi";
|
||||||
|
"jaxb" -> "jaxb-api":"jaxb-api";
|
||||||
|
"jaxb" -> "jaxb-stax-ex":"jaxb-stax-ex";
|
||||||
|
}
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_contexts:
|
||||||
|
- osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/smoke.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}
|
280
jaxb.spec
Normal file
280
jaxb.spec
Normal file
@ -0,0 +1,280 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
|
|
||||||
|
Name: jaxb
|
||||||
|
Version: 4.0.4
|
||||||
|
Release: 6%{?dist}
|
||||||
|
Summary: JAXB Reference Implementation
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/eclipse-ee4j/jaxb-ri
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{java_arches} noarch
|
||||||
|
|
||||||
|
Source0: %{url}/archive/%{version}-RI/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(com.github.relaxng:relaxngDatatype)
|
||||||
|
BuildRequires: mvn(com.sun.istack:istack-commons-maven-plugin)
|
||||||
|
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
|
||||||
|
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
|
||||||
|
BuildRequires: mvn(com.sun.xml.dtd-parser:dtd-parser)
|
||||||
|
BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
|
||||||
|
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
|
||||||
|
BuildRequires: mvn(jakarta.xml.bind:jakarta.xml.bind-api)
|
||||||
|
BuildRequires: mvn(net.java.dev.msv:xsdlib)
|
||||||
|
BuildRequires: mvn(org.apache.ant:ant)
|
||||||
|
BuildRequires: mvn(org.apache.ant:ant-junit)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
|
BuildRequires: mvn(org.jvnet.staxex:stax-ex)
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
GlassFish JAXB Reference Implementation.
|
||||||
|
|
||||||
|
%package codemodel
|
||||||
|
Summary: Codemodel Core
|
||||||
|
|
||||||
|
%description codemodel
|
||||||
|
The core functionality of the CodeModel java source code generation library.
|
||||||
|
|
||||||
|
%package codemodel-annotation-compiler
|
||||||
|
Summary: Codemodel Annotation Compiler
|
||||||
|
|
||||||
|
%description codemodel-annotation-compiler
|
||||||
|
The annotation compiler ant task for the CodeModel java source code generation
|
||||||
|
library.
|
||||||
|
|
||||||
|
%package relaxng-datatype
|
||||||
|
Summary: RelaxNG Datatype
|
||||||
|
|
||||||
|
%description relaxng-datatype
|
||||||
|
RelaxNG Datatype library.
|
||||||
|
|
||||||
|
%package xsom
|
||||||
|
Summary: XML Schema Object Model
|
||||||
|
|
||||||
|
%description xsom
|
||||||
|
XML Schema Object Model (XSOM) is a Java library that allows applications to
|
||||||
|
easily parse XML Schema documents and inspect information in them. It is
|
||||||
|
expected to be useful for applications that need to take XML Schema as an
|
||||||
|
input.
|
||||||
|
|
||||||
|
%package core
|
||||||
|
Summary: JAXB Core
|
||||||
|
|
||||||
|
%description core
|
||||||
|
JAXB Core module. Contains sources required by XJC, JXC and Runtime modules.
|
||||||
|
|
||||||
|
%package rngom
|
||||||
|
# pom.xml and module-info.java are under BSD, rest is MIT
|
||||||
|
License: MIT AND BSD-3-Clause
|
||||||
|
Summary: RELAX NG Object Model/Parser
|
||||||
|
|
||||||
|
%description rngom
|
||||||
|
This package contains RELAX NG Object Model/Parser.
|
||||||
|
|
||||||
|
%package runtime
|
||||||
|
Summary: JAXB Runtime
|
||||||
|
|
||||||
|
%description runtime
|
||||||
|
JAXB (JSR 222) Reference Implementation
|
||||||
|
|
||||||
|
%package txw2
|
||||||
|
Summary: TXW2 Runtime
|
||||||
|
|
||||||
|
%description txw2
|
||||||
|
TXW is a library that allows you to write XML documents.
|
||||||
|
|
||||||
|
%package xjc
|
||||||
|
# jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/reader/internalizer/NamespaceContextImpl.java is under Apache-2.0
|
||||||
|
License: BSD-3-Clause AND Apache-2.0
|
||||||
|
Summary: JAXB XJC
|
||||||
|
|
||||||
|
%description xjc
|
||||||
|
JAXB Binding Compiler. Contains source code needed for binding customization
|
||||||
|
files into java sources. In other words: the tool to generate java classes for
|
||||||
|
the given xml representation.
|
||||||
|
|
||||||
|
%package txwc2
|
||||||
|
Summary: TXW2 Compiler
|
||||||
|
|
||||||
|
%description txwc2
|
||||||
|
JAXB schema generator. The tool to generate XML schema based on java classes.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n jaxb-ri-%{version}-RI
|
||||||
|
|
||||||
|
pushd jaxb-ri
|
||||||
|
|
||||||
|
# Remove ee4j parent
|
||||||
|
%pom_remove_parent boms/bom codemodel external xsom
|
||||||
|
|
||||||
|
%pom_remove_plugin -r :buildnumber-maven-plugin
|
||||||
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
||||||
|
|
||||||
|
# Skip docs generation because of missing dependencies
|
||||||
|
%pom_xpath_remove "pom:profiles/pom:profile[pom:id='default-profile']/pom:modules"
|
||||||
|
|
||||||
|
# Disable unneeded extra OSGi bundles
|
||||||
|
%pom_disable_module bundles
|
||||||
|
|
||||||
|
# Missing dependency on org.checkerframework:compiler
|
||||||
|
%pom_disable_module jxc
|
||||||
|
|
||||||
|
%pom_remove_dep org.eclipse.angus:angus-activation core
|
||||||
|
|
||||||
|
# Don't install aggregator and parent poms
|
||||||
|
%mvn_package :jaxb-bom __noinstall
|
||||||
|
%mvn_package :jaxb-bom-ext __noinstall
|
||||||
|
%mvn_package :jaxb-bundles __noinstall
|
||||||
|
%mvn_package :jaxb-codemodel-parent __noinstall
|
||||||
|
%mvn_package :jaxb-docs-parent __noinstall
|
||||||
|
%mvn_package :jaxb-external-parent __noinstall
|
||||||
|
%mvn_package :jaxb-parent __noinstall
|
||||||
|
%mvn_package :jaxb-runtime-parent __noinstall
|
||||||
|
%mvn_package :jaxb-samples __noinstall
|
||||||
|
%mvn_package :jaxb-txw-parent __noinstall
|
||||||
|
%mvn_package :jaxb-www __noinstall
|
||||||
|
|
||||||
|
%if %{with bootstrap}
|
||||||
|
%pom_disable_module core
|
||||||
|
%pom_disable_module codemodel-annotation-compiler codemodel
|
||||||
|
%pom_disable_module runtime
|
||||||
|
%pom_disable_module relaxng-datatype external
|
||||||
|
%pom_disable_module rngom external
|
||||||
|
%pom_disable_module xjc
|
||||||
|
%pom_disable_module xsom
|
||||||
|
%pom_disable_module txw
|
||||||
|
%endif
|
||||||
|
popd
|
||||||
|
|
||||||
|
%build
|
||||||
|
pushd jaxb-ri
|
||||||
|
%mvn_build -s -f -j -- -Dproject.build.sourceEncoding=UTF-8
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
pushd jaxb-ri
|
||||||
|
%mvn_install
|
||||||
|
popd
|
||||||
|
|
||||||
|
%files codemodel -f jaxb-ri/.mfiles-codemodel
|
||||||
|
%license LICENSE.md NOTICE.md
|
||||||
|
|
||||||
|
%if %{without bootstrap}
|
||||||
|
%files codemodel-annotation-compiler -f jaxb-ri/.mfiles-codemodel-annotation-compiler
|
||||||
|
%files core -f jaxb-ri/.mfiles-jaxb-core
|
||||||
|
%files relaxng-datatype -f jaxb-ri/.mfiles-relaxng-datatype
|
||||||
|
%license LICENSE.md NOTICE.md
|
||||||
|
%files xsom -f jaxb-ri/.mfiles-xsom
|
||||||
|
%files rngom -f jaxb-ri/.mfiles-rngom
|
||||||
|
%files txw2 -f jaxb-ri/.mfiles-txw2
|
||||||
|
%license LICENSE.md NOTICE.md
|
||||||
|
%files txwc2 -f jaxb-ri/.mfiles-txwc2
|
||||||
|
%files runtime -f jaxb-ri/.mfiles-jaxb-runtime
|
||||||
|
%files xjc -f jaxb-ri/.mfiles-jaxb-xjc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.0.4-6
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 4.0.4-5
|
||||||
|
- Bump release for Aug 2024 java mass rebuild
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.0.4-4
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 29 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.4-1
|
||||||
|
- Update to upstream version 4.0.4
|
||||||
|
|
||||||
|
* Mon Nov 27 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.3-1
|
||||||
|
- Update to upstream version 4.0.3
|
||||||
|
|
||||||
|
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.2-3
|
||||||
|
- Convert License tag to SPDX format
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.2-1
|
||||||
|
- Update to upstream version 4.0.2
|
||||||
|
|
||||||
|
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.1-4
|
||||||
|
- Change license, remove bootstrap macro
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 16 2023 Marian Koncek <mkoncek@redhat.com> - 4.0.1-2
|
||||||
|
- Rebuild
|
||||||
|
|
||||||
|
* Mon Nov 21 2022 Marian Koncek <mkoncek@redhat.com> - 4.0.1-1
|
||||||
|
- Update to pstream version 4.0.1
|
||||||
|
|
||||||
|
* Thu Oct 27 2022 Marian Koncek <mkoncek@redhat.com> - 2.3.5-8
|
||||||
|
- Add bootstrap option
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 2.3.5-6
|
||||||
|
- Rebuilt for Drop i686 JDKs
|
||||||
|
|
||||||
|
* Mon Feb 21 2022 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 2.3.5-5
|
||||||
|
- Remove subpackage that provides BOM/POM only
|
||||||
|
- Clean up spec (provides, obsoletes, etc.)
|
||||||
|
|
||||||
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.3.5-4
|
||||||
|
- Rebuilt for java-17-openjdk as system jdk
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 17 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 2.3.5-2
|
||||||
|
- Remove workaround for SUREFIRE-1897
|
||||||
|
|
||||||
|
* Tue Oct 26 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 2.3.5-1
|
||||||
|
- Update to version 2.3.5
|
||||||
|
- Remove jp_minimal
|
||||||
|
- Disable tests
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 5 2021 Mat Booth <mat.booth@redhat.com> - 2.3.3-6
|
||||||
|
- Add obsoletes/provides and compat aliases for old relaxngDatatype package
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 18 2020 Mat Booth <mat.booth@redhat.com> - 2.3.3-4
|
||||||
|
- Restore deps on fi and stax-ex for full build mode
|
||||||
|
|
||||||
|
* Mon Aug 17 2020 Mat Booth <mat.booth@redhat.com> - 2.3.3-3
|
||||||
|
- Add obsoletes/provides and compat aliases for old xsom package
|
||||||
|
|
||||||
|
* Tue Aug 11 2020 Mat Booth <mat.booth@redhat.com> - 2.3.3-2
|
||||||
|
- Fastinfoset and Staxex are optional deps, this should be reflected in the OSGi
|
||||||
|
metadata
|
||||||
|
|
||||||
|
* Tue Aug 04 2020 Mat Booth <mat.booth@redhat.com> - 2.3.3-1
|
||||||
|
- Update to latest upstream release
|
||||||
|
- Disable javadocs for now, due to https://github.com/fedora-java/xmvn/issues/58
|
||||||
|
- Upstream moved to eclipse-ee4j and implementation license changed to BSD (EDL)
|
||||||
|
- Enable tests, don't unnecessarily ship parent poms
|
||||||
|
- Rename package from glassfish-jaxb
|
7
plans/javapackages.fmf
Normal file
7
plans/javapackages.fmf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
summary: Run javapackages-specific tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
url: https://src.fedoraproject.org/tests/javapackages
|
||||||
|
ref: c10s
|
||||||
|
execute:
|
||||||
|
how: tmt
|
5
plans/smoke.fmf
Normal file
5
plans/smoke.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (jaxb-4.0.4.tar.gz) = a19d58fbf0e27e73feb742f769706865419b56b486a1eb817213dd64c6d01a6b6ccca639fc182797990628b2fb78f1a53f57032e7192dbe7a318857545e92272
|
45
tests/Sanity/smoke/Smoke.java
Normal file
45
tests/Sanity/smoke/Smoke.java
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
import jakarta.xml.bind.annotation.XmlRootElement;
|
||||||
|
|
||||||
|
import jakarta.xml.bind.JAXBContext;
|
||||||
|
import jakarta.xml.bind.JAXBException;
|
||||||
|
import jakarta.xml.bind.Marshaller;
|
||||||
|
import jakarta.xml.bind.Unmarshaller;
|
||||||
|
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.io.ByteArrayOutputStream;
|
||||||
|
import java.io.ByteArrayInputStream;
|
||||||
|
|
||||||
|
@XmlRootElement(namespace = "org.fedoraproject.jaxb.test.smoke")
|
||||||
|
class Data
|
||||||
|
{
|
||||||
|
public String text = "default text";
|
||||||
|
public int number = 123;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Smoke
|
||||||
|
{
|
||||||
|
public static void main(String[] args) throws Exception
|
||||||
|
{
|
||||||
|
JAXBContext context = JAXBContext.newInstance(Data.class);
|
||||||
|
Marshaller m = context.createMarshaller();
|
||||||
|
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
|
||||||
|
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||||
|
m.marshal(new Data(), baos);
|
||||||
|
|
||||||
|
Unmarshaller um = context.createUnmarshaller();
|
||||||
|
|
||||||
|
Data data;
|
||||||
|
try (InputStream is = new ByteArrayInputStream(baos.toByteArray())) {
|
||||||
|
data = Data.class.cast(um.unmarshal(is));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!data.text.equals("default text"))
|
||||||
|
{
|
||||||
|
throw new RuntimeException("Expected \"default text\", found \"" + data.text + "\"");
|
||||||
|
}
|
||||||
|
if (data.number != 123)
|
||||||
|
{
|
||||||
|
throw new RuntimeException("Expected 123, found " + String.valueOf(data.number));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
10
tests/Sanity/smoke/main.fmf
Normal file
10
tests/Sanity/smoke/main.fmf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
summary: jaxb smoke test
|
||||||
|
description: |
|
||||||
|
Test basic functionality of jaxb.
|
||||||
|
require:
|
||||||
|
- jaxb-runtime
|
||||||
|
- java-21-openjdk-devel
|
||||||
|
- xmvn-tools
|
||||||
|
- mvn(jakarta.activation:jakarta.activation-api)
|
||||||
|
- mvn(jakarta.xml.bind:jakarta.xml.bind-api)
|
||||||
|
- mvn(com.sun.istack:istack-commons-runtime)
|
19
tests/Sanity/smoke/runtest.sh
Executable file
19
tests/Sanity/smoke/runtest.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author: Marian Koncek <mkoncek@redhat.com>
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
|
||||||
|
rlPhaseStartTest "compile Smoke.java and run it"
|
||||||
|
CLASSPATH+=":$(xmvn-resolve jakarta.activation:jakarta.activation-api)"
|
||||||
|
CLASSPATH+=":$(xmvn-resolve jakarta.xml.bind:jakarta.xml.bind-api)"
|
||||||
|
CLASSPATH+=":$(xmvn-resolve com.sun.istack:istack-commons-runtime)"
|
||||||
|
CLASSPATH+=":$(xmvn-resolve org.glassfish.jaxb:jaxb-runtime)"
|
||||||
|
CLASSPATH+=":$(xmvn-resolve org.glassfish.jaxb:jaxb-core)"
|
||||||
|
export CLASSPATH
|
||||||
|
rlRun "/usr/lib/jvm/java-21-openjdk/bin/javac Smoke.java"
|
||||||
|
rlRun "/usr/lib/jvm/java-21-openjdk/bin/java -cp \"${CLASSPATH}:plans\" Smoke"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlJournalEnd
|
||||||
|
rlJournalPrintText
|
5
tests/main.fmf
Normal file
5
tests/main.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
contact: Marian Koncek <mkoncek@redhat.com>
|
||||||
|
framework: beakerlib
|
||||||
|
test: ./runtest.sh
|
||||||
|
tier: 0
|
||||||
|
component: jaxb
|
Loading…
Reference in New Issue
Block a user