Introduction to Apache Maven

4,549 views

Published on

A talk on Maven in Apache Asia Roadshow 2010

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,549
On SlideShare
0
From Embeds
0
Number of Embeds
2,171
Actions
Shares
0
Downloads
108
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Introduction to Apache Maven

  1. 1. Apache m a ven Introduction to
  2. 2. Juven Xu www.juvenxu.com [email_address] twitter.com/juvenxu
  3. 3. So, What Is Maven?
  4. 4. BIR 2 D
  5. 5. <ul><li>B uild </li></ul><ul><li>I nformation Aggregation </li></ul><ul><li>R ule </li></ul><ul><li>R epository </li></ul><ul><li>D ependency Management </li></ul>
  6. 6. We all build software But… Not all in the same way
  7. 7. People all use water But… Not all in the same way
  8. 8. The Maven Way…
  9. 9.  I don’t like the feeling of being empty  Hey buddy, you are not alone, here we come
  10. 10. same information same place
  11. 11. - pom.xml - src/main/java - src/main/resources - src/test/java - src/test/resources - … No Rule, No Game
  12. 12. Convention Over Configuration
  13. 14. Local Remote Central ~/.m2/repository http://repo1.maven.org/maven2/ Remote What’s missing?
  14. 16. No Repository Manager ?
  15. 17. I bet you know this But I’m talking Nexus, no ‘one’
  16. 18. time bandwidth money
  17. 19. Where Am I?
  18. 20. a:3.1.1 my-app:1.0-SNAPSHOT c:1.1 d:1.0 b:2.0 d:0.9 BIR 2 D
  19. 21. SNAPSHOT a timestamped version
  20. 22. POM is just a carrier of BIR 2 D
  21. 23. m a ven
  22. 24. Continuous Integration report build deploy poll commit commit commit
  23. 25. coming soon…
  24. 26. Q&A

×