68 lines
2.8 KiB
RPMSpec
68 lines
2.8 KiB
RPMSpec
Name: maven-jaxb2-plugin
|
|
Version: 0.15.1
|
|
Release: 1
|
|
Summary: Provides the capability to generate java sources from schemas
|
|
License: BSD-2-Clause and ASL 2.0
|
|
URL: http://java.net/projects/maven-jaxb2-plugin/pages/Home
|
|
Source0: https://github.com/highsource/jaxb-tools/archive/%{version}/jaxb-tools-%{version}.tar.gz
|
|
Patch0: %{name}-0.13.0-dont-use-internal-resolver.patch
|
|
Patch1: %{name}-0.13.0-adapt-for-maven-3.patch
|
|
Patch2: %{name}-0.13.0-remove-enconding-option.patch
|
|
BuildArch: noarch
|
|
BuildRequires: java-headless maven-local mvn(com.sun.codemodel:codemodel) mvn(junit:junit)
|
|
BuildRequires: mvn(org.apache.commons:commons-lang3) mvn(org.apache.maven:maven-compat)
|
|
BuildRequires: mvn(org.apache.maven:maven-core) mvn(org.apache.maven:maven-plugin-api)
|
|
BuildRequires: mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
|
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-release-plugin)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.glassfish.jaxb:jaxb-runtime)
|
|
BuildRequires: mvn(org.glassfish.jaxb:jaxb-xjc) mvn(org.slf4j:slf4j-api)
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) mvn(org.sonatype.plexus:plexus-build-api)
|
|
BuildRequires: mvn(xml-resolver:xml-resolver)
|
|
BuildRequires: mvn(com.sun.activation:jakarta.activation)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) maven
|
|
BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
|
|
BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
|
|
BuildRequires: mvn(org.apache.maven.wagon:wagon-http)
|
|
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
|
|
|
%description
|
|
This Maven 2 plugin wraps the JAXB 2.x XJC compiler and provides the capability
|
|
to generate Java sources from XML Schemas.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
%description javadoc
|
|
The API documentation of %{name}.
|
|
|
|
%prep
|
|
%autosetup -n jaxb-tools-%{version} -p1
|
|
%pom_disable_module plugin-2.0
|
|
%pom_disable_module plugin-2.1
|
|
%pom_add_dep com.sun.codemodel:codemodel:2.6 plugin
|
|
%pom_add_dep com.sun.codemodel:codemodel:2.6 plugin-2.2
|
|
|
|
%build
|
|
%mvn_build -b
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Mon Jan 22 2024 Ge Wang <wang__ge@126.com> - 0.15.1-1
|
|
- Update to version 0.15.1
|
|
|
|
* Tue May 10 2022 xu_ping <xuping33@h-partners.com> - 0.13.0-2
|
|
- License compliance rectification
|
|
|
|
* Wed Aug 5 2020 chengzihan <chengzihan2@huawei.com> - 0.13.0-1
|
|
- Package init
|