Update to 3.14.x to get Java up to 13 support
This commit is contained in:
parent
88064c0258
commit
be6f244e46
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/javaparser-parent-2.5.1.tar.gz
|
/javaparser-parent-2.5.1.tar.gz
|
||||||
/javaparser-parent-3.3.5.tar.gz
|
/javaparser-parent-3.3.5.tar.gz
|
||||||
/javaparser-parent-3.5.20.tar.gz
|
/javaparser-parent-3.5.20.tar.gz
|
||||||
|
/javaparser-parent-3.14.16.tar.gz
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Name: javaparser
|
Name: javaparser
|
||||||
Version: 3.5.20
|
Version: 3.14.16
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Java 1 to 10 Parser and Abstract Syntax Tree for Java
|
Summary: Java 1 to 13 Parser and Abstract Syntax Tree for Java
|
||||||
License: LGPLv3+ or ASL 2.0
|
License: LGPLv3+ or ASL 2.0
|
||||||
URL: http://javaparser.org
|
URL: http://javaparser.org
|
||||||
Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz
|
Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz
|
||||||
@ -16,7 +16,7 @@ BuildRequires: mvn(javax.annotation:javax.annotation-api)
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a Java 1 to 10 Parser with AST generation and
|
This package contains a Java 1 to 13 Parser with AST generation and
|
||||||
visitor support. The AST records the source code structure, javadoc
|
visitor support. The AST records the source code structure, javadoc
|
||||||
and comments. It is also possible to change the AST nodes or create new
|
and comments. It is also possible to change the AST nodes or create new
|
||||||
ones to modify the source code.
|
ones to modify the source code.
|
||||||
@ -33,8 +33,6 @@ This package contains API documentation for %{name}.
|
|||||||
sed -i 's/\r//' readme.md
|
sed -i 's/\r//' readme.md
|
||||||
|
|
||||||
# Remove plugins unnecessary for RPM builds
|
# Remove plugins unnecessary for RPM builds
|
||||||
%pom_remove_plugin -r :animal-sniffer-maven-plugin
|
|
||||||
%pom_remove_plugin -r :maven-enforcer-plugin
|
|
||||||
%pom_remove_plugin -r :jacoco-maven-plugin
|
%pom_remove_plugin -r :jacoco-maven-plugin
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin
|
||||||
%pom_remove_plugin :coveralls-maven-plugin
|
%pom_remove_plugin :coveralls-maven-plugin
|
||||||
@ -59,11 +57,9 @@ sed -i \
|
|||||||
</resource>
|
</resource>
|
||||||
</resources>" javaparser-core
|
</resources>" javaparser-core
|
||||||
|
|
||||||
# JDK11 fix, add javax.annotation dependency
|
|
||||||
%pom_add_dep javax.annotation:javax.annotation-api javaparser-core
|
|
||||||
|
|
||||||
# Missing dep on jbehave for testing
|
# Missing dep on jbehave for testing
|
||||||
%pom_disable_module javaparser-core-testing
|
%pom_disable_module javaparser-core-testing
|
||||||
|
%pom_disable_module javaparser-core-testing-bdd
|
||||||
|
|
||||||
# Don't build the symbol solver
|
# Don't build the symbol solver
|
||||||
%pom_disable_module javaparser-symbol-solver-core
|
%pom_disable_module javaparser-symbol-solver-core
|
||||||
@ -72,8 +68,9 @@ sed -i \
|
|||||||
%pom_disable_module javaparser-symbol-solver-testing
|
%pom_disable_module javaparser-symbol-solver-testing
|
||||||
|
|
||||||
# Only need to ship the core module
|
# Only need to ship the core module
|
||||||
%mvn_package ":javaparser-core-generators" __noinstall
|
%pom_disable_module javaparser-core-generators
|
||||||
%mvn_package ":javaparser-metamodel-generator" __noinstall
|
%pom_disable_module javaparser-core-metamodel-generator
|
||||||
|
%pom_disable_module javaparser-core-serialization
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build
|
||||||
@ -89,6 +86,9 @@ sed -i \
|
|||||||
%license LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL
|
%license LICENSE LICENSE.APACHE LICENSE.GPL LICENSE.LGPL
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 28 2020 Mat Booth <mat.booth@redhat.com> - 3.14.16-1
|
||||||
|
- Update to 3.14.x to get Java up to 13 support
|
||||||
|
|
||||||
* Tue Jul 28 2020 Mat Booth <mat.booth@redhat.com> - 3.5.20-1
|
* Tue Jul 28 2020 Mat Booth <mat.booth@redhat.com> - 3.5.20-1
|
||||||
- Update to 3.5.x to get Java 10 support
|
- Update to 3.5.x to get Java 10 support
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (javaparser-parent-3.5.20.tar.gz) = d131e6c6e9843b731e68f7674fb54cd8c9601d02e412fd2dc57c9aa2c325f5d10f1c3874f6d782a812b28790771c7714053288d632406d851ca7e7c48148105f
|
SHA512 (javaparser-parent-3.14.16.tar.gz) = 56a36f3bc5f7ea66c67b673fa13814dd498226e51261f702c53ad31aa0f107f8b5dd0d676729ed48616f8af63bd63ce5ff208e8f8d8b38ab239cef8aaad4cc99
|
||||||
|
Loading…
Reference in New Issue
Block a user