good call ron

 

i would suggest reading up on maven logging api

http://maven.apache.org/ref/2.2.1/maven-plugin-api/apidocs/org/apache/maven/plugin/logging/Log.html

 

in the event the maven logging doesnt provide appenders you can use 
SMTPAppender from Log4j to log all events and transmit the log via the 
configured SMTP Server

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/SMTPAppender.html


Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité


 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy 
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése 
nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi 
alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen 
megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet 
tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Thu, 8 Jul 2010 19:54:54 -0400
> From: [email protected]
> To: [email protected]
> Subject: Re: Maven Plugins
> 
> You need to read some books, try to create, build and deploy a small 
> Hello World web page using nothing but your IDE and Maven.
> Then take a good look at your development methodology and figure out 
> where you are doing things soooo differently that the normal Maven 
> life-cycle which works for everyone else does not work for you.
> 
> Once you have got your head around the Maven life-cycle, take a good 
> look at what you do now and think about how you can get Maven to 
> automatically get you the result that you want without all the stuff 
> that Ant forces you to do currently.
> 
> BTW. Install Nexus as soon as you decide to go with Maven. I am still 
> regretting the time we wasted struggling with dependencies before we 
> installed Nexus.
> Make sure that your IDE has Maven embedded in it. I like STS (Eclipse 
> from SpringSource) for that reason and others.
> 
> If you do these simple things, you will be happy, productive and at 
> peace with the universe.
> 
> Ron
> 
> 
> On 08/07/2010 3:17 PM, Paulwintech wrote:
> > Hi,
> >
> > Im a new user in maven. I have few doubts.
> >
> > 1. I have some BAT files that has to executed via maven
> > 2. While executing my default commands.. I need to echo the status like
> > "Started first task"
> > 3. When the task gets failed user should get error message popup etc.,
> > 4. (a) Automatic repository update through maven
> > (b) Maven calling ant to build .war
> > (c) Copying the new created build file(.war) to local folder with date/time
> > (d) Auto upload/deploy from build machine to server
> > (e) Testing particular URLs/products to test the site flow
> > (f) Sending mail regarding deployment status
> > 5. Below is my example pom.xml, which im trying only (a)
> >
> >
> > 4.0.0
> >
> > com.test.example
> > test
> > 1.0-SNAPSHOT
> > war
> >
> > mctest
> > http://maven.apache.org
> >
> >
> > UTF-8
> >
> >
> >
> >
> > junit
> > junit
> > 3.8.1
> > test
> >
> >
> >
> >
> >
> > org.codehaus.mojo
> > exec-maven-plugin
> > 1.1.1
> > 
> >
> >
> > exec
> >
> >
> >
> > 
> >
> > 
> > 
> > D:\
> > "D:\test.bat"
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> >
> >
> >
> >
> > Thanks
> > Paulwintech
> >
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

Reply via email to