Maven Vs Ant

Reference

 

 

Deploy use Maven

http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html

http://java.dzone.com/articles/getting-started-nexus-maven

 

Release use Maven

Issues
org.apache.maven.wagon.TransferFailedException: Failed to transfer file 401 code
-> password is wrong or not set in  $M2_HOME/conf/settings.xml
 Failed to transfer file return code 400
-> try to release snapshots or re-deploy 
Issues: how to convert maven pom to ivy
http://stefan222devel.blogspot.com/2010/01/how-to-convert-maven-pomxml-into-ivy.html
http://draconianoverlord.com/2010/07/18/publishing-to-maven-repos-with-ivy.html
impossible convert given pom file to
 ivy file: java.io.IOException: Impossible to load parent for file
|_ build.xml
|_ ivysettings.xml
build.xml
 
ivysettings.xml
 

 

 

 

 

 

 

Declarative (Maven) and Imperative (Ant)

Convention and configuration (Maven) over configuration and scripting (Ant)

 

 

Maven

  Good for Modularization

Dependency management

Not easy for beginner to understand

Bugs and issues are hard to track (understand the conventions)

Sometimes are slow


Ant

  Easy to learn – No so many abstraction

 

 


 

PPT is downlaod: http://www.slideshare.net/leefs/maven-7839125/download

 

Maven
View more presentations from leefs

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章