Your SlideShare is downloading. ×
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006

440

Published on

Part 2 of an overview of the Maven build system

Part 2 of an overview of the Maven build system

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
440
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Maven Overview Part II Denver BEA User ’ s Group January 2006 Scott Ryan Soaring Eagle L.L.C
  • 2. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 3. Maven 2.0 lifecycle Summary
      • 20 total phases
        • validate
        • compile
        • test
        • package
        • integration-test
        • verify
        • install
        • deploy
    Soaring Eagle L.L.C
  • 4. Maven 2.0 lifecycle
      • Lifecycle phases are executed in order
      • Goals are assigned to phases based on project type (jar)
        • Compile - compiler:compile
        • Package - jar:jar
      • Phases have dependencies and previous phases are always executed.
      • Plugin goals can tie to lifecycle phases
    Soaring Eagle L.L.C
  • 5. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 6. Plug-in Packaging Soaring Eagle L.L.C
  • 7. Required Resources
      • Java Plug-ins
        • Pom.xml
        • Java Code
      • Ant Plug-ins
        • Pom.xml
        • basename.build.xml
        • basename.mojos.xml
    Soaring Eagle L.L.C
  • 8. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 9. Hello World Soaring Eagle L.L.C
  • 10. Hello with Parameters Soaring Eagle L.L.C
  • 11. Pom.xml Soaring Eagle L.L.C
  • 12. Using the plug-in Soaring Eagle L.L.C
  • 13. Configuring Parameters Soaring Eagle L.L.C
  • 14. Configuring Complex Parameter types
      • Boolean
      • Dates
      • URL ’ s
      • Lists
      • Maps
      • Properties
    Soaring Eagle L.L.C
  • 15. List example Soaring Eagle L.L.C
  • 16. Let ’s look at the Weblogic Plug-in Soaring Eagle L.L.C
  • 17. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 18. Build.xml Soaring Eagle L.L.C
  • 19. Mojos.xml Soaring Eagle L.L.C
  • 20. Using the Ant mojo in a project Soaring Eagle L.L.C
  • 21. Adding Parameters basename.build.xml Soaring Eagle L.L.C
  • 22. Adding Parameters basename.mojos.xml Soaring Eagle L.L.C
  • 23. Soaring Eagle L.L.C
  • 24. Project configuration Soaring Eagle L.L.C
  • 25. Soaring Eagle L.L.C
  • 26. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Real Code
    Soaring Eagle L.L.C
  • 27. Packaging
      • Handled by plug-in support
      • mvn plugin:install
      • Can support multiple versions
      • settings.xml or pom.xml determine version strategies
      • Plug-in registry allows you to control plug-in versions
    Soaring Eagle L.L.C
  • 28. Soaring Eagle L.L.C
  • 29. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Real Code
    Soaring Eagle L.L.C

×