Hello Guys,

I am using maven 2.2.1 and wondering if there has been any support added to
stream the build output to a file in addition to the console ?. Doesn't seem
to be the case taking a look at the JIRA issues, but just wanted to be sure.

We would like to publish the build logs to a centralized location, as part
of our nightly build and thats why I ask the above question.

Thanks in advance,

Farhan.


robert.egan wrote:
> 
> You're right.
> 
> AbstractMojo creates it's own Log interface based on System.out. It would 
> be nice if it at least attempted to find the plexus LoggerManager 
> component contained in the uber jar, and only used System.out if that 
> failed. It would then be possible to register a custom plexus component to 
> add that capability.
> 
> I've filed such a request in JIRA [MNG-3463]. Perhaps it will make it into 
> 2.1.
> 
> 
> Robert Egan
> 
> "Wayne Fay" <[email protected]> wrote on 03/13/2008 03:13:01 PM:
> 
>> Edit mvn.bat and redirect output somewhere using normal batch
>> file/shell script programming.
>> 
>> I don't know how you would accomplish this with Maven plugins and
>> doubt it is even possible with 2.0.x.
>> 
>> Wayne
>> 
>> On 3/13/08, [email protected] <[email protected]> 
> wrote:
>> > One of the "features" of the Ant build I inherited is the ability to
>> > auto-magically generate date/time stamped log files of the console 
> output.
>> >
>> > I'd like to be able to do something like that with the Maven build, 
> but I
>> > haven't been able to find any relevant documentation. Can anyone point 
> me
>> > in the right direction?
> 
> ----
> This email message and any attachments may contain confidential, 
> proprietary or non-public information.  The information is intended solely 
> for the designated recipient(s).  If an addressing or transmission error 
> has misdirected this email, please notify the sender immediately and 
> destroy this email.  Any review, dissemination, use or reliance upon this 
> information by unintended recipients is prohibited.  Any opinions 
> expressed in this email are those of the author personally.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Logging-tp16035833p27541016.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to