58379ef
Name:           plexus-languages
58379ef
Summary:        Plexus Languages
d8c0ada
Version:        1.0.5
d673c8c
Release:        5%{?dist}
58379ef
License:        ASL 2.0
8249822
58379ef
URL:            https://github.com/codehaus-plexus/plexus-languages
58379ef
7fbedf3
# ./generate-tarball.sh
7fbedf3
Source0:        %{name}-%{version}.tar.gz
58379ef
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
7fbedf3
# Sources contain bundled jars that we cannot verify for licensing
7fbedf3
Source2:        generate-tarball.sh
58379ef
8249822
BuildArch:      noarch
8249822
58379ef
BuildRequires:  maven-local
58379ef
BuildRequires:  mvn(com.thoughtworks.qdox:qdox)
58379ef
BuildRequires:  mvn(javax.inject:javax.inject)
8d90490
BuildRequires:  mvn(org.apache.maven.plugins:maven-failsafe-plugin)
58379ef
BuildRequires:  mvn(org.codehaus.plexus:plexus:pom:)
8249822
BuildRequires:  mvn(org.eclipse.sisu:sisu-maven-plugin)
58379ef
BuildRequires:  mvn(org.ow2.asm:asm)
58379ef
58379ef
%description
58379ef
Plexus Languages is a set of Plexus components that maintain shared
58379ef
language features.
58379ef
6c017ce
%{?javadoc_package}
58379ef
8249822
58379ef
%prep
8249822
%setup -q -n %{name}-%{name}-%{version}
67785b0
8d90490
cp %{SOURCE1} .
58379ef
d8c0ada
%pom_remove_plugin :maven-enforcer-plugin
d8c0ada
d673c8c
# Temporarily force JPMS classes to be built
7786638
%pom_xpath_remove 'pom:profiles' plexus-java
d673c8c
cp -p plexus-java/src/main/java9/org/codehaus/plexus/languages/java/jpms/* plexus-java/src/main/java/org/codehaus/plexus/languages/java/jpms
8249822
58379ef
%build
8d90490
# we don't have mockito 2 yet + many tests rely on bundled test jars/classes
d673c8c
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
58379ef
8249822
58379ef
%install
58379ef
%mvn_install
58379ef
8249822
58379ef
%files -f .mfiles
58379ef
%license LICENSE-2.0.txt
58379ef
8249822
58379ef
%changelog
d673c8c
* Mon Aug 10 2020 Mat Booth <mat.booth@redhat.com> - 1.0.5-5
d673c8c
- Bootstrap restoration of essential JPMS classes
d673c8c
558bb2c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
558bb2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
558bb2c
7786638
* Wed Jul 22 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.5-3
7786638
- Remove Java 9 specific classes for now to fix build.
7786638
fec6f05
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.0.5-2
fec6f05
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
fec6f05
d8c0ada
* Wed Mar 04 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.5-1
d8c0ada
- Update to version 1.0.5.
d8c0ada
134608e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
134608e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
134608e
8249822
* Fri Oct 11 2019 Fabio Valentini <decathorpe@gmail.com> - 1.0.3-1
8249822
- Update to version 1.0.3.
8249822
7b33066
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-5
7b33066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7b33066
35e08cf
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-4
35e08cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
35e08cf
7fbedf3
* Mon Jul 23 2018 Michael Simacek <msimacek@redhat.com> - 0.9.10-3
7fbedf3
- Repack tarball without bundled jars
7fbedf3
a2a6728
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-2
a2a6728
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a2a6728
8d90490
* Fri Jun 29 2018 Michael Simacek <msimacek@redhat.com> - 0.9.10-1
8d90490
- Update to upstream version 0.9.10
8d90490
67785b0
* Fri Jun 29 2018 Michael Simacek <msimacek@redhat.com> - 0.9.3-5
67785b0
- Disable broken test
67785b0
6c017ce
* Wed Feb 14 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-4
6c017ce
- Generate javadoc package automatically
6c017ce
29bf3cd
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
29bf3cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
29bf3cd
58379ef
* Tue Sep 12 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-2
58379ef
- Replace JARs used as test resources with symlinks to system JARs
58379ef
58379ef
* Mon Sep 11 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-1
58379ef
- Initial packaging
8249822