svn commit: r998012 [2/4] - in /websites/staging/maven/trunk/content: ./ apache-resource-bundles/ archetypes/ archives/maven-2.x/ background/ developers/ developers/conventions/ developers/release/ de
Modified: websites/staging/maven/trunk/content/docs/2.0.7/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.0.7/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.0.7/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Release Notes - Maven 2.0.7 @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Release Notes - Maven 2.0.7 -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/docs/2.0.8/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.0.8/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.0.8/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Release Notes - Maven 2.0.8 @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Release Notes - Maven 2.0.8 -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/docs/2.0.9/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.0.9/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.0.9/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Release Notes - Maven 2.0.9 @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Release Notes - Maven 2.0.9 -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/docs/2.0/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.0/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.0/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -8,7 +8,7 @@ - + Maven Release Notes - Maven 2.0 @@ -40,7 +40,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Release Notes - Maven 2.0 -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/docs/2.1.0/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.1.0/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.1.0/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -11,7 +11,7 @@ Jason van Zyl Brian Fox" /> - + Maven Release Notes - Maven 2.1.0 @@ -43,7 +43,7 @@ Brian Fox" /> https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Release Notes - Maven 2.1.0 -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/docs/2.2.0/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.2.0/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.2.0/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -12,7 +12,7 @@ Jason van Zyl Brian Fox John Casey" /> - + Maven Release Notes - Maven 2.2.0 @@ -44,7 +44,7 @@ John Casey" /> https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Release Notes - Maven 2.2.0 -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/docs/2.2.1/release-notes.html == --- websites/staging/maven/trunk/content/docs/2.2.1/release-notes.html (original) +++ websites/staging/maven/trunk/content/docs/2.2.1/release-notes.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en">
svn commit: r998012 [1/4] - in /websites/staging/maven/trunk/content: ./ apache-resource-bundles/ archetypes/ archives/maven-2.x/ background/ developers/ developers/conventions/ developers/release/ de
Author: buildbot Date: Thu Sep 22 17:14:06 2016 New Revision: 998012 Log: Staging update by buildbot for maven Modified: websites/staging/maven/trunk/content/ (props changed) websites/staging/maven/trunk/content/about.html websites/staging/maven/trunk/content/aether.html websites/staging/maven/trunk/content/apache-resource-bundles/index.html websites/staging/maven/trunk/content/archetypes/index.html websites/staging/maven/trunk/content/archives/maven-2.x/index.html websites/staging/maven/trunk/content/articles.html websites/staging/maven/trunk/content/background/history-of-maven.html websites/staging/maven/trunk/content/background/philosophy-of-maven.html websites/staging/maven/trunk/content/code-quality-management.html websites/staging/maven/trunk/content/community.html websites/staging/maven/trunk/content/configure.html websites/staging/maven/trunk/content/continuous-integration.html websites/staging/maven/trunk/content/developers/committer-environment.html websites/staging/maven/trunk/content/developers/committer-settings.html websites/staging/maven/trunk/content/developers/conventions/code.html websites/staging/maven/trunk/content/developers/conventions/git.html websites/staging/maven/trunk/content/developers/conventions/jira.html websites/staging/maven/trunk/content/developers/conventions/svn.html websites/staging/maven/trunk/content/developers/dependency-policies.html websites/staging/maven/trunk/content/developers/index.html websites/staging/maven/trunk/content/developers/java5.html websites/staging/maven/trunk/content/developers/java6.html websites/staging/maven/trunk/content/developers/mojo-api-specification.html websites/staging/maven/trunk/content/developers/release/index.html websites/staging/maven/trunk/content/developers/release/maven-core-release.html websites/staging/maven/trunk/content/developers/release/maven-project-release-procedure.html websites/staging/maven/trunk/content/developers/release/parent-pom-release.html websites/staging/maven/trunk/content/developers/release/pmc-gpg-keys.html websites/staging/maven/trunk/content/developers/retirement-plan-plugins.html websites/staging/maven/trunk/content/developers/website/component-reference-documentation-helper.html websites/staging/maven/trunk/content/developers/website/deploy-component-reference-documentation.html websites/staging/maven/trunk/content/developers/website/deploy-maven-website.html websites/staging/maven/trunk/content/developers/website/index.html websites/staging/maven/trunk/content/developers/website/website-overview.html websites/staging/maven/trunk/content/developers/welcome-to-new-committers.html websites/staging/maven/trunk/content/docs-required.html websites/staging/maven/trunk/content/docs/2.0.1/release-notes.html websites/staging/maven/trunk/content/docs/2.0.10/release-notes.html websites/staging/maven/trunk/content/docs/2.0.11/release-notes.html websites/staging/maven/trunk/content/docs/2.0.2/release-notes.html websites/staging/maven/trunk/content/docs/2.0.3/release-notes.html websites/staging/maven/trunk/content/docs/2.0.4/release-notes.html websites/staging/maven/trunk/content/docs/2.0.5/release-notes.html websites/staging/maven/trunk/content/docs/2.0.6/release-notes.html websites/staging/maven/trunk/content/docs/2.0.7/release-notes.html websites/staging/maven/trunk/content/docs/2.0.8/release-notes.html websites/staging/maven/trunk/content/docs/2.0.9/release-notes.html websites/staging/maven/trunk/content/docs/2.0/release-notes.html websites/staging/maven/trunk/content/docs/2.1.0/release-notes.html websites/staging/maven/trunk/content/docs/2.2.0/release-notes.html websites/staging/maven/trunk/content/docs/2.2.1/release-notes.html websites/staging/maven/trunk/content/docs/3.0-alpha-3/release-notes.html websites/staging/maven/trunk/content/docs/3.0-alpha-4/release-notes.html websites/staging/maven/trunk/content/docs/3.0-alpha-5/release-notes.html websites/staging/maven/trunk/content/docs/3.0-alpha-6/release-notes.html websites/staging/maven/trunk/content/docs/3.0-alpha-7/release-notes.html websites/staging/maven/trunk/content/docs/3.0-beta-1/release-notes.html websites/staging/maven/trunk/content/docs/3.0-beta-2/release-notes.html websites/staging/maven/trunk/content/docs/3.0-beta-3/release-notes.html websites/staging/maven/trunk/content/docs/3.0.1/release-notes.html websites/staging/maven/trunk/content/docs/3.0.2/release-notes.html websites/staging/maven/trunk/content/docs/3.0.3/release-notes.html websites/staging/maven/trunk/content/docs/3.0.4/release-notes.html websites/staging/maven/trunk/content/docs/3.0.5/release-notes.html websites/staging/maven/trunk/content/docs/3.0/release-notes.html
svn commit: r998012 [3/4] - in /websites/staging/maven/trunk/content: ./ apache-resource-bundles/ archetypes/ archives/maven-2.x/ background/ developers/ developers/conventions/ developers/release/ de
Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-optional-and-excludes-dependencies.html == --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-optional-and-excludes-dependencies.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-optional-and-excludes-dependencies.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Optional Dependencies and Dependency Exclusions @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Optional Dependencies and Dependency Exclusions -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugin-prefix-mapping.html == --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugin-prefix-mapping.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugin-prefix-mapping.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Introduction to Plugin Prefix Resolution @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Introduction to Plugin Prefix Resolution -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugins.html == --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugins.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-plugins.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Introduction to Maven 2.0 Plugin Development @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Introduction to Maven 2.0 Plugin Development -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-profiles.html == --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-profiles.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-profiles.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven Introduction to build profiles @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Introduction to build profiles -Last Published: 2016-09-18 +Last Published: 2016-09-22 @@ -215,7 +215,7 @@ ... /profile /profiles -The following profile will be activated when the system property debug is defined with a value which is not true. +The following profile will be activated when the system property debug is not defined, or is defined with a value which is not true. profiles profile activation @@ -227,6 +227,9 @@ ... /profile /profiles +To activate this you would type one of those on the command line: +mvn groupId:artifactId:goal +mvn groupId:artifactId:goal -Ddebug=false The next example will trigger the profile when the system property environment is specified with the value test: profiles profile Modified: websites/staging/maven/trunk/content/guides/introduction/introduction-to-repositories.html == --- websites/staging/maven/trunk/content/guides/introduction/introduction-to-repositories.html (original) +++ websites/staging/maven/trunk/content/guides/introduction/introduction-to-repositories.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -10,7 +10,7 @@ - + Maven Introduction to Repositories @@ -42,7 +42,7 @@ Brian Fox" /> https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Introduction to Repositories -Last Published: 2016-09-18 +Last Published: 2016-09-22
svn commit: r998012 [4/4] - in /websites/staging/maven/trunk/content: ./ apache-resource-bundles/ archetypes/ archives/maven-2.x/ background/ developers/ developers/conventions/ developers/release/ de
Modified: websites/staging/maven/trunk/content/install.html == --- websites/staging/maven/trunk/content/install.html (original) +++ websites/staging/maven/trunk/content/install.html Thu Sep 22 17:14:06 2016 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Maven Installing Apache Maven @@ -39,7 +39,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Installing Apache Maven -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/integration.html == --- websites/staging/maven/trunk/content/integration.html (original) +++ websites/staging/maven/trunk/content/integration.html Thu Sep 22 17:14:06 2016 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Maven CI Management @@ -39,7 +39,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ CI Management -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/issue-tracking.html == --- websites/staging/maven/trunk/content/issue-tracking.html (original) +++ websites/staging/maven/trunk/content/issue-tracking.html Thu Sep 22 17:14:06 2016 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Maven Overview @@ -39,7 +39,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Overview -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/mail-lists.html == --- websites/staging/maven/trunk/content/mail-lists.html (original) +++ websites/staging/maven/trunk/content/mail-lists.html Thu Sep 22 17:14:06 2016 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Maven Project Mailing Lists @@ -39,7 +39,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Project Mailing Lists -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/maven-1.x-eol.html == --- websites/staging/maven/trunk/content/maven-1.x-eol.html (original) +++ websites/staging/maven/trunk/content/maven-1.x-eol.html Thu Sep 22 17:14:06 2016 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Maven End Of Life Apache Maven 1.x @@ -39,7 +39,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ End Of Life Apache Maven 1.x -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/maven-2.x-eol.html == --- websites/staging/maven/trunk/content/maven-2.x-eol.html (original) +++ websites/staging/maven/trunk/content/maven-2.x-eol.html Thu Sep 22 17:14:06 2016 @@ -1,6 +1,6 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> @@ -9,7 +9,7 @@ - + Maven End Of Life of Maven 2.x @@ -41,7 +41,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ End Of Life of Maven 2.x -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/maven-conventions.html == --- websites/staging/maven/trunk/content/maven-conventions.html (original) +++ websites/staging/maven/trunk/content/maven-conventions.html Thu Sep 22 17:14:06 2016 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Maven Maven Conventions @@ -39,7 +39,7 @@ https://www.apache.org/; class="externalLink" title="Apache">Apache/ Maven/ Maven Conventions -Last Published: 2016-09-18 +Last Published: 2016-09-22 Modified: websites/staging/maven/trunk/content/maven-features.html == ---
svn commit: r1761980 - /maven/site/trunk/content/apt/guides/introduction/introduction-to-profiles.apt
Author: gboue Date: Thu Sep 22 17:12:53 2016 New Revision: 1761980 URL: http://svn.apache.org/viewvc?rev=1761980=rev Log: [MNG-6094] Maven Profile activation (via property) bug (or misleading doc): profile active even if property doesn't exist Clarified documentation as per http://mail-archives.apache.org/mod_mbox/maven-dev/201608.mbox/%3cop.yl3cbvr2kdkhrr@desktop-2khsk44%3e. Modified: maven/site/trunk/content/apt/guides/introduction/introduction-to-profiles.apt Modified: maven/site/trunk/content/apt/guides/introduction/introduction-to-profiles.apt URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/introduction/introduction-to-profiles.apt?rev=1761980=1761979=1761980=diff == --- maven/site/trunk/content/apt/guides/introduction/introduction-to-profiles.apt (original) +++ maven/site/trunk/content/apt/guides/introduction/introduction-to-profiles.apt Thu Sep 22 17:12:53 2016 @@ -208,8 +208,8 @@ mvn groupId:artifactId:goal -P profile-1 +---+ - The following profile will be activated when the system property "debug" is defined - with a value which is not "true". + The following profile will be activated when the system property "debug" is not defined, + or is defined with a value which is not "true". +---+ @@ -225,6 +225,13 @@ mvn groupId:artifactId:goal -P profile-1 +---+ + To activate this you would type one of those on the command line: + ++---+ +mvn groupId:artifactId:goal +mvn groupId:artifactId:goal -Ddebug=false ++---+ + The next example will trigger the profile when the system property "environment" is specified with the value "test":
maven git commit: MNG-6093 implemented a little slf4j-simple extension to support color
Repository: maven Updated Branches: refs/heads/MNG-6093 [created] 6d8d0e1d8 MNG-6093 implemented a little slf4j-simple extension to support color Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/6d8d0e1d Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/6d8d0e1d Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/6d8d0e1d Branch: refs/heads/MNG-6093 Commit: 6d8d0e1d8e4f4c6ad0597ee52f785ce96a17806f Parents: 34aca1a Author: Hervé BoutemyAuthored: Thu Sep 22 17:46:53 2016 +0200 Committer: Hervé Boutemy Committed: Thu Sep 22 17:46:53 2016 +0200 -- apache-maven/pom.xml| 4 +- maven-slf4j-provider/pom.xml| 52 ++ .../java/org/slf4j/impl/MavenSimpleLogger.java | 117 .../slf4j/impl/MavenSimpleLoggerFactory.java| 21 + .../main/java/org/slf4j/impl/SimpleLogger.java | 663 +++ .../org/slf4j/impl/SimpleLoggerFactory.java | 73 ++ .../java/org/slf4j/impl/StaticLoggerBinder.java | 81 +++ .../java/org/slf4j/impl/StaticMDCBinder.java| 66 ++ .../java/org/slf4j/impl/StaticMarkerBinder.java | 78 +++ pom.xml | 6 + 10 files changed, 1159 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/maven/blob/6d8d0e1d/apache-maven/pom.xml -- diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml index ec11cc2..437fc43 100644 --- a/apache-maven/pom.xml +++ b/apache-maven/pom.xml @@ -92,8 +92,8 @@ under the License. aether-transport-wagon - com.planet57.gossip - gossip-slf4j + org.apache.maven + maven-slf4j-provider org.fusesource.jansi http://git-wip-us.apache.org/repos/asf/maven/blob/6d8d0e1d/maven-slf4j-provider/pom.xml -- diff --git a/maven-slf4j-provider/pom.xml b/maven-slf4j-provider/pom.xml new file mode 100644 index 000..4688de8 --- /dev/null +++ b/maven-slf4j-provider/pom.xml @@ -0,0 +1,52 @@ + + + + +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> + 4.0.0 + + +org.apache.maven +maven +3.4.0-SNAPSHOT + + + maven-slf4j-provider + + Maven SLF4J Simple Provider + Maven SLF4J provider based on SLF4J's simple provider extended to support colors. + + + +true +true + + + + + org.slf4j + slf4j-api + + + org.apache.maven.shared + maven-shared-utils + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven/blob/6d8d0e1d/maven-slf4j-provider/src/main/java/org/slf4j/impl/MavenSimpleLogger.java -- diff --git a/maven-slf4j-provider/src/main/java/org/slf4j/impl/MavenSimpleLogger.java b/maven-slf4j-provider/src/main/java/org/slf4j/impl/MavenSimpleLogger.java new file mode 100644 index 000..0c3ad47 --- /dev/null +++ b/maven-slf4j-provider/src/main/java/org/slf4j/impl/MavenSimpleLogger.java @@ -0,0 +1,117 @@ +package org.slf4j.impl; + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import static org.apache.maven.shared.utils.logging.MessageUtils.buffer; + +import java.io.PrintStream; + +/** + * Logger for Maven, that support colorization of levels and stacktraces. + * This class implements 2 methods introduced in slf4j-simple provider local copy. + * @since 3.4.0 + */ +public class MavenSimpleLogger +extends SimpleLogger +{ +private static final String NEWLINE = System.getProperty( "line.separator" ); + +MavenSimpleLogger( String name ) +{ +super( name ); +} + +@Override +protected String renderLevel( int level ) +{ +switch ( level ) +{ +case LOG_LEVEL_TRACE: +