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]