You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2016/06/11 11:26:10 UTC

maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Repository: maven
Updated Branches:
  refs/heads/master 427f18c3a -> 644ac9c40


[MNG-6038] use Gossip slf4j provider (with level color support)

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4

Branch: refs/heads/master
Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
Parents: 427f18c
Author: Herv� Boutemy <hb...@apache.org>
Authored: Sat Jun 11 13:26:05 2016 +0200
Committer: Herv� Boutemy <hb...@apache.org>
Committed: Sat Jun 11 13:26:05 2016 +0200

----------------------------------------------------------------------
 apache-maven/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.xml
----------------------------------------------------------------------
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index 9405df8..37751cc 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -92,8 +92,8 @@ under the License.
       <artifactId>aether-transport-wagon</artifactId>
     </dependency>
     <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-simple</artifactId>
+      <groupId>com.planet57.gossip</groupId>
+      <artifactId>gossip-slf4j</artifactId>
     </dependency>
   </dependencies>
 


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-06-12 um 10:38 schrieb Christian Schulte:
> Am 06/12/16 um 00:03 schrieb Michael Osipov:
>> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
>>> if someone has an objection, just tell and we can easily revert
>>
>> Hervé,
>>
>> thank you for the hard work.
>>
>> I not sure wether this is related to recent changes to master or Maven
>> Core ITs master but I cannot pass ITs with 3.3.9
>>
>> Maven: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>> 2015-11-10T17:41:47+01:00)
>> Core ITs: d889c215aa88a9e230d0b06b455baa8fde3fb803
>> OS: Windows 10, Ubuntu 14.04 LTS
>>
>> mng2199ParentVersionRange(ValidParentVersionRangeWithExclusiveUpperBound)FAILURE
>> (2.5 s)
>> mng2199ParentVersionRange(ValidParentVersionRangeWithInclusiveUpperBound)FAILURE
>> (2.3 s)
>
> Those ITs were broken and did not fail although they should have. It's
> correct those ITs are failing with 3.3.9. Take a look at the last
> MNG-2199 comments. The ITs weren't failing. Parent version ranges are
> broken in 3.3.9 and the ITs are failing intentionally now.

Thanks, I did not know that these ITs weren't failing. This is clear 
now. Though, I do not understand when the regression has been 
reintroduced because it was fixed in 3.2.2 already.

Michael



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Christian Schulte <cs...@schulte.it>.
Am 06/12/16 um 00:03 schrieb Michael Osipov:
> Am 2016-06-11 um 13:27 schrieb Herv BOUTEMY:
>> if someone has an objection, just tell and we can easily revert
> 
> Herv,
> 
> thank you for the hard work.
> 
> I not sure wether this is related to recent changes to master or Maven 
> Core ITs master but I cannot pass ITs with 3.3.9
> 
> Maven: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
> 2015-11-10T17:41:47+01:00)
> Core ITs: d889c215aa88a9e230d0b06b455baa8fde3fb803
> OS: Windows 10, Ubuntu 14.04 LTS
> 
> mng2199ParentVersionRange(ValidParentVersionRangeWithExclusiveUpperBound)FAILURE 
> (2.5 s)
> mng2199ParentVersionRange(ValidParentVersionRangeWithInclusiveUpperBound)FAILURE 
> (2.3 s)

Those ITs were broken and did not fail although they should have. It's
correct those ITs are failing with 3.3.9. Take a look at the last
MNG-2199 comments. The ITs weren't failing. Parent version ranges are
broken in 3.3.9 and the ITs are failing intentionally now.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
> if someone has an objection, just tell and we can easily revert

Hervé,

thank you for the hard work.

I not sure wether this is related to recent changes to master or Maven 
Core ITs master but I cannot pass ITs with 3.3.9

Maven: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T17:41:47+01:00)
Core ITs: d889c215aa88a9e230d0b06b455baa8fde3fb803
OS: Windows 10, Ubuntu 14.04 LTS

mng2199ParentVersionRange(ValidParentVersionRangeWithExclusiveUpperBound)FAILURE 
(2.5 s)
mng2199ParentVersionRange(ValidParentVersionRangeWithInclusiveUpperBound)FAILURE 
(2.3 s)

whereas 3.4.0-SNAPSHOT from master works as expected on both OS with 
MNG-2199 [1].

Michael

[1] 
https://issues.apache.org/jira/browse/MNG-2199?focusedCommentId=15090692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15090692

> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>> Repository: maven
>> Updated Branches:
>>   refs/heads/master 427f18c3a -> 644ac9c40
>>
>>
>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>
>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>
>> Branch: refs/heads/master
>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>> Parents: 427f18c
>> Author: Hervé Boutemy <hb...@apache.org>
>> Authored: Sat Jun 11 13:26:05 2016 +0200
>> Committer: Hervé Boutemy <hb...@apache.org>
>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>
>> ----------------------------------------------------------------------
>>  apache-maven/pom.xml | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.
>> xml ----------------------------------------------------------------------
>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>> index 9405df8..37751cc 100644
>> --- a/apache-maven/pom.xml
>> +++ b/apache-maven/pom.xml
>> @@ -92,8 +92,8 @@ under the License.
>>        <artifactId>aether-transport-wagon</artifactId>
>>      </dependency>
>>      <dependency>
>> -      <groupId>org.slf4j</groupId>
>> -      <artifactId>slf4j-simple</artifactId>
>> +      <groupId>com.planet57.gossip</groupId>
>> +      <artifactId>gossip-slf4j</artifactId>
>>      </dependency>
>>    </dependencies>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Something is still fishy about it.

I have constant IT failure with MavenITmng3748BadSettingsXmlTest.
Log is:
=======================
[INFO] Error stacktraces are turned on.
[WARNING]
[WARNING] Some problems were encountered while building the 
effective settings
[WARNING] Unrecognised tag: 'repositories' (position: 
START_TAG seen <settings>\r\n    <repositories>... @2:19)  @ 
D:\Entwicklung\Projekte\maven-integration-testing\core-it-suite\target\test-classes\mng-3748\settings.xml, 
line 2, column 19
[WARNING]
[INFO] Scanning for projects...
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building Integration Test Project for MNG-3748 1
[INFO] 
------------------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 0.063 s
[INFO] Finished at: 2016-06-12T22:04:22+02:00
[INFO] Final Memory: 7M/241M
[INFO] 
------------------------------------------------------------------------
=======================

Validation fails because of this Java snippet:
line.matches( "(?i)\\[WARNING\\].*unrecognised tag.+repositories.+2.*" ) )

If I dig deeper, tens of log files have:
 > [INFO] Error stacktraces are turned on.

but the rest is not colorized, e.g., log file of IT 0010 or MNG-2140.
Somewhat inconsistent to me.

Reason: MavenCli disables JAnsi in batch mode (populateRequest()) but 
this message is issued in commands() which comes earlier. It also 
applies to all deprecated options.

This should probably go up to #logging().

Another issue: writing to a log file with -l without adding batch mode 
adds all escapes to the file which makes it unreadable in an editor. 
Redirecting, however, works because JAnsi detects that.


Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
> if someone has an objection, just tell and we can easily revert
>
> Regards,
>
> Hervé
>
> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>> Repository: maven
>> Updated Branches:
>>   refs/heads/master 427f18c3a -> 644ac9c40
>>
>>
>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>
>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>
>> Branch: refs/heads/master
>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>> Parents: 427f18c
>> Author: Hervé Boutemy <hb...@apache.org>
>> Authored: Sat Jun 11 13:26:05 2016 +0200
>> Committer: Hervé Boutemy <hb...@apache.org>
>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>
>> ----------------------------------------------------------------------
>>  apache-maven/pom.xml | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.
>> xml ----------------------------------------------------------------------
>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>> index 9405df8..37751cc 100644
>> --- a/apache-maven/pom.xml
>> +++ b/apache-maven/pom.xml
>> @@ -92,8 +92,8 @@ under the License.
>>        <artifactId>aether-transport-wagon</artifactId>
>>      </dependency>
>>      <dependency>
>> -      <groupId>org.slf4j</groupId>
>> -      <artifactId>slf4j-simple</artifactId>
>> +      <groupId>com.planet57.gossip</groupId>
>> +      <artifactId>gossip-slf4j</artifactId>
>>      </dependency>
>>    </dependencies>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-06-12 um 23:36 schrieb Robert Scholte:
> If #2 is fixed, then #1 is not really an issue. But yes, is should be
> documented.
>
> I assume that it should be easy to wrap the AnsiConsole statements with
> a try/catch for java.lang.UnsatisfiedLinkError but what will the output
> do? mangled with unreadable characters?

I do not expect us to do this at all but JAnsi must simply go on without 
colors. Maybe a warning on stderr.

This is clearly a JAnsi issue.

M

> On Sun, 12 Jun 2016 22:51:36 +0200, Michael Osipov <mi...@apache.org>
> wrote:
>
>> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
>>> if someone has an objection, just tell and we can easily revert
>>
>> I am afraid that I have to downvote this for two reasons:
>>
>> 1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable
>> Package [1]. According to Microsoft, this applies to Windows 2000
>> Service Pack 4, Windows 7, Windows Server 2003, Windows Server 2008,
>> Windows Server 2008 R2, Windows Vista, Windows XP [2].
>>
>> No one on our side has properly documented this.
>>
>> 2. Maven completely quits if JAnsi does not support a platform:
>> =========================
>> [mosipov@bsd10 ~]$ uname -a
>> FreeBSD bsd10 10.3-RELEASE-p2 FreeBSD 10.3-RELEASE-p2 #0: Wed May  4
>> 06:03:51 UTC 2016
>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>> [mosipov@bsd10 ~]$ apache-maven-3.4.0-SNAPSHOT/bin/mvn -v
>> ---------------------------------------------------
>> constituent[0]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/conf/logging/
>> constituent[1]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/cdi-api-1.0.jar
>> constituent[2]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-embedder-3.4.0-SNAPSHOT.jar
>>
>> constituent[3]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-3.4.0-SNAPSHOT.jar
>>
>> constituent[4]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-utils-3.0.24.jar
>>
>> constituent[5]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-core-3.4.0-SNAPSHOT.jar
>>
>> constituent[6]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-3.4.0-SNAPSHOT.jar
>>
>> constituent[7]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang3-3.4.jar
>> constituent[8]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-builder-3.4.0-SNAPSHOT.jar
>>
>> constituent[9]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-builder-support-3.4.0-SNAPSHOT.jar
>>
>> constituent[10]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-interpolation-1.22.jar
>>
>> constituent[11]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-component-annotations-1.6.jar
>>
>> constituent[12]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-sec-dispatcher-1.4.jar
>>
>> constituent[13]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-cipher-1.7.jar
>> constituent[14]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-repository-metadata-3.4.0-SNAPSHOT.jar
>>
>> constituent[15]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-artifact-3.4.0-SNAPSHOT.jar
>>
>> constituent[16]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-plugin-api-3.4.0-SNAPSHOT.jar
>>
>> constituent[17]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.plexus-0.3.3.jar
>>
>> constituent[18]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsr250-api-1.0.jar
>> constituent[19]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/javax.inject-1.jar
>> constituent[20]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.inject-0.3.3.jar
>>
>> constituent[21]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-builder-3.4.0-SNAPSHOT.jar
>>
>> constituent[22]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guava-19.0.jar
>> constituent[23]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jansi-1.12.jar
>> constituent[24]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-aether-provider-3.4.0-SNAPSHOT.jar
>>
>> constituent[25]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-api-1.0.2.v20150114.jar
>>
>> constituent[26]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-spi-1.0.2.v20150114.jar
>>
>> constituent[27]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-util-1.0.2.v20150114.jar
>>
>> constituent[28]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-impl-1.0.2.v20150114.jar
>>
>> constituent[29]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guice-4.0-no_aop.jar
>> constituent[30]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aopalliance-1.0.jar
>> constituent[31]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-compat-3.4.0-SNAPSHOT.jar
>>
>> constituent[32]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-provider-api-2.10.jar
>>
>> constituent[33]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/slf4j-api-1.7.16.jar
>> constituent[34]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-cli-1.3.1.jar
>> constituent[35]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-2.10-shaded.jar
>>
>> constituent[36]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-shared-2.10.jar
>>
>> constituent[37]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsoup-1.7.2.jar
>> constituent[38]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang-2.6.jar
>> constituent[39]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-io-2.2.jar
>> constituent[40]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-file-2.10.jar
>> constituent[41]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-connector-basic-1.0.2.v20150114.jar
>>
>> constituent[42]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-transport-wagon-1.0.2.v20150114.jar
>>
>> constituent[43]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-slf4j-2.0.0.jar
>> constituent[44]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-core-2.0.0.jar
>> constituent[45]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-bootstrap-2.0.0.jar
>>
>> ---------------------------------------------------
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not
>> load library. Reasons: [no jansi64-1.12 in java.library.path, no
>> jansi-1.12 in java.library.path, no jansi in java.library.path]
>>          at
>> org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
>>          at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
>>          at
>> org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
>>          at
>> org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
>>          at
>> org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
>>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:215)
>>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>          at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>
>>          at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>>          at java.lang.reflect.Method.invoke(Method.java:498)
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>>
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> =========================
>>
>> There is not even a fallback mode.
>>
>> [1] https://github.com/fusesource/jansi#windows-xp-users
>> [2]
>> https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5582
>>
>>
>>> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>>>> Repository: maven
>>>> Updated Branches:
>>>>   refs/heads/master 427f18c3a -> 644ac9c40
>>>>
>>>>
>>>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>>>
>>>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>>>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>>>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>>>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>>>
>>>> Branch: refs/heads/master
>>>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>>>> Parents: 427f18c
>>>> Author: Hervé Boutemy <hb...@apache.org>
>>>> Authored: Sat Jun 11 13:26:05 2016 +0200
>>>> Committer: Hervé Boutemy <hb...@apache.org>
>>>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>>>
>>>> ----------------------------------------------------------------------
>>>>  apache-maven/pom.xml | 4 ++--
>>>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>>> ----------------------------------------------------------------------
>>>>
>>>>
>>>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.
>>>>
>>>> xml
>>>> ----------------------------------------------------------------------
>>>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>>>> index 9405df8..37751cc 100644
>>>> --- a/apache-maven/pom.xml
>>>> +++ b/apache-maven/pom.xml
>>>> @@ -92,8 +92,8 @@ under the License.
>>>>        <artifactId>aether-transport-wagon</artifactId>
>>>>      </dependency>
>>>>      <dependency>
>>>> -      <groupId>org.slf4j</groupId>
>>>> -      <artifactId>slf4j-simple</artifactId>
>>>> +      <groupId>com.planet57.gossip</groupId>
>>>> +      <artifactId>gossip-slf4j</artifactId>
>>>>      </dependency>
>>>>    </dependencies>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Robert Scholte <rf...@apache.org>.
If #2 is fixed, then #1 is not really an issue. But yes, is should be  
documented.

I assume that it should be easy to wrap the AnsiConsole statements with a  
try/catch for java.lang.UnsatisfiedLinkError but what will the output do?  
mangled with unreadable characters?

Robert

On Sun, 12 Jun 2016 22:51:36 +0200, Michael Osipov <mi...@apache.org>  
wrote:

> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
>> if someone has an objection, just tell and we can easily revert
>
> I am afraid that I have to downvote this for two reasons:
>
> 1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable Package  
> [1]. According to Microsoft, this applies to Windows 2000 Service Pack  
> 4, Windows 7, Windows Server 2003, Windows Server 2008, Windows Server  
> 2008 R2, Windows Vista, Windows XP [2].
>
> No one on our side has properly documented this.
>
> 2. Maven completely quits if JAnsi does not support a platform:
> =========================
> [mosipov@bsd10 ~]$ uname -a
> FreeBSD bsd10 10.3-RELEASE-p2 FreeBSD 10.3-RELEASE-p2 #0: Wed May  4  
> 06:03:51 UTC 2016  
> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> [mosipov@bsd10 ~]$ apache-maven-3.4.0-SNAPSHOT/bin/mvn -v
> ---------------------------------------------------
> constituent[0]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/conf/logging/
> constituent[1]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/cdi-api-1.0.jar
> constituent[2]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-embedder-3.4.0-SNAPSHOT.jar
> constituent[3]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-3.4.0-SNAPSHOT.jar
> constituent[4]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-utils-3.0.24.jar
> constituent[5]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-core-3.4.0-SNAPSHOT.jar
> constituent[6]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-3.4.0-SNAPSHOT.jar
> constituent[7]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang3-3.4.jar
> constituent[8]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-builder-3.4.0-SNAPSHOT.jar
> constituent[9]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-builder-support-3.4.0-SNAPSHOT.jar
> constituent[10]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-interpolation-1.22.jar
> constituent[11]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-component-annotations-1.6.jar
> constituent[12]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-sec-dispatcher-1.4.jar
> constituent[13]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-cipher-1.7.jar
> constituent[14]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-repository-metadata-3.4.0-SNAPSHOT.jar
> constituent[15]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-artifact-3.4.0-SNAPSHOT.jar
> constituent[16]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-plugin-api-3.4.0-SNAPSHOT.jar
> constituent[17]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.plexus-0.3.3.jar
> constituent[18]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsr250-api-1.0.jar
> constituent[19]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/javax.inject-1.jar
> constituent[20]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.inject-0.3.3.jar
> constituent[21]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-builder-3.4.0-SNAPSHOT.jar
> constituent[22]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guava-19.0.jar
> constituent[23]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jansi-1.12.jar
> constituent[24]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-aether-provider-3.4.0-SNAPSHOT.jar
> constituent[25]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-api-1.0.2.v20150114.jar
> constituent[26]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-spi-1.0.2.v20150114.jar
> constituent[27]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-util-1.0.2.v20150114.jar
> constituent[28]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-impl-1.0.2.v20150114.jar
> constituent[29]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guice-4.0-no_aop.jar
> constituent[30]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aopalliance-1.0.jar
> constituent[31]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-compat-3.4.0-SNAPSHOT.jar
> constituent[32]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-provider-api-2.10.jar
> constituent[33]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/slf4j-api-1.7.16.jar
> constituent[34]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-cli-1.3.1.jar
> constituent[35]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-2.10-shaded.jar
> constituent[36]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-shared-2.10.jar
> constituent[37]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsoup-1.7.2.jar
> constituent[38]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang-2.6.jar
> constituent[39]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-io-2.2.jar
> constituent[40]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-file-2.10.jar
> constituent[41]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-connector-basic-1.0.2.v20150114.jar
> constituent[42]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-transport-wagon-1.0.2.v20150114.jar
> constituent[43]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-slf4j-2.0.0.jar
> constituent[44]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-core-2.0.0.jar
> constituent[45]:  
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-bootstrap-2.0.0.jar
> ---------------------------------------------------
> Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not  
> load library. Reasons: [no jansi64-1.12 in java.library.path, no  
> jansi-1.12 in java.library.path, no jansi in java.library.path]
>          at  
> org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
>          at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
>          at  
> org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
>          at  
> org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
>          at  
> org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:215)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>          at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:498)
>          at  
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>          at  
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>          at  
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>          at  
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> =========================
>
> There is not even a fallback mode.
>
> [1] https://github.com/fusesource/jansi#windows-xp-users
> [2]  
> https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5582
>
>> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>>> Repository: maven
>>> Updated Branches:
>>>   refs/heads/master 427f18c3a -> 644ac9c40
>>>
>>>
>>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>>
>>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>>
>>> Branch: refs/heads/master
>>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>>> Parents: 427f18c
>>> Author: Hervé Boutemy <hb...@apache.org>
>>> Authored: Sat Jun 11 13:26:05 2016 +0200
>>> Committer: Hervé Boutemy <hb...@apache.org>
>>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>>
>>> ----------------------------------------------------------------------
>>>  apache-maven/pom.xml | 4 ++--
>>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>> ----------------------------------------------------------------------
>>>
>>>
>>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.
>>> xml  
>>> ----------------------------------------------------------------------
>>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>>> index 9405df8..37751cc 100644
>>> --- a/apache-maven/pom.xml
>>> +++ b/apache-maven/pom.xml
>>> @@ -92,8 +92,8 @@ under the License.
>>>        <artifactId>aether-transport-wagon</artifactId>
>>>      </dependency>
>>>      <dependency>
>>> -      <groupId>org.slf4j</groupId>
>>> -      <artifactId>slf4j-simple</artifactId>
>>> +      <groupId>com.planet57.gossip</groupId>
>>> +      <artifactId>gossip-slf4j</artifactId>
>>>      </dependency>
>>>    </dependencies>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Hervé BOUTEMY <he...@free.fr>.
Le lundi 13 juin 2016 00:21:34 Michael Osipov a écrit :
> Am 2016-06-12 um 23:55 schrieb Hervé BOUTEMY:
> > Le dimanche 12 juin 2016 22:51:36 Michael Osipov a écrit :
> >> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
> >>> if someone has an objection, just tell and we can easily revert
> >> 
> >> I am afraid that I have to downvote this for two reasons:
> > the issues you're facing do not seem to be tied to Gossip slf4j provider
> > bug MNG-3705 general ANSI color support: issues found, now we have to
> > work to fix them (eventually helping JAnsi, since I thought JAnsi was
> > mature...)> 
> >> 1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable Package
> >> [1]. According to Microsoft, this applies to Windows 2000 Service Pack
> >> 4, Windows 7, Windows Server 2003, Windows Server 2008, Windows Server
> >> 2008 R2, Windows Vista, Windows XP [2].
> >> 
> >> No one on our side has properly documented this.
> > 
> > at this step, where do you expect to document it?
> 
> Exactly here: http://maven.apache.org/download.cgi, System Requirements.
Maven 3.4.0-SNAPSHOT is not yet available

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-06-12 um 23:55 schrieb Hervé BOUTEMY:
> Le dimanche 12 juin 2016 22:51:36 Michael Osipov a écrit :
>> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
>>> if someone has an objection, just tell and we can easily revert
>>
>> I am afraid that I have to downvote this for two reasons:
> the issues you're facing do not seem to be tied to Gossip slf4j provider bug
> MNG-3705 general ANSI color support: issues found, now we have to work to fix
> them (eventually helping JAnsi, since I thought JAnsi was mature...)

That is correct. Not Gossip, but JAnsi.

>> 1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable Package
>> [1]. According to Microsoft, this applies to Windows 2000 Service Pack
>> 4, Windows 7, Windows Server 2003, Windows Server 2008, Windows Server
>> 2008 R2, Windows Vista, Windows XP [2].
>>
>> No one on our side has properly documented this.
> at this step, where do you expect to document it?
> And it's not clear to me that this lib is required for anything else than
> Windows XP (as I read JAnsi website).
> I don't know if we have a Windows specialist to check

The JAnsi docs are wrong. I have quoted from the Microsoft download 
site. Several Windows flavors require this runtime. Windows 8/8.1/10 
already have them included. It works on my Windows 10 machine out of the 
box.

>> 2. Maven completely quits if JAnsi does not support a platform:
> JAnsi contains a try/catch on AnsiConcole.systemInstall(): perhaps it's not
> sufficient
> I don't have BSD platform myself: can you please help find the right try/catch
> to have a fallback in case of missing native lib? This should only happen for
> isatty() call, ie not really something absolutely a showstopper

I have already started on this. There are two issues here:

1. jansi-native does not compile at all. I already have a local patch 
for that.
2. jansi itself fails hard. I will file another issue for that.

Michael

>> =========================
>> [mosipov@bsd10 ~]$ uname -a
>> FreeBSD bsd10 10.3-RELEASE-p2 FreeBSD 10.3-RELEASE-p2 #0: Wed May  4
>> 06:03:51 UTC 2016
>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>> [mosipov@bsd10 ~]$ apache-maven-3.4.0-SNAPSHOT/bin/mvn -v
>> ---------------------------------------------------
>> constituent[0]: file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/conf/logging/
>> constituent[1]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/cdi-api-1.0.jar
>> constituent[2]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-embedder-3.4.0-SNAP
>> SHOT.jar constituent[3]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-3.4.0-SNAP
>> SHOT.jar constituent[4]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-utils-3.0.24.jar
>> constituent[5]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-core-3.4.0-SNAPSHOT
>> .jar constituent[6]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-3.4.0-SNAPSHO
>> T.jar constituent[7]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang3-3.4.jar
>> constituent[8]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-builder-3.
>> 4.0-SNAPSHOT.jar constituent[9]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-builder-support-3.4
>> .0-SNAPSHOT.jar constituent[10]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-interpolation-1.22
>> .jar constituent[11]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-component-annotati
>> ons-1.6.jar constituent[12]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-sec-dispatcher-1.4
>> .jar constituent[13]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-cipher-1.7.jar
>> constituent[14]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-repository-metadata
>> -3.4.0-SNAPSHOT.jar constituent[15]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-artifact-3.4.0-SNAP
>> SHOT.jar constituent[16]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-plugin-api-3.4.0-SN
>> APSHOT.jar constituent[17]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.plexus-0
>> .3.3.jar constituent[18]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsr250-api-1.0.jar
>> constituent[19]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/javax.inject-1.jar
>> constituent[20]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.inject-0
>> .3.3.jar constituent[21]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-builder-3.4.0
>> -SNAPSHOT.jar constituent[22]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guava-19.0.jar
>> constituent[23]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jansi-1.12.jar
>> constituent[24]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-aether-provider-3.4
>> .0-SNAPSHOT.jar constituent[25]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-api-1.0.2.v2015011
>> 4.jar constituent[26]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-spi-1.0.2.v2015011
>> 4.jar constituent[27]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-util-1.0.2.v201501
>> 14.jar constituent[28]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-impl-1.0.2.v201501
>> 14.jar constituent[29]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guice-4.0-no_aop.jar
>> constituent[30]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aopalliance-1.0.jar
>> constituent[31]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-compat-3.4.0-SNAPSH
>> OT.jar constituent[32]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-provider-api-2.10.j
>> ar constituent[33]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/slf4j-api-1.7.16.jar
>> constituent[34]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-cli-1.3.1.jar
>> constituent[35]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-2.10-shaded.ja
>> r constituent[36]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-shared-2.10.ja
>> r constituent[37]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsoup-1.7.2.jar
>> constituent[38]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang-2.6.jar
>> constituent[39]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-io-2.2.jar
>> constituent[40]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-file-2.10.jar
>> constituent[41]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-connector-basic-1.
>> 0.2.v20150114.jar constituent[42]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-transport-wagon-1.
>> 0.2.v20150114.jar constituent[43]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-slf4j-2.0.0.jar
>> constituent[44]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-core-2.0.0.jar
>> constituent[45]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-bootstrap-2.0.0.ja
>> r ---------------------------------------------------
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not
>> load library. Reasons: [no jansi64-1.12 in java.library.path, no
>> jansi-1.12 in java.library.path, no jansi in java.library.path]
>>          at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
>>          at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
>>          at
>> org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
>>          at
>> org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
>>          at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
>>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:215)
>>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>          at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
>> ) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> .java:43) at java.lang.reflect.Method.invoke(Method.java:498)
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
>> va:289) at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
>> java:415) at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> =========================
>>
>> There is not even a fallback mode.
>>
>> [1] https://github.com/fusesource/jansi#windows-xp-users
>> [2]
>> https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5582
>>> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>>>> Repository: maven
>>>>
>>>> Updated Branches:
>>>>   refs/heads/master 427f18c3a -> 644ac9c40
>>>>
>>>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>>>
>>>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>>>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>>>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>>>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>>>
>>>> Branch: refs/heads/master
>>>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>>>> Parents: 427f18c
>>>> Author: Hervé Boutemy <hb...@apache.org>
>>>> Authored: Sat Jun 11 13:26:05 2016 +0200
>>>> Committer: Hervé Boutemy <hb...@apache.org>
>>>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>>  apache-maven/pom.xml | 4 ++--
>>>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>>
>>>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/p
>>>> om. xml
>>>> ----------------------------------------------------------------------
>>>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>>>> index 9405df8..37751cc 100644
>>>> --- a/apache-maven/pom.xml
>>>> +++ b/apache-maven/pom.xml
>>>> @@ -92,8 +92,8 @@ under the License.
>>>>
>>>>        <artifactId>aether-transport-wagon</artifactId>
>>>>
>>>>      </dependency>
>>>>      <dependency>
>>>>
>>>> -      <groupId>org.slf4j</groupId>
>>>> -      <artifactId>slf4j-simple</artifactId>
>>>> +      <groupId>com.planet57.gossip</groupId>
>>>> +      <artifactId>gossip-slf4j</artifactId>
>>>>
>>>>      </dependency>
>>>>
>>>>    </dependencies>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-06-12 um 23:55 schrieb Hervé BOUTEMY:
> Le dimanche 12 juin 2016 22:51:36 Michael Osipov a écrit :
>> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
>>> if someone has an objection, just tell and we can easily revert
>>
>> I am afraid that I have to downvote this for two reasons:
> the issues you're facing do not seem to be tied to Gossip slf4j provider bug
> MNG-3705 general ANSI color support: issues found, now we have to work to fix
> them (eventually helping JAnsi, since I thought JAnsi was mature...)
>
>>
>> 1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable Package
>> [1]. According to Microsoft, this applies to Windows 2000 Service Pack
>> 4, Windows 7, Windows Server 2003, Windows Server 2008, Windows Server
>> 2008 R2, Windows Vista, Windows XP [2].
>>
>> No one on our side has properly documented this.
> at this step, where do you expect to document it?

Exactly here: http://maven.apache.org/download.cgi, System Requirements.

>> =========================
>> [mosipov@bsd10 ~]$ uname -a
>> FreeBSD bsd10 10.3-RELEASE-p2 FreeBSD 10.3-RELEASE-p2 #0: Wed May  4
>> 06:03:51 UTC 2016
>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>> [mosipov@bsd10 ~]$ apache-maven-3.4.0-SNAPSHOT/bin/mvn -v
>> ---------------------------------------------------
>> constituent[0]: file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/conf/logging/
>> constituent[1]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/cdi-api-1.0.jar
>> constituent[2]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-embedder-3.4.0-SNAP
>> SHOT.jar constituent[3]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-3.4.0-SNAP
>> SHOT.jar constituent[4]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-utils-3.0.24.jar
>> constituent[5]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-core-3.4.0-SNAPSHOT
>> .jar constituent[6]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-3.4.0-SNAPSHO
>> T.jar constituent[7]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang3-3.4.jar
>> constituent[8]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-builder-3.
>> 4.0-SNAPSHOT.jar constituent[9]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-builder-support-3.4
>> .0-SNAPSHOT.jar constituent[10]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-interpolation-1.22
>> .jar constituent[11]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-component-annotati
>> ons-1.6.jar constituent[12]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-sec-dispatcher-1.4
>> .jar constituent[13]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-cipher-1.7.jar
>> constituent[14]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-repository-metadata
>> -3.4.0-SNAPSHOT.jar constituent[15]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-artifact-3.4.0-SNAP
>> SHOT.jar constituent[16]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-plugin-api-3.4.0-SN
>> APSHOT.jar constituent[17]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.plexus-0
>> .3.3.jar constituent[18]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsr250-api-1.0.jar
>> constituent[19]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/javax.inject-1.jar
>> constituent[20]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.inject-0
>> .3.3.jar constituent[21]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-builder-3.4.0
>> -SNAPSHOT.jar constituent[22]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guava-19.0.jar
>> constituent[23]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jansi-1.12.jar
>> constituent[24]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-aether-provider-3.4
>> .0-SNAPSHOT.jar constituent[25]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-api-1.0.2.v2015011
>> 4.jar constituent[26]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-spi-1.0.2.v2015011
>> 4.jar constituent[27]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-util-1.0.2.v201501
>> 14.jar constituent[28]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-impl-1.0.2.v201501
>> 14.jar constituent[29]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guice-4.0-no_aop.jar
>> constituent[30]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aopalliance-1.0.jar
>> constituent[31]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-compat-3.4.0-SNAPSH
>> OT.jar constituent[32]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-provider-api-2.10.j
>> ar constituent[33]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/slf4j-api-1.7.16.jar
>> constituent[34]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-cli-1.3.1.jar
>> constituent[35]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-2.10-shaded.ja
>> r constituent[36]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-shared-2.10.ja
>> r constituent[37]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsoup-1.7.2.jar
>> constituent[38]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang-2.6.jar
>> constituent[39]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-io-2.2.jar
>> constituent[40]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-file-2.10.jar
>> constituent[41]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-connector-basic-1.
>> 0.2.v20150114.jar constituent[42]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-transport-wagon-1.
>> 0.2.v20150114.jar constituent[43]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-slf4j-2.0.0.jar
>> constituent[44]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-core-2.0.0.jar
>> constituent[45]:
>> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-bootstrap-2.0.0.ja
>> r ---------------------------------------------------
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not
>> load library. Reasons: [no jansi64-1.12 in java.library.path, no
>> jansi-1.12 in java.library.path, no jansi in java.library.path]
>>          at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
>>          at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
>>          at
>> org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
>>          at
>> org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
>>          at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
>>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:215)
>>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>          at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
>> ) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> .java:43) at java.lang.reflect.Method.invoke(Method.java:498)
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
>> va:289) at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>          at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
>> java:415) at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> =========================
>>
>> There is not even a fallback mode.
>>
>> [1] https://github.com/fusesource/jansi#windows-xp-users
>> [2]
>> https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5582
>>> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>>>> Repository: maven
>>>>
>>>> Updated Branches:
>>>>   refs/heads/master 427f18c3a -> 644ac9c40
>>>>
>>>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>>>
>>>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>>>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>>>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>>>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>>>
>>>> Branch: refs/heads/master
>>>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>>>> Parents: 427f18c
>>>> Author: Hervé Boutemy <hb...@apache.org>
>>>> Authored: Sat Jun 11 13:26:05 2016 +0200
>>>> Committer: Hervé Boutemy <hb...@apache.org>
>>>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>>  apache-maven/pom.xml | 4 ++--
>>>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>>
>>>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/p
>>>> om. xml
>>>> ----------------------------------------------------------------------
>>>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>>>> index 9405df8..37751cc 100644
>>>> --- a/apache-maven/pom.xml
>>>> +++ b/apache-maven/pom.xml
>>>> @@ -92,8 +92,8 @@ under the License.
>>>>
>>>>        <artifactId>aether-transport-wagon</artifactId>
>>>>
>>>>      </dependency>
>>>>      <dependency>
>>>>
>>>> -      <groupId>org.slf4j</groupId>
>>>> -      <artifactId>slf4j-simple</artifactId>
>>>> +      <groupId>com.planet57.gossip</groupId>
>>>> +      <artifactId>gossip-slf4j</artifactId>
>>>>
>>>>      </dependency>
>>>>
>>>>    </dependencies>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Hervé BOUTEMY <he...@free.fr>.
Le dimanche 12 juin 2016 22:51:36 Michael Osipov a écrit :
> Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
> > if someone has an objection, just tell and we can easily revert
> 
> I am afraid that I have to downvote this for two reasons:
the issues you're facing do not seem to be tied to Gossip slf4j provider bug 
MNG-3705 general ANSI color support: issues found, now we have to work to fix 
them (eventually helping JAnsi, since I thought JAnsi was mature...)

> 
> 1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable Package
> [1]. According to Microsoft, this applies to Windows 2000 Service Pack
> 4, Windows 7, Windows Server 2003, Windows Server 2008, Windows Server
> 2008 R2, Windows Vista, Windows XP [2].
> 
> No one on our side has properly documented this.
at this step, where do you expect to document it?
And it's not clear to me that this lib is required for anything else than 
Windows XP (as I read JAnsi website).
I don't know if we have a Windows specialist to check

> 
> 2. Maven completely quits if JAnsi does not support a platform:
JAnsi contains a try/catch on AnsiConcole.systemInstall(): perhaps it's not 
sufficient
I don't have BSD platform myself: can you please help find the right try/catch 
to have a fallback in case of missing native lib? This should only happen for 
isatty() call, ie not really something absolutely a showstopper

Regards,

Hervé

> =========================
> [mosipov@bsd10 ~]$ uname -a
> FreeBSD bsd10 10.3-RELEASE-p2 FreeBSD 10.3-RELEASE-p2 #0: Wed May  4
> 06:03:51 UTC 2016
> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> [mosipov@bsd10 ~]$ apache-maven-3.4.0-SNAPSHOT/bin/mvn -v
> ---------------------------------------------------
> constituent[0]: file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/conf/logging/
> constituent[1]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/cdi-api-1.0.jar
> constituent[2]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-embedder-3.4.0-SNAP
> SHOT.jar constituent[3]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-3.4.0-SNAP
> SHOT.jar constituent[4]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-utils-3.0.24.jar
> constituent[5]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-core-3.4.0-SNAPSHOT
> .jar constituent[6]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-3.4.0-SNAPSHO
> T.jar constituent[7]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang3-3.4.jar
> constituent[8]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-builder-3.
> 4.0-SNAPSHOT.jar constituent[9]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-builder-support-3.4
> .0-SNAPSHOT.jar constituent[10]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-interpolation-1.22
> .jar constituent[11]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-component-annotati
> ons-1.6.jar constituent[12]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-sec-dispatcher-1.4
> .jar constituent[13]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-cipher-1.7.jar
> constituent[14]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-repository-metadata
> -3.4.0-SNAPSHOT.jar constituent[15]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-artifact-3.4.0-SNAP
> SHOT.jar constituent[16]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-plugin-api-3.4.0-SN
> APSHOT.jar constituent[17]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.plexus-0
> .3.3.jar constituent[18]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsr250-api-1.0.jar
> constituent[19]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/javax.inject-1.jar
> constituent[20]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.inject-0
> .3.3.jar constituent[21]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-builder-3.4.0
> -SNAPSHOT.jar constituent[22]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guava-19.0.jar
> constituent[23]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jansi-1.12.jar
> constituent[24]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-aether-provider-3.4
> .0-SNAPSHOT.jar constituent[25]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-api-1.0.2.v2015011
> 4.jar constituent[26]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-spi-1.0.2.v2015011
> 4.jar constituent[27]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-util-1.0.2.v201501
> 14.jar constituent[28]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-impl-1.0.2.v201501
> 14.jar constituent[29]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guice-4.0-no_aop.jar
> constituent[30]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aopalliance-1.0.jar
> constituent[31]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-compat-3.4.0-SNAPSH
> OT.jar constituent[32]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-provider-api-2.10.j
> ar constituent[33]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/slf4j-api-1.7.16.jar
> constituent[34]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-cli-1.3.1.jar
> constituent[35]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-2.10-shaded.ja
> r constituent[36]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-shared-2.10.ja
> r constituent[37]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsoup-1.7.2.jar
> constituent[38]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang-2.6.jar
> constituent[39]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-io-2.2.jar
> constituent[40]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-file-2.10.jar
> constituent[41]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-connector-basic-1.
> 0.2.v20150114.jar constituent[42]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-transport-wagon-1.
> 0.2.v20150114.jar constituent[43]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-slf4j-2.0.0.jar
> constituent[44]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-core-2.0.0.jar
> constituent[45]:
> file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-bootstrap-2.0.0.ja
> r ---------------------------------------------------
> Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not
> load library. Reasons: [no jansi64-1.12 in java.library.path, no
> jansi-1.12 in java.library.path, no jansi in java.library.path]
>          at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
>          at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
>          at
> org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
>          at
> org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
>          at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:215)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
> ) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:43) at java.lang.reflect.Method.invoke(Method.java:498)
>          at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
> va:289) at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>          at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
> java:415) at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> =========================
> 
> There is not even a fallback mode.
> 
> [1] https://github.com/fusesource/jansi#windows-xp-users
> [2]
> https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5582
> > Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
> >> Repository: maven
> >> 
> >> Updated Branches:
> >>   refs/heads/master 427f18c3a -> 644ac9c40
> >> 
> >> [MNG-6038] use Gossip slf4j provider (with level color support)
> >> 
> >> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
> >> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
> >> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
> >> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
> >> 
> >> Branch: refs/heads/master
> >> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
> >> Parents: 427f18c
> >> Author: Hervé Boutemy <hb...@apache.org>
> >> Authored: Sat Jun 11 13:26:05 2016 +0200
> >> Committer: Hervé Boutemy <hb...@apache.org>
> >> Committed: Sat Jun 11 13:26:05 2016 +0200
> >> 
> >> ----------------------------------------------------------------------
> >> 
> >>  apache-maven/pom.xml | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >> 
> >> ----------------------------------------------------------------------
> >> 
> >> 
> >> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/p
> >> om. xml
> >> ----------------------------------------------------------------------
> >> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
> >> index 9405df8..37751cc 100644
> >> --- a/apache-maven/pom.xml
> >> +++ b/apache-maven/pom.xml
> >> @@ -92,8 +92,8 @@ under the License.
> >> 
> >>        <artifactId>aether-transport-wagon</artifactId>
> >>      
> >>      </dependency>
> >>      <dependency>
> >> 
> >> -      <groupId>org.slf4j</groupId>
> >> -      <artifactId>slf4j-simple</artifactId>
> >> +      <groupId>com.planet57.gossip</groupId>
> >> +      <artifactId>gossip-slf4j</artifactId>
> >> 
> >>      </dependency>
> >>    
> >>    </dependencies>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
Am 2016-06-11 um 13:27 schrieb Hervé BOUTEMY:
> if someone has an objection, just tell and we can easily revert

I am afraid that I have to downvote this for two reasons:

1. JAnsi requires Microsoft Visual C++ 2008 SP1 Redistributable Package 
[1]. According to Microsoft, this applies to Windows 2000 Service Pack 
4, Windows 7, Windows Server 2003, Windows Server 2008, Windows Server 
2008 R2, Windows Vista, Windows XP [2].

No one on our side has properly documented this.

2. Maven completely quits if JAnsi does not support a platform:
=========================
[mosipov@bsd10 ~]$ uname -a
FreeBSD bsd10 10.3-RELEASE-p2 FreeBSD 10.3-RELEASE-p2 #0: Wed May  4 
06:03:51 UTC 2016 
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[mosipov@bsd10 ~]$ apache-maven-3.4.0-SNAPSHOT/bin/mvn -v
---------------------------------------------------
constituent[0]: file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/conf/logging/
constituent[1]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/cdi-api-1.0.jar
constituent[2]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-embedder-3.4.0-SNAPSHOT.jar
constituent[3]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-3.4.0-SNAPSHOT.jar
constituent[4]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-utils-3.0.24.jar
constituent[5]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-core-3.4.0-SNAPSHOT.jar
constituent[6]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-3.4.0-SNAPSHOT.jar
constituent[7]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang3-3.4.jar
constituent[8]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-settings-builder-3.4.0-SNAPSHOT.jar
constituent[9]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-builder-support-3.4.0-SNAPSHOT.jar
constituent[10]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-interpolation-1.22.jar
constituent[11]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-component-annotations-1.6.jar
constituent[12]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-sec-dispatcher-1.4.jar
constituent[13]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/plexus-cipher-1.7.jar
constituent[14]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-repository-metadata-3.4.0-SNAPSHOT.jar
constituent[15]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-artifact-3.4.0-SNAPSHOT.jar
constituent[16]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-plugin-api-3.4.0-SNAPSHOT.jar
constituent[17]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.plexus-0.3.3.jar
constituent[18]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsr250-api-1.0.jar
constituent[19]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/javax.inject-1.jar
constituent[20]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/org.eclipse.sisu.inject-0.3.3.jar
constituent[21]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-model-builder-3.4.0-SNAPSHOT.jar
constituent[22]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guava-19.0.jar
constituent[23]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jansi-1.12.jar
constituent[24]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-aether-provider-3.4.0-SNAPSHOT.jar
constituent[25]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-api-1.0.2.v20150114.jar
constituent[26]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-spi-1.0.2.v20150114.jar
constituent[27]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-util-1.0.2.v20150114.jar
constituent[28]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-impl-1.0.2.v20150114.jar
constituent[29]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/guice-4.0-no_aop.jar
constituent[30]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aopalliance-1.0.jar
constituent[31]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/maven-compat-3.4.0-SNAPSHOT.jar
constituent[32]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-provider-api-2.10.jar
constituent[33]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/slf4j-api-1.7.16.jar
constituent[34]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-cli-1.3.1.jar
constituent[35]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-2.10-shaded.jar
constituent[36]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-http-shared-2.10.jar
constituent[37]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/jsoup-1.7.2.jar
constituent[38]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-lang-2.6.jar
constituent[39]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/commons-io-2.2.jar
constituent[40]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/wagon-file-2.10.jar
constituent[41]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-connector-basic-1.0.2.v20150114.jar
constituent[42]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/aether-transport-wagon-1.0.2.v20150114.jar
constituent[43]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-slf4j-2.0.0.jar
constituent[44]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-core-2.0.0.jar
constituent[45]: 
file:/home/mosipov/apache-maven-3.4.0-SNAPSHOT/lib/gossip-bootstrap-2.0.0.jar
---------------------------------------------------
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not 
load library. Reasons: [no jansi64-1.12 in java.library.path, no 
jansi-1.12 in java.library.path, no jansi in java.library.path]
         at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
         at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
         at 
org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
         at 
org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
         at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:215)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
         at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
=========================

There is not even a fallback mode.

[1] https://github.com/fusesource/jansi#windows-xp-users
[2] 
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5582

> Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
>> Repository: maven
>> Updated Branches:
>>   refs/heads/master 427f18c3a -> 644ac9c40
>>
>>
>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>
>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>
>> Branch: refs/heads/master
>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>> Parents: 427f18c
>> Author: Hervé Boutemy <hb...@apache.org>
>> Authored: Sat Jun 11 13:26:05 2016 +0200
>> Committer: Hervé Boutemy <hb...@apache.org>
>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>
>> ----------------------------------------------------------------------
>>  apache-maven/pom.xml | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.
>> xml ----------------------------------------------------------------------
>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>> index 9405df8..37751cc 100644
>> --- a/apache-maven/pom.xml
>> +++ b/apache-maven/pom.xml
>> @@ -92,8 +92,8 @@ under the License.
>>        <artifactId>aether-transport-wagon</artifactId>
>>      </dependency>
>>      <dependency>
>> -      <groupId>org.slf4j</groupId>
>> -      <artifactId>slf4j-simple</artifactId>
>> +      <groupId>com.planet57.gossip</groupId>
>> +      <artifactId>gossip-slf4j</artifactId>
>>      </dependency>
>>    </dependencies>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Hervé BOUTEMY <he...@free.fr>.
if someone has an objection, just tell and we can easily revert

Regards,

Hervé

Le samedi 11 juin 2016 11:26:10 hboutemy@apache.org a écrit :
> Repository: maven
> Updated Branches:
>   refs/heads/master 427f18c3a -> 644ac9c40
> 
> 
> [MNG-6038] use Gossip slf4j provider (with level color support)
> 
> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
> 
> Branch: refs/heads/master
> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
> Parents: 427f18c
> Author: Hervé Boutemy <hb...@apache.org>
> Authored: Sat Jun 11 13:26:05 2016 +0200
> Committer: Hervé Boutemy <hb...@apache.org>
> Committed: Sat Jun 11 13:26:05 2016 +0200
> 
> ----------------------------------------------------------------------
>  apache-maven/pom.xml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.
> xml ----------------------------------------------------------------------
> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
> index 9405df8..37751cc 100644
> --- a/apache-maven/pom.xml
> +++ b/apache-maven/pom.xml
> @@ -92,8 +92,8 @@ under the License.
>        <artifactId>aether-transport-wagon</artifactId>
>      </dependency>
>      <dependency>
> -      <groupId>org.slf4j</groupId>
> -      <artifactId>slf4j-simple</artifactId>
> +      <groupId>com.planet57.gossip</groupId>
> +      <artifactId>gossip-slf4j</artifactId>
>      </dependency>
>    </dependencies>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Michael Osipov <mi...@apache.org>.
True words. What is actually wrong with the color support in Logback?
Regardless of this, issues filed with Logback can take a very long time 
to fix. Some of mine are still open after several years. I'd rather have 
one quick dev than several which constantly ignore reports.

M

Am 2016-06-12 um 01:52 schrieb Olivier Lamy:
> Hi,
> This looks to be a nice feature!
> I have more concern on this new dependency.
> Do we really want to depend on a single person project? [1]
> What is the future of this project? If I look at the history groupId
> namespace has changed recently from org.sonatype to com.planet57. [2]
> So is it stable (in term of namespace etc...), what will happen in case of
> issues etc....
> I just want we avoid similar issues we had in the past (aether..)
>
> Cheers
> Olivier
>
> [1] https://github.com/jdillon/gossip/graphs/contributors
> [2]
> https://github.com/jdillon/gossip/commit/1682fd2ba551a7c094ab71dae44c5b269992fa06
>
>
> On 11 June 2016 at 21:26, <hb...@apache.org> wrote:
>
>> Repository: maven
>> Updated Branches:
>>   refs/heads/master 427f18c3a -> 644ac9c40
>>
>>
>> [MNG-6038] use Gossip slf4j provider (with level color support)
>>
>> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
>> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
>> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>>
>> Branch: refs/heads/master
>> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
>> Parents: 427f18c
>> Author: Hervé Boutemy <hb...@apache.org>
>> Authored: Sat Jun 11 13:26:05 2016 +0200
>> Committer: Hervé Boutemy <hb...@apache.org>
>> Committed: Sat Jun 11 13:26:05 2016 +0200
>>
>> ----------------------------------------------------------------------
>>  apache-maven/pom.xml | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>>
>> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.xml
>> ----------------------------------------------------------------------
>> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
>> index 9405df8..37751cc 100644
>> --- a/apache-maven/pom.xml
>> +++ b/apache-maven/pom.xml
>> @@ -92,8 +92,8 @@ under the License.
>>        <artifactId>aether-transport-wagon</artifactId>
>>      </dependency>
>>      <dependency>
>> -      <groupId>org.slf4j</groupId>
>> -      <artifactId>slf4j-simple</artifactId>
>> +      <groupId>com.planet57.gossip</groupId>
>> +      <artifactId>gossip-slf4j</artifactId>
>>      </dependency>
>>    </dependencies>
>>
>>
>>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Hervé BOUTEMY <he...@free.fr>.
good concern

Here is my personal analysis on this important topic

Until now, our full color strategy was based on logging implementation: then 
logging implementation was a strategic choice

But the current strategy is now to put color in messages, independantly from 
logging implementation: see MNG-3507, implemented without anything done at 
logging provider level. This brings us to one new strategic dependency 
addition to Maven core: JAnsi, that we expect plugins to use when adding color 
details to their messages (for example MSITE-779, MINVOKER-205 or 
SUREFIRE-1254 to start, but I imagine other plugins will do such improvement 
in the future).
Then the strategic question is about JAnsi dependency: this lib seems to me 
the de-facto answer for Java people, then the right choice for Maven core.


Regarding slf4j logging provider, the only expectation we have is to put color 
on printed loggging level: nothing strategic, no impact on any plugin or 
extension. Then this Gossip slf4j provider works well, with nice error 
rendering improvement: that's sufficient for me.
And if we have any issue in the future, I see one simple solution: just 
implement a basic slf4j provider at Maven level, since we really need only 
basic console logging, withtout much features: even Gossip slf4j provider does 
10 times too much for us.

The choice we won't be able to change in the future is Jansi.
Slf4j provider can be changed any time in the future (and I expect to continue 
to maintain other providers integrations to prepare scenari where people want 
to use full-blown provider with Maven)

Regards,

Hervé

Le dimanche 12 juin 2016 09:52:20 Olivier Lamy a écrit :
> Hi,
> This looks to be a nice feature!
> I have more concern on this new dependency.
> Do we really want to depend on a single person project? [1]
> What is the future of this project? If I look at the history groupId
> namespace has changed recently from org.sonatype to com.planet57. [2]
> So is it stable (in term of namespace etc...), what will happen in case of
> issues etc....
> I just want we avoid similar issues we had in the past (aether..)
> 
> Cheers
> Olivier
> 
> [1] https://github.com/jdillon/gossip/graphs/contributors
> [2]
> https://github.com/jdillon/gossip/commit/1682fd2ba551a7c094ab71dae44c5b26999
> 2fa06
> On 11 June 2016 at 21:26, <hb...@apache.org> wrote:
> > Repository: maven
> > 
> > Updated Branches:
> >   refs/heads/master 427f18c3a -> 644ac9c40
> > 
> > [MNG-6038] use Gossip slf4j provider (with level color support)
> > 
> > Project: http://git-wip-us.apache.org/repos/asf/maven/repo
> > Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
> > Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
> > Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
> > 
> > Branch: refs/heads/master
> > Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
> > Parents: 427f18c
> > Author: Hervé Boutemy <hb...@apache.org>
> > Authored: Sat Jun 11 13:26:05 2016 +0200
> > Committer: Hervé Boutemy <hb...@apache.org>
> > Committed: Sat Jun 11 13:26:05 2016 +0200
> > 
> > ----------------------------------------------------------------------
> > 
> >  apache-maven/pom.xml | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > ----------------------------------------------------------------------
> > 
> > 
> > 
> > http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/po
> > m.xml
> > ----------------------------------------------------------------------
> > diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
> > index 9405df8..37751cc 100644
> > --- a/apache-maven/pom.xml
> > +++ b/apache-maven/pom.xml
> > @@ -92,8 +92,8 @@ under the License.
> > 
> >        <artifactId>aether-transport-wagon</artifactId>
> >      
> >      </dependency>
> >      <dependency>
> > 
> > -      <groupId>org.slf4j</groupId>
> > -      <artifactId>slf4j-simple</artifactId>
> > +      <groupId>com.planet57.gossip</groupId>
> > +      <artifactId>gossip-slf4j</artifactId>
> > 
> >      </dependency>
> >    
> >    </dependencies>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven git commit: [MNG-6038] use Gossip slf4j provider (with level color support)

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
This looks to be a nice feature!
I have more concern on this new dependency.
Do we really want to depend on a single person project? [1]
What is the future of this project? If I look at the history groupId
namespace has changed recently from org.sonatype to com.planet57. [2]
So is it stable (in term of namespace etc...), what will happen in case of
issues etc....
I just want we avoid similar issues we had in the past (aether..)

Cheers
Olivier

[1] https://github.com/jdillon/gossip/graphs/contributors
[2]
https://github.com/jdillon/gossip/commit/1682fd2ba551a7c094ab71dae44c5b269992fa06


On 11 June 2016 at 21:26, <hb...@apache.org> wrote:

> Repository: maven
> Updated Branches:
>   refs/heads/master 427f18c3a -> 644ac9c40
>
>
> [MNG-6038] use Gossip slf4j provider (with level color support)
>
> Project: http://git-wip-us.apache.org/repos/asf/maven/repo
> Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/644ac9c4
> Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/644ac9c4
> Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/644ac9c4
>
> Branch: refs/heads/master
> Commit: 644ac9c40ad41bf61e3b099918af33b8eb950621
> Parents: 427f18c
> Author: Hervé Boutemy <hb...@apache.org>
> Authored: Sat Jun 11 13:26:05 2016 +0200
> Committer: Hervé Boutemy <hb...@apache.org>
> Committed: Sat Jun 11 13:26:05 2016 +0200
>
> ----------------------------------------------------------------------
>  apache-maven/pom.xml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/maven/blob/644ac9c4/apache-maven/pom.xml
> ----------------------------------------------------------------------
> diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
> index 9405df8..37751cc 100644
> --- a/apache-maven/pom.xml
> +++ b/apache-maven/pom.xml
> @@ -92,8 +92,8 @@ under the License.
>        <artifactId>aether-transport-wagon</artifactId>
>      </dependency>
>      <dependency>
> -      <groupId>org.slf4j</groupId>
> -      <artifactId>slf4j-simple</artifactId>
> +      <groupId>com.planet57.gossip</groupId>
> +      <artifactId>gossip-slf4j</artifactId>
>      </dependency>
>    </dependencies>
>
>
>


-- 
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy