!17 [sync] PR-14: Update to 1.2.2
From: @openeuler-sync-bot Reviewed-by: @DingliZhang Signed-off-by: @DingliZhang
This commit is contained in:
commit
2272b4da08
BIN
mxparser-1.2.2.tar.gz
Normal file
BIN
mxparser-1.2.2.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,16 @@
|
|||||||
Name: mxparser
|
Name: mxparser
|
||||||
Version: 1.2.1
|
Version: 1.2.2
|
||||||
Release: 3
|
Release: 1
|
||||||
License: Lab Software License
|
License: xpp
|
||||||
Summary: MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork.
|
Summary: MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork.
|
||||||
URL: http://x-stream.github.io/mxparser
|
URL: https://github.com/x-stream/%{name}
|
||||||
Source0: https://github.com/x-stream/mxparser/archive/refs/tags/v-1.2.1.tar.gz
|
Source0: %{url}/archive/v-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: settings.xml
|
BuildRequires: maven-local
|
||||||
BuildRequires: javapackages-local java-javadoc xmlpull maven-local maven
|
BuildRequires: mvn(junit:junit)
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||||
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||||
|
BuildRequires: mvn(xmlpull:xmlpull)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -18,25 +22,36 @@ Summary: Help documents for mxparser
|
|||||||
Help documents for mxparser.
|
Help documents for mxparser.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-v-%{version}
|
%autosetup -n %{name}-v-%{version} -p1
|
||||||
%pom_remove_plugin :maven-bundle-plugin
|
%pom_remove_plugin :maven-changes-plugin .
|
||||||
%pom_remove_plugin :maven-jar-plugin
|
%pom_remove_plugin :maven-javadoc-plugin .
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin .
|
||||||
cp -a %{_sourcedir}/settings.xml .
|
|
||||||
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.source' 1.8
|
||||||
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.target' 1.8
|
||||||
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.source' 1.8
|
||||||
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.target' 1.8
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mvn install --settings ./settings.xml -Dmaven.test.skip=true
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||||
%mvn_build -f -s -b -- -Dversion.java.source=8
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles-mxparser
|
%files -f .mfiles
|
||||||
%doc changes.xml LICENSE.txt README.md
|
%license LICENSE.txt
|
||||||
|
%doc changes.xml README.md
|
||||||
|
|
||||||
%files help -f .mfiles-javadoc
|
%files help -f .mfiles-javadoc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 21 2024 yaoxin <yao_xin001@hoperun.com> - 1.2.2-1
|
||||||
|
- Update to 1.2.2:
|
||||||
|
* XML declaration must produce a START_DOCUMENT event.
|
||||||
|
* Fix processing of PIs.
|
||||||
|
* Unit test with subsequent dashes in a PI.
|
||||||
|
* Replace project license Indiana 1.1.1 with explicit license 1.2 of MXParser.
|
||||||
|
|
||||||
* Mon Sep 26 2022 caodongxia <caodongxia@h-partners.com> - 1.2.1-3
|
* Mon Sep 26 2022 caodongxia <caodongxia@h-partners.com> - 1.2.1-3
|
||||||
- Change mirros.huaweicloud.com to repo.huaweicloud.com
|
- Change mirros.huaweicloud.com to repo.huaweicloud.com
|
||||||
|
|
||||||
|
|||||||
4
mxparser.yaml
Normal file
4
mxparser.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: x-stream/mxparser
|
||||||
|
tag_pattern: "^v-"
|
||||||
|
seperator: "."
|
||||||
13
settings.xml
13
settings.xml
@ -1,13 +0,0 @@
|
|||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
|
||||||
http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
|
||||||
<mirrors>
|
|
||||||
<mirror>
|
|
||||||
<id>huaweicloud</id>
|
|
||||||
<mirrorOf>central</mirrorOf>
|
|
||||||
<name>central repo</name>
|
|
||||||
<url>https://repo.huaweicloud.com/repository/maven/</url>
|
|
||||||
</mirror>
|
|
||||||
</mirrors>
|
|
||||||
</settings>
|
|
||||||
BIN
v-1.2.1.tar.gz
BIN
v-1.2.1.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user