[
https://issues.apache.org/jira/browse/ACCUMULO-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092548#comment-15092548
]
Christopher Tubbs commented on ACCUMULO-4104:
---------------------------------------------
What are you doing to colorize? I use a bash function in {{~/.bashrc}}:
{code}
function mvn() {
trap 'echo -en "\e[m"' SIGHUP SIGINT SIGTERM
command mvn "$@" 2>&1 | awk '
BEGIN { IGNORECASE=1 }
/BUILD SUCCESS/ { print "\033[1;36m" $0 "\033[m" ; next }
/^\[FATAL\]/ { print "\033[1;31m" $0 "\033[m" ; next }
/^\[ERROR\]/ { print "\033[1;31m" $0 "\033[m" ; next }
/^\[TRACE\]/ { print "\033[2;33m" $0 "\033[m" ; next }
/^\[WARNING\]/ { print "\033[1;33m" $0 "\033[m" ; next }
/^\[DEBUG\]/ { print "\033[2;34m" $0 "\033[m" ; next }
/^\[INFO\]/ { print "\033[0;37m" $0 "\033[m" ; next }
/^\[ALL\]/ { print "\033[1;37m" $0 "\033[m" ; next }
{ print }
'
return ${PIPESTATUS[0]} ${pipestatus[1]}
}
{code}
> Move m2e config to profile
> --------------------------
>
> Key: ACCUMULO-4104
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4104
> Project: Accumulo
> Issue Type: Task
> Components: build
> Reporter: Christopher Tubbs
> Assignee: Christopher Tubbs
> Fix For: 1.6.5, 1.7.1, 1.8.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> m2e lifecycle pluginManagement configuration should be moved to a profile as
> described in http://stackoverflow.com/a/23707050 to eliminate unnecessary
> (and potentially confusing) warnings when building outside of eclipse.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)