- Update to v1.114 * Spring-boot 3.4.5 * Added method U.fileXmlToJson(xmlFileName, jsonFileName, identStep) * Added method U.streamXmlToJson(xmlInputStream, jsonOutputStream, identStep) * Improved sources * Added method U.fileJsonToXml(jsonFileName, xmlFileName, identStep) * Added method U.streamJsonToXml(jsonInputStream, xmlOutputStream, identStep) * Add securityscorecards badge - Update to v1.113 * Bump org.jacoco:jacoco-maven-plugin from 0.8.12 to 0.8.13 * Resolved Idea warnings * Fixed SonarQube warnings - Update to v1.112 * Updated libraries * Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.8.0 to 3.9.0 * Improved defer test * JDK 24 Added to CI Configuration * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.1.0 to 4.9.2.0 * Added methods U.mergeXmlsOrJsonsToJson(xmlsOrJsons) and U.mergeXmlsOrJsonsToXml(xmlsOrJsons) * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.2.0 to 4.9.3.0 * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.2 to 3.5.3 * Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.5.2 to 3.5.3 - Update to v1.111 * Created scorecard.yml * Updated LICENSE * Improved source format * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.6 to 4.9.1.0 * Spring boot 3.4.3 * Updated copyright headers to 2025 * Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 * Added examples to the README for U.xmlToJsonMinimum(xml, step) and U.jsonToXmlMinimum(json, step) * Enhanced the XmlBuilder example * Update Codebeat badge - Update to v1.110 * Fixed Sonar warnings - Update to v1.109 * Improved attribute parser to handle values with equal signs * Fixed sonar warnings * Spring boot 3.4.1 * Fixed Sonar warning - Update to v1.108 * Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.5.1 to 3.5.2 * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 * Updated junit * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.5 to 4.8.6.6 * Updated maven.yml * Spring boot 3.4.0 - Update to v1.107 * Bump org.apache.maven.plugins:maven-checkstyle-plugin from 2.17 to 3.0.0 * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 * Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.5.0 to 3.5.1 * Removed PMD report plugin from the build configuration * Added method U.jsonToXmlMinimum(json, step) * Updated azure-pipelines.yml * Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 * Spring boot 3.3.5 * Changed semaphore badge * Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.7.0 to 3.8.0 * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.4 to 4.8.6.5 * Bump org.apache.maven.plugins:maven-site-plugin from 3.20.0 to 3.21.0 * Bump org.apache.maven.plugins:maven-jxr-plugin from 3.5.0 to 3.6.0 * Fixed SonarCloud warnings - Update to v1.106 * Bump org.apache.maven.plugins:maven-pmd-plugin from 3.24.0 to 3.25.0 * Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.4.0 to 3.5.0 * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.2 to 4.8.6.3 * Spring boot 3.3.3 * Updated dependencies * Added Java 23 support for CI pipeline * Spring boot 3.3.4 * Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.3 to 4.8.6.4 - Update to v1.105 * Renamed the method for compacting the list * Added method U.xmlToJsonMinimum(xml) * Fixed Idea warnings * Fixed SonarCloud warnings * Bump org.apache.maven.plugins:maven-surefire-report-plugin from 3.3.1 to 3.4.0 * Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 * Bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.20.0 * Bump org.apache.maven.plugins:maven-jxr-plugin from 3.4.0 to 3.5.0 * Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.2 to 3.7.0 * Added the logo image for the library OBS-URL: https://build.opensuse.org/request/show/1288407 OBS-URL: https://build.opensuse.org/package/show/Java:packages/underscore-java?expand=0&rev=4
73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package underscore-java
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: underscore-java
|
|
Version: 1.114
|
|
Release: 0
|
|
Summary: Java port of Underscore.js
|
|
License: MIT
|
|
Group: Development/Libraries/Java
|
|
URL: https://javadev.github.io/%{name}/
|
|
Source0: https://github.com/javadev/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: maven-local
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Underscore-java is a port of Underscore.js for Java. It is a utility-belt
|
|
library that provides a lot of the functional programming support that you
|
|
would expect in Prototype.js (or Ruby).
|
|
|
|
Underscore-java provides dozens of functions that support both the usual
|
|
functional suspects: map, select, invoke — as well as more specialized helpers:
|
|
function binding, sorting, deep equality testing, and so on. It delegates to
|
|
built-in functions where applicable.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
Group: Documentation/HTML
|
|
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%pom_remove_plugin com.github.searls:jasmine-maven-plugin
|
|
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
|
|
%pom_remove_plugin :maven-checkstyle-plugin
|
|
%pom_remove_plugin :maven-surefire-plugin
|
|
|
|
%{mvn_file} : underscore
|
|
|
|
%build
|
|
%{mvn_build} -f
|
|
|
|
%install
|
|
%mvn_install
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE
|
|
%doc {README,SECURITY}.md
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|