Merge branch 'maven' into stream-javapackages-tools-202501-rhel-9.6.0
This commit is contained in:
commit
ff6e6e8b2d
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
||||
/moditect-1.0.0.Final.tar.gz
|
||||
/moditect-1.1.0.tar.gz
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_contexts:
|
||||
- osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}
|
||||
106
moditect.spec
Normal file
106
moditect.spec
Normal file
@ -0,0 +1,106 @@
|
||||
%bcond_with bootstrap
|
||||
|
||||
Name: moditect
|
||||
Version: 1.1.0
|
||||
Release: 8%{?dist}
|
||||
Summary: Tooling for the Java Module System
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/moditect/moditect
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(com.beust:jcommander)
|
||||
BuildRequires: mvn(com.github.javaparser:javaparser-core)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(org.apache.maven:maven-core)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.assertj:assertj-core)
|
||||
BuildRequires: mvn(org.eclipse.aether:aether-util)
|
||||
BuildRequires: mvn(org.ow2.asm:asm)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The ModiTect project aims at providing productivity tools for working with the
|
||||
Java module system ("Jigsaw"). Currently the following tasks are supported:
|
||||
* Generating module-info.java descriptors for given artifacts (Maven
|
||||
dependencies or local JAR files)
|
||||
* Adding module descriptors to your project's JAR as well as existing JAR files
|
||||
(dependencies)
|
||||
* Creating module runtime images
|
||||
|
||||
Compared to authoring module descriptors by hand, using ModiTect saves you work
|
||||
by defining dependence clauses based on your project's dependencies, describing
|
||||
exported and opened packages with patterns (instead of listing all packages
|
||||
separately), auto-detecting service usages and more. You also can use ModiTect
|
||||
to add a module descriptor to your project JAR while staying on Java 8 with your
|
||||
own build.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%pom_remove_parent parent
|
||||
%pom_xpath_inject 'pom:project' '<groupId>org.moditect</groupId>' parent
|
||||
|
||||
# Missing dependencies in each submodule of integration tests
|
||||
%pom_disable_module integrationtest
|
||||
|
||||
%pom_remove_plugin com.mycila:license-maven-plugin parent
|
||||
%pom_remove_plugin -r :maven-shade-plugin
|
||||
|
||||
%pom_remove_dep -r com.google.testing.compile:compile-testing
|
||||
rm core/src/test/java/org/moditect/test/AddModuleInfoTest.java
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Nov 29 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.0-7
|
||||
- Update javapackages test plan to f42
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Feb 23 2024 Jiri Vanek <jvanek@redhat.com> - 1.1.0-2
|
||||
- bump of release for for java-21-openjdk as system jdk
|
||||
|
||||
* Thu Feb 01 2024 Marian Koncek <mkoncek@redhat.com> - 1.1.0-1
|
||||
- Update to upstream version 1.1.0
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Dec 04 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0.0-3
|
||||
- Implement bootstrap mode
|
||||
|
||||
* Tue Aug 22 2023 Marian Koncek <mkoncek@redhat.com> - 1.0.0-2
|
||||
- Rebuild
|
||||
|
||||
* Mon Jul 17 2023 Marián Konček <mkoncek@redhat.com> - 1.0.0-1
|
||||
- Initial build
|
||||
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: c9s
|
||||
execute:
|
||||
how: tmt
|
||||
Loading…
Reference in New Issue
Block a user