Update to 2.0.3

This commit is contained in:
starlet-dx 2022-10-20 15:08:01 +08:00
parent 5ae5a119be
commit 3620f64fca
6 changed files with 40 additions and 17 deletions

Binary file not shown.

View File

@ -0,0 +1,23 @@
diff --git a/pom.xml b/pom.xml
index 5aa2975..9dff2c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,6 @@
<goal>compile</goal>
</goals>
<configuration>
- <release>8</release>
<buildDirectory>${project.build.directory}</buildDirectory>
<compileSourceRoots>${project.compileSourceRoots}</compileSourceRoots>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
@@ -167,7 +166,6 @@
<goal>compile</goal>
</goals>
<configuration>
- <release>9</release>
<buildDirectory>${project.build.directory}</buildDirectory>
<compileSourceRoots>${project.basedir}/src/main/java9</compileSourceRoots>
<outputDirectory>${project.build.directory}/classes/META-INF/versions/9</outputDirectory>
--
2.27.0

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,17 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-modules
Version: 2.0.2
Version: 2.0.3
Release: 1
Summary: A Modular Classloading System
License: ASL 2.0 and xpp
URL: https://github.com/jbossas/jboss-modules
Source0: https://github.com/jbossas/jboss-modules/archive/%{namedversion}/jboss-modules-%{namedversion}.tar.gz
Source1: bridger-1.4.Final.jar
Source2: jdk-misc-2.Final.jar
Patch0: fix-build-error-with-java8.patch
BuildArch: noarch
BuildRequires: maven maven-local mvn(junit:junit) mvn(org.jboss:jboss-parent:pom:)
BuildRequires: graphviz mvn(jdepend:jdepend) mvn(org.jboss.apiviz:apiviz)
BuildRequires: mvn(org.jboss.shrinkwrap:shrinkwrap-impl-base) maven-dependency-plugin
BuildRequires: maven-local mvn(junit:junit) mvn(org.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.jboss.shrinkwrap:shrinkwrap-impl-base)
BuildRequires: graphviz mvn(jdepend:jdepend) mvn(org.jboss.apiviz:apiviz)
%description
Ths package contains A Modular Classloading System.
@ -24,24 +22,23 @@ This package contains the API documentation for %{name}.
%prep
%autosetup -p1 -n %{name}-%{namedversion}
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-compiler-plugin
mvn install:install-file -Dgroupid=org.jboss.bridger -Dartifactid=bridger -Dversion=1.4.Final -Dpackaging=maven-plugin -Dfile=%{SOURCE1}
mvn install:install-file -Dgroupid=org.jboss -Dartifactid=jdk-misc -Dversion=2.Final -Dpackaging=jar -Dfile=%{SOURCE2}
%pom_remove_plugin :maven-dependency-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :bridger
%pom_remove_plugin :module-info
rm -r src/main/java9
rm src/test/java/org/jboss/modules/MavenResource2Test.java
rm src/test/java/org/jboss/modules/MavenResourceTest.java \
src/test/java/org/jboss/modules/maven/MavenSettingsTest.java
%build
%mvn_build -s -f
%mvn_build
%install
%mvn_install -X
%mvn_install
%files -f .mfiles-%{name}
%files -f .mfiles
%doc README.md
%license LICENSE.txt XPP3-LICENSE.txt
@ -49,6 +46,9 @@ rm src/test/java/org/jboss/modules/MavenResourceTest.java \
%license LICENSE.txt XPP3-LICENSE.txt
%changelog
* Thu Oct 20 2022 yaoxin <yaoxin30@h-partners.com> - 2.0.3-1
- Update to 2.0.3
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.0.2-1
- Upgrade to version 2.0.2

Binary file not shown.