Presentation is loading. Please wait.

Presentation is loading. Please wait.

Apache m aven Introduction to. Juven Xu twitter.com/juvenxu.

Similar presentations


Presentation on theme: "Apache m aven Introduction to. Juven Xu twitter.com/juvenxu."— Presentation transcript:

1 Apache m aven Introduction to

2 Juven Xu www.juvenxu.com juvenshun@gmail.com twitter.com/juvenxu

3 So, What Is Maven?

4 BIR 2 D

5 B uild I nformation Aggregation R ule R epository D ependency Management

6 We all build software But… Not all in the same way

7 People all use water But… Not all in the same way

8 pre-cleanclean post-clean … process- resources compile …test packageinstalldeploy pre-sitesite post-site site-deploy The Maven Way…

9  I don’t like the feeling of being empty Hey buddy, you are not alone, here we come

10 same information same place

11 - pom.xml - src/main/java - src/main/resources - src/test/java - src/test/resources - … No Rule, No Game

12 Convention Over Configuration

13 Super POM Foo-Parent Foo-Module-AFoo-Module-B Bar-Parent Bar-Module-A

14 Local Remote Central ~/.m2/repository http://repo1.maven.org/maven2/ Remote What’s missing?

15

16 No Repository Manager ?

17 I bet you know this But I’m talking Nexus, no ‘one’

18 time bandwidth money

19 Where Am I?

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

21 SNAPSHOT a timestamped version

22 POM is just a carrier of BIR 2 D

23 m aven

24 report build deploy poll commit Continuous Integration

25 coming soon…

26 Q&A


Download ppt "Apache m aven Introduction to. Juven Xu twitter.com/juvenxu."

Similar presentations


Ads by Google