2024-08-05 18:45:50 +00:00
|
|
|
%bcond_with bootstrap
|
2023-02-23 18:28:43 +00:00
|
|
|
|
2023-02-21 10:23:13 +00:00
|
|
|
Name: modulemaker-maven-plugin
|
|
|
|
Version: 1.9
|
2024-10-29 15:50:21 +00:00
|
|
|
Release: 8%{?dist}
|
2023-02-21 10:23:13 +00:00
|
|
|
Summary: A plugin for creating module-info.class files
|
|
|
|
License: Apache-2.0
|
|
|
|
URL: https://github.com/raphw/modulemaker-maven-plugin
|
|
|
|
BuildArch: noarch
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
Source0: https://github.com/raphw/modulemaker-maven-plugin/archive/refs/tags/modulemaker-maven-plugin-%{version}.tar.gz
|
|
|
|
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
2023-02-23 18:28:43 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2023-02-21 10:23:13 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
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-source-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-core)
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm-commons)
|
2023-02-23 18:28:43 +00:00
|
|
|
%endif
|
2023-02-21 10:23:13 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This plugin allows the creation of a module-info.class for projects on Java 6
|
|
|
|
to Java 8 where a module-info.java file cannot be compiled.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n modulemaker-maven-plugin-modulemaker-maven-plugin-%{version}
|
|
|
|
|
|
|
|
cp -p %{SOURCE1} .
|
|
|
|
|
|
|
|
%pom_xpath_inject 'pom:dependency[pom:artifactId="maven-plugin-api"]' '<scope>provided</scope>'
|
|
|
|
|
|
|
|
%build
|
2024-02-20 07:36:51 +00:00
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
2023-02-21 10:23:13 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE-2.0.txt
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE-2.0.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-10-29 15:50:21 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.9-8
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-02-20 07:36:51 +00:00
|
|
|
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-7
|
|
|
|
- Switch Java compiler source/target to 1.8
|
|
|
|
- Resolves: RHEL-52701
|
|
|
|
|
2024-08-01 17:34:05 +00:00
|
|
|
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.9-7
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
2024-06-24 16:03:42 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.9-6
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 07:52:50 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 08:32:09 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 15:40:04 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-02-23 18:28:43 +00:00
|
|
|
* Thu Feb 23 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-2
|
|
|
|
- Implement bootstrap mode
|
|
|
|
|
2023-02-21 10:23:13 +00:00
|
|
|
* Thu Feb 16 2023 Marian Koncek <mkoncek@redhat.com> - 1.9-2
|
|
|
|
- Initial build
|