You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Lance Norskog <go...@gmail.com> on 2011/07/20 06:41:05 UTC
Maven build messages
Maven spews build messages like these:
INFO] META-INF/LICENSE.txt already added, skipping
[INFO] META-INF/NOTICE.txt already added, skipping
[INFO] org/apache/commons/collections/ already added, skipping
[INFO] org/apache/commons/collections/FastHashMap.class already added, skipping
[INFO] org/apache/commons/collections/ArrayStack.class already added, skipping
[INFO] org/apache/commons/collections/FastHashMap$Values.class already
added, skipping
Is it possible to change the build system so that it does not print these?
--
Lance Norskog
goksron@gmail.com
Re: Maven build messages
Posted by Sean Owen <sr...@gmail.com>.
The messages come about since it makes 'job' jars by repackaging all .class
files into one .jar file rather than putting .jars in .jars. It's a reliable
way to avoid some issues with Hadoop classpath handling. There's probably
some small issue that's making the same class get into these jars twice. It
should be harmless, but is probably avoidable. I don't know more than that
and have chosen to pretend it's not happening.
On Wed, Jul 20, 2011 at 9:54 PM, Lance Norskog <go...@gmail.com> wrote:
> Maven? Heavy-handed? Naaaaa...
>
> I asked this because the maven mahout build did not do this in the
> past. The 'alreaded added/skipping' messages are a recent phenomenon.
>
> On Tue, Jul 19, 2011 at 10:39 PM, Ted Dunning <te...@gmail.com>
> wrote:
> > Never mind.
> >
> > Try -q
> >
> >
> http://stackoverflow.com/questions/4782089/how-to-change-maven-logging-level-to-display-only-warning-and-errors
> >
> >
> >
> > On Tue, Jul 19, 2011 at 10:38 PM, Ted Dunning <te...@gmail.com>
> wrote:
> >
> >> You should be able to change the slf4j configuration so that INFO
> messages
> >> are not spewed.
> >>
> >> This url provides a rather heavy handed answer to this need:
> >> http://jira.codehaus.org/browse/MNG-519
> >>
> >> This requires that to take mvn apart and put it back together. Not
> hard,
> >> but silly not to have an obvious option to turn down the volume.
> >>
> >> Ironically, there are people out there asking how to make mvn log *more*
> >> verbosely.
> >>
> >> If you find an easy answer, post it!
> >>
> >>
> >> On Tue, Jul 19, 2011 at 9:41 PM, Lance Norskog <go...@gmail.com>
> wrote:
> >>
> >>> Maven spews build messages like these:
> >>>
> >>> INFO] META-INF/LICENSE.txt already added, skipping
> >>> [INFO] META-INF/NOTICE.txt already added, skipping
> >>> [INFO] org/apache/commons/collections/ already added, skipping
> >>> [INFO] org/apache/commons/collections/FastHashMap.class already added,
> >>> skipping
> >>> [INFO] org/apache/commons/collections/ArrayStack.class already added,
> >>> skipping
> >>> [INFO] org/apache/commons/collections/FastHashMap$Values.class already
> >>> added, skipping
> >>>
> >>> Is it possible to change the build system so that it does not print
> these?
> >>>
> >>> --
> >>> Lance Norskog
> >>> goksron@gmail.com
> >>>
> >>
> >>
> >
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>
Re: Maven build messages
Posted by Lance Norskog <go...@gmail.com>.
Maven? Heavy-handed? Naaaaa...
I asked this because the maven mahout build did not do this in the
past. The 'alreaded added/skipping' messages are a recent phenomenon.
On Tue, Jul 19, 2011 at 10:39 PM, Ted Dunning <te...@gmail.com> wrote:
> Never mind.
>
> Try -q
>
> http://stackoverflow.com/questions/4782089/how-to-change-maven-logging-level-to-display-only-warning-and-errors
>
>
>
> On Tue, Jul 19, 2011 at 10:38 PM, Ted Dunning <te...@gmail.com> wrote:
>
>> You should be able to change the slf4j configuration so that INFO messages
>> are not spewed.
>>
>> This url provides a rather heavy handed answer to this need:
>> http://jira.codehaus.org/browse/MNG-519
>>
>> This requires that to take mvn apart and put it back together. Not hard,
>> but silly not to have an obvious option to turn down the volume.
>>
>> Ironically, there are people out there asking how to make mvn log *more*
>> verbosely.
>>
>> If you find an easy answer, post it!
>>
>>
>> On Tue, Jul 19, 2011 at 9:41 PM, Lance Norskog <go...@gmail.com> wrote:
>>
>>> Maven spews build messages like these:
>>>
>>> INFO] META-INF/LICENSE.txt already added, skipping
>>> [INFO] META-INF/NOTICE.txt already added, skipping
>>> [INFO] org/apache/commons/collections/ already added, skipping
>>> [INFO] org/apache/commons/collections/FastHashMap.class already added,
>>> skipping
>>> [INFO] org/apache/commons/collections/ArrayStack.class already added,
>>> skipping
>>> [INFO] org/apache/commons/collections/FastHashMap$Values.class already
>>> added, skipping
>>>
>>> Is it possible to change the build system so that it does not print these?
>>>
>>> --
>>> Lance Norskog
>>> goksron@gmail.com
>>>
>>
>>
>
--
Lance Norskog
goksron@gmail.com
Re: Maven build messages
Posted by Ted Dunning <te...@gmail.com>.
Never mind.
Try -q
http://stackoverflow.com/questions/4782089/how-to-change-maven-logging-level-to-display-only-warning-and-errors
On Tue, Jul 19, 2011 at 10:38 PM, Ted Dunning <te...@gmail.com> wrote:
> You should be able to change the slf4j configuration so that INFO messages
> are not spewed.
>
> This url provides a rather heavy handed answer to this need:
> http://jira.codehaus.org/browse/MNG-519
>
> This requires that to take mvn apart and put it back together. Not hard,
> but silly not to have an obvious option to turn down the volume.
>
> Ironically, there are people out there asking how to make mvn log *more*
> verbosely.
>
> If you find an easy answer, post it!
>
>
> On Tue, Jul 19, 2011 at 9:41 PM, Lance Norskog <go...@gmail.com> wrote:
>
>> Maven spews build messages like these:
>>
>> INFO] META-INF/LICENSE.txt already added, skipping
>> [INFO] META-INF/NOTICE.txt already added, skipping
>> [INFO] org/apache/commons/collections/ already added, skipping
>> [INFO] org/apache/commons/collections/FastHashMap.class already added,
>> skipping
>> [INFO] org/apache/commons/collections/ArrayStack.class already added,
>> skipping
>> [INFO] org/apache/commons/collections/FastHashMap$Values.class already
>> added, skipping
>>
>> Is it possible to change the build system so that it does not print these?
>>
>> --
>> Lance Norskog
>> goksron@gmail.com
>>
>
>
Re: Maven build messages
Posted by Ted Dunning <te...@gmail.com>.
You should be able to change the slf4j configuration so that INFO messages
are not spewed.
This url provides a rather heavy handed answer to this need:
http://jira.codehaus.org/browse/MNG-519
This requires that to take mvn apart and put it back together. Not hard,
but silly not to have an obvious option to turn down the volume.
Ironically, there are people out there asking how to make mvn log *more*
verbosely.
If you find an easy answer, post it!
On Tue, Jul 19, 2011 at 9:41 PM, Lance Norskog <go...@gmail.com> wrote:
> Maven spews build messages like these:
>
> INFO] META-INF/LICENSE.txt already added, skipping
> [INFO] META-INF/NOTICE.txt already added, skipping
> [INFO] org/apache/commons/collections/ already added, skipping
> [INFO] org/apache/commons/collections/FastHashMap.class already added,
> skipping
> [INFO] org/apache/commons/collections/ArrayStack.class already added,
> skipping
> [INFO] org/apache/commons/collections/FastHashMap$Values.class already
> added, skipping
>
> Is it possible to change the build system so that it does not print these?
>
> --
> Lance Norskog
> goksron@gmail.com
>