Update to 2.0.3
This commit is contained in:
parent
ad008c06dd
commit
aac731eb1e
23
fix-build-error-with-java8.patch
Normal file
23
fix-build-error-with-java8.patch
Normal 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.
BIN
jboss-modules-2.0.3.Final.tar.gz
Normal file
BIN
jboss-modules-2.0.3.Final.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,13 @@
|
||||
%global namedreltag .Final
|
||||
%global namedversion %{version}%{?namedreltag}
|
||||
Name: jboss-modules
|
||||
Version: 1.5.2
|
||||
Release: 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
|
||||
Patch0: fix-build-error-with-java8.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.jboss:jboss-parent:pom:)
|
||||
BuildRequires: mvn(org.jboss.shrinkwrap:shrinkwrap-impl-base)
|
||||
@ -21,9 +22,14 @@ This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{namedversion}
|
||||
%patch0 -p1
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%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
|
||||
|
||||
@ -41,6 +47,9 @@ rm src/test/java/org/jboss/modules/MavenResourceTest.java \
|
||||
%license LICENSE.txt XPP3-LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Tue Jun 07 2022 wangkai <wangkai385@h-partners.com> - 2.0.3-1
|
||||
- Update to 2.0.3
|
||||
|
||||
* Fri Sep 5 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.5.2-2
|
||||
- modify Macro
|
||||
* Wed Aug 26 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.5.2-1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user