[Bug 1351822] New: Support maven colorized logging
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1351822
Bug ID: 1351822
Summary: Support maven colorized logging
Product: Fedora
Version: 23
Component: maven
Assignee: mizdebsk(a)redhat.com
Reporter: ctubbsii(a)fedoraproject.org
QA Contact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msimacek(a)redhat.com,
msrb(a)redhat.com
External Bug ID: Apache JIRA MNG-5961
Created attachment 1174774
--> https://bugzilla.redhat.com/attachment.cgi?id=1174774&action=edit
log4j2.xml
Description of problem:
Maven 3 added colorized logging support via log4j2. However, the default
installation of maven does not add log4j-slf4j (slf4j binding to log4j2) or an
appropriate log4j2.xml file for colorized output.
Worse, the way maven loads its dependencies (symlinks in /usr/share/maven/lib/*
and /usr/share/maven/lib/ext/*) make it difficult for users to configure
colorization without those settings being clobbered by an RPM update (because
it's a classpath decision which isn't set in /etc).
The solution is to:
1. create /etc/maven/logging/log4j2.xml (attached)
2. install log4j-slf4j.noarch
3. remove the symlink at /usr/share/maven/lib/slf4j_simple.jar
4. add symlinks (in /usr/share/maven/lib or /usr/share/maven/lib/ext) to each
of $(build-classpath log4j/log4j-api log4j/log4j-core log4j/log4j-slf4j-impl
slf4j/ext)
Additionally, there's an annoying bug in Maven 3.3.3 which gives a warning when
switching to colorized output: https://issues.apache.org/jira/browse/MNG-5961
Version-Release number of selected component (if applicable):
maven-3.3.3-3.fc23.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 8 months
[javapackages/4.x] Release version 4.7.0
by Mikolaj Izdebski
commit 405eced31b7066f1876d4ab5855c792036ce9957
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Thu Aug 11 08:22:51 2016 +0200
Release version 4.7.0
VERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/VERSION b/VERSION
index 2bcc750..f02e241 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-4.7.0.dev1
+4.7.0
7 years, 8 months