Accepting request 1084298 from Java:packages

3.3.4

OBS-URL: https://build.opensuse.org/request/show/1084298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-shared-utils?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-05-04 15:10:06 +00:00 committed by Git OBS Bridge
commit 26f3a3dc61
6 changed files with 78 additions and 60 deletions

View File

@ -14,69 +14,69 @@ index 0103a6b..23b6d14 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/AnsiMessageBuilder.java --- a/src/main/java/org/apache/maven/shared/utils/logging/AnsiMessageBuilder.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/AnsiMessageBuilder.java +++ b/src/main/java/org/apache/maven/shared/utils/logging/AnsiMessageBuilder.java
@@ -153,4 +153,22 @@ class AnsiMessageBuilder @@ -153,4 +153,22 @@ class AnsiMessageBuilder
{ {
return ansi.toString(); return ansi.toString();
} }
+ +
+ @Override + @Override
+ public MessageBuilder debug(Object message) { + public MessageBuilder debug(Object message) {
+ a(message); + a(message);
+ return this; + return this;
+ } + }
+ +
+ @Override + @Override
+ public MessageBuilder info(Object message) { + public MessageBuilder info(Object message) {
+ a(message); + a(message);
+ return this; + return this;
+ } + }
+ +
+ @Override + @Override
+ public MessageBuilder error(Object message) { + public MessageBuilder error(Object message) {
+ a(message); + a(message);
+ return this; + return this;
+ } + }
} }
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java b/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java diff --git a/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java b/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java
index b60bb4e..1dc2624 100644 index b60bb4e..1dc2624 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java --- a/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java +++ b/src/main/java/org/apache/maven/shared/utils/logging/MessageBuilder.java
@@ -26,6 +26,9 @@ package org.apache.maven.shared.utils.logging; @@ -26,6 +26,9 @@ package org.apache.maven.shared.utils.logging;
*/ */
public interface MessageBuilder public interface MessageBuilder
{ {
+ MessageBuilder debug( Object message ); + MessageBuilder debug( Object message );
+ MessageBuilder info( Object message ); + MessageBuilder info( Object message );
+ MessageBuilder error( Object message ); + MessageBuilder error( Object message );
/** /**
* Append message content in success style. * Append message content in success style.
* By default, bold green * By default, bold green
diff --git a/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java b/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java diff --git a/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java b/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java
index 2eec001..5236e99 100644 index 2eec001..5236e99 100644
--- a/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java --- a/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java
+++ b/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java +++ b/src/main/java/org/apache/maven/shared/utils/logging/PlainMessageBuilder.java
@@ -139,4 +139,22 @@ class PlainMessageBuilder @@ -139,4 +139,22 @@ class PlainMessageBuilder
{ {
return buffer.toString(); return buffer.toString();
} }
+ +
+ @Override + @Override
+ public MessageBuilder debug(Object message) { + public MessageBuilder debug(Object message) {
+ a(message); + a(message);
+ return this; + return this;
+ } + }
+ +
+ @Override + @Override
+ public MessageBuilder info(Object message) { + public MessageBuilder info(Object message) {
+ a(message); + a(message);
+ return this; + return this;
+ } + }
+ +
+ @Override + @Override
+ public MessageBuilder error(Object message) { + public MessageBuilder error(Object message) {
+ a(message); + a(message);
+ return this; + return this;
+ } + }
} }
-- --
2.14.3 2.14.3

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be44a7998e8ee440960994b355b381535a149944092f768e859f986992cd6e0e
size 250352

BIN
maven-shared-utils-3.3.4-source-release.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -10,11 +10,11 @@
<property name="project.groupId" value="org.apache.maven.shared"/> <property name="project.groupId" value="org.apache.maven.shared"/>
<property name="project.artifactId" value="maven-shared-utils"/> <property name="project.artifactId" value="maven-shared-utils"/>
<property name="project.version" value="3.3.3"/> <property name="project.version" value="3.3.4"/>
<property name="project.name" value="Apache Maven Shared Utils"/> <property name="project.name" value="Apache Maven Shared Utils"/>
<property name="project.organization.name" value="The Apache Software Foundation"/> <property name="project.organization.name" value="The Apache Software Foundation"/>
<property name="spec.version" value="3.2"/> <property name="spec.version" value="3.3"/>
<property name="compiler.source" value="1.8"/> <property name="compiler.source" value="1.8"/>
<property name="compiler.target" value="${compiler.source}"/> <property name="compiler.target" value="${compiler.source}"/>

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed May 3 11:24:22 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.3.4
* Bug
+ [MSHARED-951] - Checked exception converted to raw runtime
exception
+ [MSHARED-952] - PrettyPrintXmlWriter output is platform
dependent
+ [MSHARED-954] - Deprecate StringUtils.unifyLineSeparator
+ [MSHARED-969] - Environment variable with null value
* Dependency upgrade
+ [MSHARED-962] - Upgrade Jansi to 2.0.1
+ [MSHARED-973] - Upgrade Jansi to 2.2.0
- Changed patch:
* 0001-Restore-compatibility-with-current-maven.patch
+ rediff to changed context/line-ends
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 25 15:44:47 UTC 2022 - Fridrich Strba <fstrba@suse.com> Mon Apr 25 15:44:47 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package maven-shared-utils # spec file for package maven-shared-utils
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%bcond_with tests %bcond_with tests
Name: maven-shared-utils Name: maven-shared-utils
Version: 3.3.3 Version: 3.3.4
Release: 0 Release: 0
Summary: Maven shared utility classes Summary: Maven shared utility classes
License: Apache-2.0 License: Apache-2.0